joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4638d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x196], 0
jne 0x4639d0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4639d0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x190]
test ebx, ebx
je 0x463918
cmp byte [ebx + 0x61], 0
jne 0x4639d0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x178], 0
jne 0x463939
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b8], 2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x80]
xor edx, edx
push ebp
push 0x4639c9
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp edx, 0x14
jge 0x463960
cmp ebx, eax
jle 0x46394e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x168], 0
jne 0x463978
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.004038c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4639d0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x168], 0
jne 0x4639a8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x4639c8
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x178]
xor dl, 1
mov eax, dword [ebp - 4]
call fcn.00463b0c
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.004038c4
ret
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x46e778
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46e7a6
mov eax, ebx
call fcn.0046f230
cmp dword [ebx + 0x3c], 0
je 0x46e79f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46e817
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x46e809
cmp dword [ebx + 8], 0
je 0x46e7c8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x46e7da
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46e809
cmp dword [ebx + 8], 0
je 0x46e7bb
cmp eax, 3
je 0x46e7ed
dec eax
jne 0x46e7bb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46e7bb
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x46e7bb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46e835
cmp dword [ebx + 0x10], 0xcc
je 0x46e835
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046e840
pop ebx
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4608e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4d0df0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x460926
cmp word [esi], dx
jne 0x460926
or byte [edi + eax + 0x28], 4
jmp 0x46092b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x460a7e
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x460a5e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46096d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4609a3
cmp eax, edx
jae 0x4609af
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x460945
jmp 0x460a7e
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x460a5a
cmp dword [ebp - 0x14], 0
je 0x460a5a
mov eax, dword [ebx*4 + 0x4d0df0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x460a32
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4609fb
mov word [esi], cx
jmp 0x460a2e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4d0df0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4d0df0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4d0df0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x460a7e
pop ebx
cmp word [ebp - 4], bx
jne 0x460a43
cmp esi, dword [ebp + 0xc]
jne 0x460a43
mov word [esi], bx
jmp 0x460a7b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401613
add esp, 0x10
cmp word [ebp - 4], bx
je 0x460a7e
push 0xd
jmp 0x460a77
mov ecx, dword [ebx*4 + 0x4d0df0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x460a75
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x460a7e
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401ba8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call sym._CreateFileA_28
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x401d48
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._GetFileSize_8
sub esp, 8
mov edi, eax
cmp eax, 0xffffffff
je 0x401d4c
mov dword [esp + 4], eax
mov dword [esp], 2
call sym._GlobalAlloc_8
sub esp, 8
mov ebx, eax
test eax, eax
je 0x401d78
mov dword [esp], eax
call sym._GlobalLock_4
push edx
test eax, eax
je 0x401d20
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
lea edx, [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._ReadFile_20
sub esp, 0x14
mov ebp, eax
mov dword [esp], ebx
call sym._GlobalUnlock_4
push eax
mov dword [esp], esi
call sym._CloseHandle_4
push eax
test ebp, ebp
je 0x401d32
mov esi, dword [esp + 0x24]
cmp esi, edi
jne 0x401d32
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym._CreateStreamOnHGlobal_12
sub esp, 0xc
mov edx, dword [esp + 0x28]
test edx, edx
je 0x401d32
test eax, eax
js 0x401d5c
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x4ecd64
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], edx
call sym._OleLoadPicture_20
sub esp, 0x14
mov esi, eax
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 8]
push edi
test esi, esi
js 0x401d32
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x401d32
mov dword [esp], ebx
call sym._GlobalFree_4
push ecx
mov eax, dword [esp + 0x2c]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call sym._GlobalUnlock_4
push eax
mov dword [esp], esi
call sym._CloseHandle_4
push edx
mov dword [esp], ebx
call sym._GlobalFree_4
push ebx
xor eax, eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x401d16
mov dword [esp], esi
call sym._CloseHandle_4
push ebx
xor eax, eax
jmp 0x401d16
mov dword [esp], ebx
call sym._GlobalFree_4
push ebp
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
xor eax, eax
jmp 0x401d16
mov dword [esp], esi
call sym._CloseHandle_4
push ecx
mov dword [esp], 0x4ec038
call sym._showerrorbox
xor eax, eax
jmp 0x401d16
Function at 0x40b9e4
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x40bb64
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000080
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call sym._CreateFileA_28
sub esp, 0x1c
mov edi, eax
cmp eax, 0xffffffff
je 0x40bb54
mov dword [esp], ebx
call sym._GlobalLock_4
push ebp
mov esi, eax
test eax, eax
je 0x40bb78
cmp dword [eax], 0x28
je 0x40ba78
mov dword [esp], ebx
call sym._GlobalUnlock_4
push ebx
mov dword [esp], edi
call sym._CloseHandle_4
push esi
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov word [esp + 0x42], 0x4d42
mov dword [esp], eax
call sym.PaletteSize_char_
movzx ebp, ax
add ebp, 0x28
mov eax, dword [esi + 0x10]
dec eax
cmp eax, 1
jbe 0x40bb88
mov edx, dword [esi + 8]
shl edx, 2
movzx eax, word [esi + 0xe]
imul eax, dword [esi + 4]
add eax, 0x1f
shr eax, 5
imul edx, eax
add ebp, edx
mov dword [esi + 0x14], edx
lea eax, [ebp + 0xe]
mov dword [esp + 0x44], eax
mov word [esp + 0x48], 0
mov word [esp + 0x4a], 0
mov edx, dword [esi]
mov dword [esp], esi
mov dword [esp + 0x2c], edx
call sym.PaletteSize_char_
movzx eax, ax
mov edx, dword [esp + 0x2c]
lea eax, [edx + eax + 0xe]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], 0
lea edx, [esp + 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xe
lea eax, [esp + 0x42]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x2c], edx
call sym._WriteFile_20
sub esp, 0x14
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], edi
call sym._WriteFile_20
sub esp, 0x14
mov dword [esp], ebx
call sym._GlobalUnlock_4
push eax
mov dword [esp], edi
call sym._CloseHandle_4
push edx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x40bb74
mov eax, 4
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x14
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x40bb59
mov dword [esp], edi
call sym._CloseHandle_4
push edi
mov eax, 3
jmp 0x40bb59
add ebp, dword [esi + 0x14]
jmp 0x40bab6
Function at 0x4331b0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x502950
call sym._EnterCriticalSection_4
mov ebx, dword [0x502948]
sub esp, 4
test ebx, ebx
je 0x4331fb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x4331f4
test esi, esi
je 0x4331f4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4331d0
mov dword [esp], 0x502950
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4333e0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x433430
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x433504
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x43346e
cmp eax, 4
jne 0x433490
test esi, esi
je 0x433482
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x433474
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x4334cf
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x4334c1
cmp ecx, 0x40
je 0x433482
cmp ecx, 4
je 0x433482
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004333e0
lea esi, [esi]
Function at 0x433af0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x38
call sym._GetLastError_0
test eax, eax
jne 0x433b08
add esp, 0x38
pop ebx
ret
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1100
call sym._FormatMessageA_28
sub esp, 0x1c
test eax, eax
jne 0x433b58
call sym._IsDebuggerPresent_0
test eax, eax
je 0x433aff
int3
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._OutputDebugStringA_4
sub esp, 4
mov dword [esp], ebx
call sym._OutputDebugStringA_4
sub esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._LocalFree_4
sub esp, 4
jmp 0x433b47

Function at 0x433b90
Capabilities:
Check mutex on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp + 8], 0x5029c4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
test eax, eax
jne 0x433c58
mov edx, dword [0x502980]
mov eax, dword [edx + 4]
test eax, eax
je 0x433c20
cmp edx, 0x502980
jne 0x433c05
mov dword [0x502980], eax
cmp eax, 0x502980
je 0x433c0c
lea esi, [esi]
test eax, eax
je 0x433c34
mov edx, dword [edx]
mov dword [eax], edx
mov edx, eax
mov eax, dword [edx + 4]
cmp eax, 0x502980
jne 0x433bf8
mov eax, dword [0x502984]
mov dword [edx + 4], eax
test eax, eax
je 0x433c34
mov edx, eax
jmp 0x433c02
mov dword [esp], 0x502a00
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x433c74
mov dword [esp], ebx
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x18
pop ebx
ret
mov eax, 0x4f2444
call dbg.__eh_shmem_get_error
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x18
pop ebx
ret
movzx eax, ax
mov dword [esp], eax
call sym._DeleteAtom_4
sub esp, 4
jmp 0x433c34
Function at 0x433c90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
call sym._GetCurrentProcessId_0
xor edx, edx
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + edx + 0x1c]
mov ecx, eax
and eax, 0xf
shr cl, 4
add eax, 0x61
add ecx, 0x41
mov byte [edx + edx + 0x5029c5], al
mov byte [edx + edx + 0x5029c4], cl
add edx, 1
cmp edx, 4
jne 0x433ca2
xor eax, eax
mov edx, 0x5f
jmp 0x433cdf
movzx edx, byte [eax + str.__eh_shmem3_gcc_tdm_]
mov byte [eax + 0x5029cc], dl
add eax, 1
cmp eax, 0x15
jne 0x433cd8
xor eax, eax
mov edx, 0x5f
jmp 0x433d07
movzx edx, byte [eax + str.__eh_shmem3_gcc_tdm_]
mov byte [eax + 0x502a00], dl
add eax, 1
cmp eax, 0x14
jne 0x433d00
mov dword [esp + 8], 0x5029c4
mov dword [esp + 4], 0
mov dword [esp], 0
mov byte [0x502a14], 0x2d
mov dword [0x502a15], 0x61616161
mov dword [0x502a19], 0x61616161
mov dword [0x502a1d], 0x61616161
mov dword [0x502a21], 0x61616161
mov dword [0x502a25], 0x61616161
mov dword [0x502a29], 0x61616161
mov dword [0x502a2d], 0x61616161
mov dword [0x502a31], 0x61616161
mov byte [0x502a35], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov esi, eax
test eax, eax
jne 0x433eea
mov dword [esp], 0x502a00
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x433e40
mov edx, 0x502980
mov eax, 0x20
nop
bt edx, eax
jae 0x433de0
mov ecx, eax
neg ecx
mov byte [ecx + 0x502a35], 0x41
sub eax, 1
jne 0x433dd0
mov dword [esp], 0x502a00
call sym._AddAtomA_4
sub esp, 4
test ax, ax
je 0x433ed9
mov dword [esp], dbg.__eh_shmem3_gcc_tdm_cleanup_local_region
mov dword [0x502980], 0x502980
call sym.__onexit
mov dword [esp], ebx
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseHandle_4
mov eax, dword [0x502980]
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, ax
mov ebp, 0x20
mov edi, 1
mov dword [esp + 8], 0x36
mov dword [esp + 4], 0x502a00
mov dword [esp], eax
call sym._GetAtomNameA_12
mov edx, eax
sub esp, 0xc
xor eax, eax
test edx, edx
je 0x433f09
lea esi, [esi]
cmp byte [eax + 0x502a15], 0x41
jne 0x433e8b
mov ecx, ebp
mov edx, edi
sub ecx, eax
shl edx, cl
or esi, edx
add eax, 1
cmp eax, 0x20
jne 0x433e78
mov eax, esi
mov dword [0x502980], eax
jmp 0x433eac
cmp edx, 0x502980
je 0x433e13
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x433ea0
cmp edx, 0x502980
je 0x433e13
mov dword [edx + 4], 0x502980
mov dword [esp], dbg.__eh_shmem3_gcc_tdm_cleanup_local_region
call sym.__onexit
jmp 0x433e13
mov eax, 0x4f24a0
call dbg.__eh_shmem_get_error
xor eax, eax
jmp 0x433e2e
mov eax, 0x4f247c
call dbg.__eh_shmem_get_error
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x4f24c4
call dbg.__eh_shmem_get_error
xor eax, eax
jmp 0x433e95
Function at 0x438120
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
sub esp, 8
mov eax, dword [0x502aa0]
test eax, eax
je 0x4381a0
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4381c0
mov dword [eax + 0x18], 0x4eb2f0
mov ebx, 0x4eb2f0
call sym._TlsAlloc_0
mov dword [ebx], eax
mov eax, dword [0x502aa0]
test eax, eax
je 0x438178
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x438198
mov dword [eax + 0x18], 0x4eb2f0
mov eax, 0x4eb2f0
cmp dword [eax], 0xffffffff
je sym._pthread_tls_init.cold
add esp, 8
pop ebx
ret
call sym.___shmem3_winpthreads_tdm_init_local_region
mov edx, eax
mov eax, dword [0x502aa0]
mov edx, dword [edx + 0x18]
test edx, edx
je 0x43815b
test eax, eax
jne 0x438198
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x438167
call sym.___shmem3_winpthreads_tdm_init_local_region
mov ebx, dword [eax + 0x18]
mov eax, dword [0x502aa0]
test ebx, ebx
je 0x438138
test eax, eax
jne 0x4381c0
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov ebx, dword [eax + 0x18]
jmp 0x438144

Function at 0x4381d0
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push edi
xor eax, eax
mov ecx, 0x10
sub esp, 0x88
lea edi, [esp + 0x40]
mov dword [esp + 0x15], 0x6f727245
mov dword [esp + 0x19], 0x6c632072
mov dword [esp + 0x1d], 0x696e6165
mov dword [esp + 0x21], 0x7520676e
mov dword [esp + 0x25], 0x70732070
mov dword [esp + 0x29], 0x6b5f6e69
mov dword [esp + 0x2d], 0x20737965
mov dword [esp + 0x31], 0x20726f66
mov dword [esp + 0x35], 0x65726874
mov dword [esp + 0x39], 0x206461
mov dword [esp + 0x3d], 0
mov dword [esp + 0x7c], 0
rep stosd dword es:[edi], eax
call sym._GetCurrentThreadId_0
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.__ultoa
cmp byte [esp + 0x3c], 0
je 0x4382aa
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x43827d
cmp eax, 0x6a
je 0x43829a
mov ecx, eax
add eax, 1
cmp byte [edx + eax], 0
jne 0x438278
cmp eax, 0x6a
je 0x43829a
add ecx, 2
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + ecx + 0x15], 0
mov dword [esp], edx
call sym._OutputDebugStringA_4
sub esp, 4
call sym._abort
mov ecx, 0x28
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x438290