joyce8/EMBER2024-capa huggingface dataset:
Function at 0x537ec8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [esi + 4]
and dword [ebp - 4], 0
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x5b1618
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 4]
jl 0x53808e
test eax, eax
je 0x538098
mov ecx, dword [esi + 0x24a]
imul ecx, ecx, 0x3e8
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], 0xf7222374
mov word [ebp - 0x10], 0x2144
mov word [ebp - 0xe], 0x4815
mov byte [ebp - 0xc], 0xb5
mov byte [ebp - 0xb], 0x50
mov byte [ebp - 0xa], 0xa3
mov byte [ebp - 9], 0x7f
mov byte [ebp - 8], 0x8e
mov byte [ebp - 7], 0x12
mov byte [ebp - 6], 0xee
mov byte [ebp - 5], 0x52
mov dword [ebp - 0x24], 0xb16ade03
mov word [ebp - 0x20], 0x4b93
mov word [ebp - 0x1e], 0x43d7
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x50
mov byte [ebp - 0x1a], 0x90
mov byte [ebp - 0x19], 0xb4
mov byte [ebp - 0x18], 0xfe
mov byte [ebp - 0x17], 0x22
mov byte [ebp - 0x16], 0x45
mov byte [ebp - 0x15], 0x37
mov dword [ebp - 0x34], 0x2d59fcda
mov word [ebp - 0x30], 0xbf4e
mov word [ebp - 0x2e], 0x4ed6
mov byte [ebp - 0x2c], 0xb5
mov byte [ebp - 0x2b], 0xdf
mov byte [ebp - 0x2a], 0x5b
mov byte [ebp - 0x29], 3
mov byte [ebp - 0x28], 0xb3
mov byte [ebp - 0x27], 0x6b
mov byte [ebp - 0x26], 0xa
mov byte [ebp - 0x25], 0x1f
mov dword [ebp - 0x44], 0x9d377230
mov word [ebp - 0x40], 0xf91b
mov word [ebp - 0x3e], 0x453d
mov byte [ebp - 0x3c], 0x9c
mov byte [ebp - 0x3b], 0xe0
mov byte [ebp - 0x3a], 0x78
mov byte [ebp - 0x39], 0x44
mov byte [ebp - 0x38], 0x54
mov byte [ebp - 0x37], 0x14
mov byte [ebp - 0x36], 0xc2
mov byte [ebp - 0x35], 0x2d
mov dword [ebp - 0x68], 0xa6ae762a
mov word [ebp - 0x64], 0xd0a9
mov word [ebp - 0x62], 0x4454
mov byte [ebp - 0x60], 0xb8
mov byte [ebp - 0x5f], 0xef
mov byte [ebp - 0x5e], 0xf2
mov byte [ebp - 0x5d], 0xdb
mov byte [ebp - 0x5c], 0xee
mov byte [ebp - 0x5b], 0xfd
mov byte [ebp - 0x5a], 0xd3
mov byte [ebp - 0x59], 0xbd
mov word [ebp - 0x58], 0x13
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [esi + 0x252]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esi + 0x24e]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esi + 0x256]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x24]
mov al, byte [esi + 0x25a]
neg al
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x68]
push edx
mov word [ebp - 0x58], 0xb
sbb eax, eax
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
test eax, eax
je 0x538098
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
leave
ret
Function at 0x5398c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e0
push ebx
push esi
lea eax, [ebp - 0x10]
xor ebx, ebx
push 0x104
mov esi, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
call fcn.00559119
push str.mailto:
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0xc], ebx
call fcn.00446ff2
push dword [ebp + 8]
lea eax, [ebp - 0x21e]
push eax
call fcn.0049e4f7
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
call fcn.005595ba
push dword [ebp - 0x1a]
call fcn.0058f8c9
xor eax, eax
cmp word [edi], bx
pop ecx
je 0x539959
push str._subject
lea eax, [ebp - 4]
push eax
call fcn.00446ff2
push edi
lea eax, [ebp - 0x21e]
push eax
call fcn.0049e4f7
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
call fcn.005595ba
push dword [ebp - 0x1a]
call fcn.0058f8c9
xor eax, eax
pop ecx
inc eax
mov esi, dword [ebp + 0xc]
cmp word [esi], bx
je 0x5399a5
cmp eax, ebx
setne dl
dec dl
and dl, 0x19
add dl, 0x26
lea eax, [ebp - 4]
call fcn.00558ec9
push str.body
lea eax, [ebp - 4]
push eax
call fcn.00446ff2
push esi
lea eax, [ebp - 0x21e]
push eax
call fcn.0049e4f7
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
call fcn.005595ba
push dword [ebp - 0x1a]
call fcn.0058f8c9
pop ecx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x5399b9
mov ecx, dword [ebp - 0xc]
mov byte [ecx + eax], bl
mov esi, dword [ebp - 0x10]
cmp esi, ebx
jne 0x5399be
mov esi, 0x5daec0
call fcn.004a9266
test al, al
je 0x5399f5
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5399cc
sub eax, edx
mov ecx, 0x3ca
cmp eax, ecx
jb 0x5399f5
mov edx, esi
push ecx
lea esi, [ebp - 0x3e0]
call fcn.004a8fd1
push 1
push ebx
push ebx
mov eax, esi
push eax
jmp 0x5399fa
push 1
push ebx
push ebx
push esi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push dword [ebp - 0x10]
call fcn.0058f8c9
pop ecx
pop esi
pop ebx
leave
ret 8
Function at 0x53b55a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push 0x3e8
push 3
push 1
push SysReAllocString
push dword [ebp + 0x10]
mov esi, eax
call fcn.004a1f44
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004019d3
mov ebx, eax
test ebx, ebx
je 0x53b636
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
fld qword [ebp + 0x14]
push ecx
push ecx
mov dword [ebp - 8], eax
fstp qword [esp]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test ebx, ebx
mov dword [ebp - 0xc], ebx
fild dword [ebp - 0xc]
jge 0x53b5bb
fadd qword [0x60d1e8]
fdivr qword [ebp + 0x1c]
fstp qword [ebp - 0x14]
jmp 0x53b623
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x20]
push esi
push eax
call fcn.0053b4b0
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x53b654
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test al, al
jne 0x53b636
call edi
mov ecx, eax
sub ecx, dword [ebp - 8]
cmp ecx, 0x1f4
jbe 0x53b623
mov dword [ebp - 8], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004019a4
test eax, eax
mov edx, dword [esi]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
jge 0x53b613
fadd qword [0x60d1e8]
fmul qword [ebp - 0x14]
push ecx
push ecx
mov ecx, esi
fadd qword [ebp + 0x14]
fstp qword [esp]
call dword [edx + 0x24]
push 0x39
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00401f65
test eax, eax
jne 0x53b5c3
mov esi, dword [ebp + 8]
and dword [esi], 0
cmp dword [ebp + 0x10], 0xffffffff
je 0x53b64b
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x1c
mov esi, dword [ebp + 8]
mov dword [esi], eax
jmp 0x53b63c
Function at 0x542798
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
push esi
push edi
lea esi, [ebp - 0x28]
call fcn.00402d74
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x111]
mov ecx, dword [edi + 0x25]
imul eax, eax, 0x227
xor esi, esi
add eax, ecx
xor dl, dl
cmp dword [eax + 0x214], esi
mov byte [ebp - 5], 0
mov dword [ebp - 0x14], esi
jle 0x542941
mov dword [ebp - 0x10], esi
mov ebx, dword [eax + 0x210]
add ebx, dword [ebp - 0x10]
cmp byte [ebx + 0x44f], 0
jne 0x5428df
cmp byte [ebx + 0x450], 0
jne 0x5428df
mov eax, ebx
call fcn.0053fa79
test al, al
je 0x542819
test dl, dl
je 0x5428df
mov byte [ebp - 5], 1
jmp 0x5428df
cmp byte [ebp - 5], 0
je 0x542833
push esi
push esi
push 0x800
push dword [ebp - 0x24]
mov byte [ebp - 5], 0
call dword [sym.imp.USER32.dll_AppendMenuW]
mov esi, dword [ebx + 0x446]
mov eax, esi
shr eax, 3
and al, 1
je 0x542851
mov ecx, esi
shr ecx, 4
test cl, 1
jne 0x542851
mov ecx, dword [ebx + 0x10]
jmp 0x542854
mov ecx, dword [ebx + 0xc]
test al, al
mov dword [ebp - 0xc], ecx
mov eax, str._s...
jne 0x542865
mov eax, 0x5bdd98
lea ecx, [ebx + 0x16]
push ecx
push eax
mov esi, 0x104
lea edi, [ebp - 0x234]
call fcn.004a9039
mov eax, dword [ebx + 0x455]
test eax, eax
pop ecx
pop ecx
jne 0x542896
mov eax, edi
push eax
push dword [ebp - 0xc]
lea esi, [ebp - 0x28]
call fcn.004633bd
jmp 0x5428aa
push eax
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call fcn.00463424
movzx eax, byte [ebx + 0x44e]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call fcn.00402dcb
mov al, byte [ebx + 0x453]
neg al
sbb eax, eax
and eax, 8
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov edi, dword [ebp + 8]
mov dl, 1
xor esi, esi
mov eax, dword [edi + 0x111]
mov ecx, dword [edi + 0x25]
imul eax, eax, 0x227
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x671
add eax, ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x214]
jl 0x5427da
test dl, dl
je 0x542941
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [0x6a4e50]
add ecx, 2
cmp ecx, eax
ja 0x542941
mov esi, dword [edi + 0x19]
test esi, esi
je 0x542941
push dword [ebp - 0x24]
lea eax, [edi + 0x1c9]
push dword [ebp - 0x28]
call fcn.00449e95
call ebx
mov dword [0x6a4e50], eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_DestroyMenu]
lea edi, [ebp - 0x18]
call fcn.0043553e
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x552ca8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
xor eax, eax
cmp byte [ebp + 8], bl
push esi
setne al
push 0xa
mov dword [edi], ebx
add eax, 0x1ad
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x552cd2
xor eax, eax
jmp 0x552cf9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x552cce
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x552cce
mov ecx, dword [ebp + 8]
mov dword [edi], ecx
pop esi
pop ebx
pop ebp
ret 4

Function at 0x55ac00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [esi + 0x26]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx + 2]
movzx dx, al
push edi
movzx edi, word [ecx + 0xe]
movzx eax, al
imul eax, edi
mov word [ebp - 0x1a], dx
mov edx, dword [ecx + 4]
imul eax, edx
and word [ebp - 0xc], 0
shr eax, 3
mov dword [ebp - 0x14], eax
movzx eax, word [ecx + 0xe]
movzx cx, byte [ecx + 2]
mov dword [ebp - 0x18], edx
mov dx, ax
shr dx, 3
imul dx, cx
mov word [ebp - 0xe], ax
push 0x2e
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x30], 0x46464952
mov dword [ebp - 0x28], 0x45564157
mov dword [ebp - 0x24], 0x20746d66
mov dword [ebp - 0x20], 0x12
mov word [ebp - 0x1c], 1
mov word [ebp - 0x10], dx
mov dword [ebp - 0xa], 0x61746164
mov dword [ebp - 6], esi
call fcn.00402005
pop edi
leave
ret 4

Function at 0x55ac91
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dl, byte [eax + 2]
movzx cx, dl
push esi
movzx esi, word [eax + 0xe]
movzx edx, dl
imul edx, esi
or dword [ebp - 0x2c], 0xffffffff
mov word [ebp - 0x1a], cx
mov ecx, dword [eax + 4]
imul edx, ecx
and word [ebp - 0xc], 0
mov dword [ebp - 0x18], ecx
movzx ecx, word [eax + 0xe]
movzx ax, byte [eax + 2]
mov dword [ebp - 0x14], edx
mov dx, cx
shr dx, 3
imul dx, ax
push 0x2e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov dword [ebp - 0x30], 0x46464952
mov dword [ebp - 0x28], 0x45564157
mov dword [ebp - 0x24], 0x20746d66
mov dword [ebp - 0x20], 0x12
mov word [ebp - 0x1c], 1
mov word [ebp - 0x10], dx
mov word [ebp - 0xe], cx
mov dword [ebp - 0xa], 0x61746164
mov dword [ebp - 6], 0xffffffd9
call fcn.0044a6af
pop esi
leave
ret 4

Function at 0x55ba43
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
push 0x50000000
mov esi, eax
mov edi, dword [esi + 0x15]
push 0x5bbf70
mov ebx, 0x257f
mov ebp, 0x5b07d8
push ebx
mov edx, ebp
call fcn.0046951c
push ebx
push dword [esi + 0x15]
mov ecx, esi
call fcn.0043b130
mov eax, dword [esi + 0x15]
push 0
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push ebx
lea eax, [esi + 0x19]
push eax
mov eax, dword [esi + 0x15]
call fcn.00467d3c
push esi
mov esi, dword [esi + 0x15]
push 0x5730d4
push 0x112
add esi, 0x28
call fcn.004699ea
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x561372
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, eax
mov eax, dword [esi]
lea ecx, [eax + 1]
push 0x104
mov dword [esi], ecx
lea ecx, [ebp - 0x208]
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x5613a9
and word [esi + 0x628], 0
jmp 0x5613bf
lea ecx, [ebp - 0x208]
lea eax, [esi + 0x41c]
push ecx
add esi, 8
push esi
call fcn.00447c62
pop esi
leave
ret
Function at 0x587ccf
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x124]
xor edx, edx
push edi
sub esi, ecx
lea edi, [esi + edx*4]
mov edi, dword [ebp + edi - 0x124]
lea ecx, [ebp + edx*4 - 0x124]
mov dword [ecx], edi
inc edx
cmp edx, 0x10
bswap edi
mov dword [ecx], edi
jl 0x587ce7
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0x30
mov esi, dword [ecx]
mov edx, dword [ecx - 0x34]
mov edi, esi
rol edi, 0xf
mov ebx, esi
shr esi, 0xa
rol ebx, 0xd
xor edi, ebx
xor edi, esi
mov esi, edx
rol esi, 0xe
mov ebx, edx
ror ebx, 7
xor esi, ebx
shr edx, 3
xor esi, edx
add edi, esi
add edi, dword [ecx - 0x38]
add ecx, 4
add edi, dword [ecx - 0x18]
dec dword [ebp - 4]
mov dword [ecx + 4], edi
jne 0x587d11
mov ecx, dword [eax + 4]
and dword [ebp - 0xc], 0
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0x10]
mov esi, dword [eax]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x24]
lea edx, [ebp - 0x124]
sub ecx, edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], ecx
mov edx, esi
ror edx, 0xd
mov ecx, esi
rol ecx, 0xa
xor edx, ecx
mov ecx, esi
ror ecx, 2
xor edx, ecx
mov ecx, dword [ebp - 8]
xor ecx, esi
and ecx, ebx
mov ebx, dword [ebp - 8]
and ebx, esi
xor ecx, ebx
add edx, ecx
mov ecx, edi
mov ebx, edi
ror ecx, 0xb
rol ebx, 7
xor ecx, ebx
mov ebx, edi
ror ebx, 6
xor ecx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, dword [ebp - 0x18]
not edi
and edi, dword [ebp - 0x14]
xor edi, ebx
mov ebx, dword [ebp - 0xc]
add ecx, edi
mov edi, dword [ebp - 0x24]
lea edi, [edi + ebx*4]
add ecx, dword [ebp + edi - 0x124]
mov edi, ebx
add ecx, dword [ebp + edi*4 - 0x124]
mov edi, dword [ebp - 0x14]
add ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x1c]
add edi, ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x40
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ebx
lea esi, [ecx + edx]
jl 0x587d89
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
add ecx, esi
mov dword [eax], ecx
mov ecx, dword [eax + 4]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
add ecx, ebx
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, edi
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x14]
add ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], ecx
mov ecx, dword [eax + 0x1c]
pop edi
add ecx, edx
and dword [eax + 0x70], 0
pop esi
mov dword [eax + 0x1c], ecx
pop ebx
leave
ret
Function at 0x587e79
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov eax, dword [esi + 0x70]
lea ecx, [eax + 9]
mov byte [eax + esi + 0x30], 0x80
inc dword [esi + 0x70]
cmp ecx, 0x40
mov eax, dword [esi + 0x70]
jbe 0x587ec1
push edi
push 0x40
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x30]
push 0
push eax
call fcn.005970f0
lea edi, [esi + 0x30]
add esp, 0xc
mov ecx, edi
mov eax, esi
call fcn.00587ccf
push 0x38
push 0
push edi
call fcn.005970f0
add esp, 0xc
pop edi
jmp 0x587ed6
push 0x38
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x30]
push 0
push eax
call fcn.005970f0
add esp, 0xc
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
shl ecx, 3
shr edx, 0x1d
or ecx, edx
bswap ecx
lea eax, [esi + 0x68]
mov dword [eax], ecx
mov ecx, dword [esi + 0x28]
add eax, 4
shl ecx, 3
bswap ecx
mov dword [eax], ecx
lea ecx, [esi + 0x30]
mov eax, esi
jmp fcn.00587ccf
Function at 0x58d0e3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
cmp dword [ebp + 0x10], 0
push ebx
push esi
push edi
je 0x58d1d6
mov edi, dword [ebp + 8]
cmp byte [edi + 0x11], 0
mov ecx, 0x75647461
mov eax, 0x6d6f6f76
mov byte [ebp - 1], 0
mov dword [ebp - 0x48], 0x696c7374
mov dword [ebp - 0x44], 0x6d657461
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x6368706c
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x58747261
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
je 0x58d140
lea esi, [ebp - 0x2c]
jmp 0x58d14c
cmp byte [edi + 0x10], 0
lea esi, [ebp - 0x38]
jne 0x58d14c
lea esi, [ebp - 0x48]
mov eax, edi
call fcn.0058f1a2
mov ebx, eax
mov eax, edi
call fcn.0058f185
test ebx, ebx
jbe 0x58d1d6
mov dword [ebp - 8], eax
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov ebx, dword [eax + esi]
jne 0x58d17a
cmp ebx, dword [ebp + 0x14]
jne 0x58d1ce
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
push ebx
mov eax, edi
mov byte [ebp - 1], 1
mov dword [ebp - 0x20], 0x607448
mov dword [ebp - 0x1c], 8
call fcn.0058f156
add eax, dword [ebp + 0x10]
lea edi, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
call fcn.004d62ca
push ebx
push dword [ebp + 8]
call fcn.0058f0c7
push edx
push eax
mov eax, dword [ebp + 0xc]
call fcn.00401976
push 8
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.00402005
mov edi, dword [ebp + 8]
add esi, 4
dec dword [ebp - 0xc]
jne 0x58d169
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x596851
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x61793c]
jne 0x59685b
repz ret
jmp fcn.0059fac0
Function at 0x5984fb
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x617a10]
je 0x598516
inc edi
cmp edi, 0x17
jb 0x598507
cmp edi, 0x17
jae 0x598696
push ebp
push 3
call fcn.005a10e0
cmp eax, 1
pop ecx
je 0x598662
push 3
call fcn.005a10e0
test eax, eax
pop ecx
jne 0x59854a
cmp dword [0x617070], 1
je 0x598662
cmp ebx, 0xfc
je 0x598695
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x621898
push ebp
call fcn.0059ad29
add esp, 0xc
test eax, eax
je 0x598580
push esi
push esi
push esi
push esi
push esi
call fcn.00592267
add esp, 0x14
push 0x104
mov esi, 0x6218b1
push esi
push 0
mov byte [0x6219b5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5985c4
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0059ad29
add esp, 0xc
test eax, eax
je 0x5985c4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00592267
add esp, 0x14
push esi
call fcn.0059ae20
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x598609
push esi
call fcn.0059ae20
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x621bac
push 0x5ac414
sub ecx, eax
push ecx
push eax
call fcn.0059ac76
add esp, 0x14
test eax, eax
je 0x598609
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00592267
add esp, 0x14
jmp 0x59860b
xor esi, esi
push 0x5ac410
push ebx
push ebp
call fcn.0059abbd
add esp, 0xc
test eax, eax
je 0x59862b
push esi
push esi
push esi
push esi
push esi
call fcn.00592267
add esp, 0x14
push dword [edi*8 + 0x617a14]
push ebx
push ebp
call fcn.0059abbd
add esp, 0xc
test eax, eax
je 0x59864d
push esi
push esi
push esi
push esi
push esi
call fcn.00592267
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.005a0f23
add esp, 0xc
jmp 0x598695
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x598695
cmp ebp, 0xffffffff
je 0x598695
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x617a14]
push dword [esi]
call fcn.0059ae20
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x5a0f23
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.005942d4
xor ebx, ebx
cmp dword [0x622030], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x5a0ff9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5a10d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x5a10d9
push eax
call fcn.00594266
mov dword [esp], 0x5acf40
push edi
mov dword [0x622030], eax
call esi
push eax
call fcn.00594266
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x622034], eax
call esi
push eax
call fcn.00594266
mov dword [0x622038], eax
lea eax, [ebp - 0xc]
push eax
call fcn.005962b5
test eax, eax
pop ecx
pop ecx
je 0x5a0fc7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00592267
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x5a0ff9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00594266
cmp eax, ebx
pop ecx
mov dword [0x622040], eax
je 0x5a0ff9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00594266
pop ecx
mov dword [0x62203c], eax
mov eax, dword [0x62203c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x5a107e
cmp dword [0x622040], ecx
je 0x5a107e
push eax
call fcn.005942dd
push dword [0x622040]
mov esi, eax
call fcn.005942dd
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x5a107e
cmp edi, ebx
je 0x5a107e
call esi
cmp eax, ebx
je 0x5a104b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5a104b
test byte [ebp - 0x18], 1
jne 0x5a107e
lea eax, [ebp - 0x10]
push eax
call fcn.005962ec
test eax, eax
pop ecx
je 0x5a1066
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00592267
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x5a1075
or dword [ebp + 0x10], 0x200000
jmp 0x5a10b9
or dword [ebp + 0x10], 0x40000
jmp 0x5a10b9
mov eax, dword [0x622034]
cmp eax, dword [ebp - 8]
je 0x5a10b9
push eax
call fcn.005942dd
cmp eax, ebx
pop ecx
je 0x5a10b9
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x5a10b9
mov eax, dword [0x622038]
cmp eax, dword [ebp - 8]
je 0x5a10b9
push eax
call fcn.005942dd
cmp eax, ebx
pop ecx
je 0x5a10b9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x622030]
call fcn.005942dd
cmp eax, ebx
pop ecx
je 0x5a10d9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5a10db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret