joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402af9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x5d7440
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea edi, [ebx + 0xb8]
mov ecx, edi
call fcn.00406dde
xor ebp, ebp
cmp dword [ebx + 0x88], ebp
jbe 0x5d75c3
fldz
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul qword [0x64eed0]
fstp qword [esp + 0x14]
jmp 0x5d7480
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x84]
xor eax, eax
test ecx, ecx
je 0x5d7497
mov ecx, dword [ecx]
test ecx, ecx
je 0x5d7497
mov eax, dword [ecx]
lea ecx, [edx + ebp]
test eax, eax
je 0x5d74aa
mov eax, dword [eax]
test eax, eax
je 0x5d74aa
mov eax, dword [eax]
test eax, eax
jne 0x5d74ae
xor edx, edx
jmp 0x5d74b0
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x5d74c1
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x5d74e3
fadd dword [0x64ba74]
fmul dword [esp + 0x3c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x84]
xor edx, edx
fadd qword [esp + 0x14]
fstp dword [esp + 0x1c]
test eax, eax
je 0x5d7506
mov eax, dword [eax]
test eax, eax
je 0x5d7506
mov edx, dword [eax]
add ecx, ebp
test edx, edx
je 0x5d7518
mov edx, dword [edx]
test edx, edx
je 0x5d7518
mov edx, dword [edx]
test edx, edx
jne 0x5d751c
xor edx, edx
jmp 0x5d751e
mov edx, dword [edx]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x5d752f
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x5d7551
fadd dword [0x64ba74]
fmul dword [esp + 0x3c]
mov ecx, dword [edi + 0x10]
inc ecx
fadd qword [esp + 0x14]
fstp dword [esp + 0x24]
cmp dword [edi + 8], ecx
ja 0x5d756f
push 1
mov ecx, edi
call fcn.0040841d
mov esi, dword [edi + 0xc]
add esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
cmp eax, esi
ja 0x5d757e
sub esi, eax
mov edx, dword [edi + 4]
cmp dword [edx + esi*4], 0
jne 0x5d759b
push 0xc
call fcn.006112e7
add esp, 4
test eax, eax
je 0x5d75db
mov ecx, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x1c]
push edx
push ecx
lea edx, [edi + 0x14]
push edx
call fcn.0040e395
inc dword [edi + 0x10]
inc ebp
add esp, 0xc
cmp ebp, dword [ebx + 0x88]
jb 0x5d7480
mov esi, dword [esp + 0x38]
push edi
mov ecx, esi
call fcn.0040dacb
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0
call fcn.0061190e
push 0x68ac10
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.00611b07
int3
Function at 0x403891
Capabilities:
Print debug messages

Disassembly:
jmp 0x4b61e0
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
push edi
mov edi, ecx
test eax, eax
jne 0x4b6200
push str.Item_DB_idx__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop ebx
ret 4
push esi
push eax
mov ecx, 0x7c3b98
call fcn.0040ea4d
mov esi, eax
test esi, esi
je 0x4b621f
mov ax, word [ebx + 6]
mov word [esi + 0x28e], ax
jmp 0x4b624d
push str.CItemShopGridDialog::AddItem
push ebx
mov ecx, 0x7c3b98
call fcn.00402f54
mov esi, eax
test esi, esi
jne 0x4b623b
pop esi
pop edi
pop ebx
ret 4
push esi
mov ecx, 0x7c3b98
mov dword [esi + 0x24], 1
call fcn.00410dc0
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
movzx ecx, ax
push ecx
mov ecx, edi
call fcn.0040e6ba
movzx eax, ax
push esi
push eax
mov ecx, edi
call fcn.0040c11c
pop esi
pop edi
pop ebx
ret 4
Function at 0x40418d
Capabilities:
Get file size

Disassembly:
jmp 0x59ae90
sub esp, 0x3a0
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x39c], eax
push esi
mov esi, dword [esp + 0x3b0]
push edi
mov edi, dword [esp + 0x3ac]
push 0x1ff
lea eax, [esp + 0x1a9]
push 0
push eax
mov byte [esp + 0x1b0], 0
call fcn.00610b10
add esp, 0xc
test esi, esi
je 0x59aef8
mov ecx, dword [esp + 0x3b0]
push esi
push ecx
push edi
lea edx, [esp + 0x1b0]
push str._s_line:_d__msg:_s_
push edx
call fcn.00611035
add esp, 0x14
jmp 0x59af16
mov eax, dword [esp + 0x3b0]
push eax
push edi
lea ecx, [esp + 0x1ac]
push str._s_line:_d_
push ecx
call fcn.00611035
add esp, 0x10
push 0xff
lea edx, [esp + 0xa9]
push 0
push edx
mov byte [esp + 0xb0], 0
call fcn.00610b10
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x12]
movzx edx, word [esp + 0xe]
movzx eax, word [esp + 0xc]
push ecx
push edx
push eax
lea ecx, [esp + 0xb0]
push str.._Log_Debug__4d_02d_02d.txt
push ecx
call fcn.00611035
add esp, 0x14
cmp dword [0x7d6db4], 0
jne 0x59b071
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x59afef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xa4]
push 0x666c90
push ecx
call fcn.00610fd7
mov esi, eax
add esp, 8
test esi, esi
je 0x59b071
call fcn.0040f335
push eax
lea edx, [esp + 0x1a8]
push edx
push 0x666c94
push esi
call fcn.00612331
push esi
call fcn.00610cd6
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x39c]
xor ecx, esp
call fcn.006111ee
add esp, 0x3a0
ret
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 8]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
ja 0x59b067
lea ecx, [esp + 0xa4]
push 0x666ca0
push ecx
call fcn.00610fd7
mov esi, eax
add esp, 8
test esi, esi
je 0x59b071
call fcn.0040f335
push eax
lea edx, [esp + 0x1a8]
push edx
push str._stime:_s_n
push esi
call fcn.00612331
push esi
call fcn.00610cd6
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x39c]
xor ecx, esp
call fcn.006111ee
add esp, 0x3a0
ret
mov dword [0x7d6db4], 1
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x3a0
ret
Function at 0x405592
Capabilities:
Initialize winsock library
Set socket configuration

Disassembly:
jmp 0x5876f0
sub esp, 0x198
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
xor eax, eax
push 0x18e
mov esi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00610b10
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x102
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x58774c
xor al, al
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.006111ee
add esp, 0x198
ret
push 1
push 3
push 2
call sub.WSOCK32.dll_socket
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x587734
push 4
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x18], 0x7d0
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
je 0x587734
mov eax, dword [esi + 4]
push 4
lea edx, [esp + 8]
push edx
push 0x1005
push 0xffff
push eax
mov dword [esp + 0x18], 0x7d0
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [esp + 0x198]
cmp eax, 0xffffffff
setne al
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x198
ret
Function at 0x405ba0
Capabilities:
Create directory
Write file on windows

Disassembly:
jmp 0x421f50
sub esp, 0x48
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
push 0
push str.data
mov edi, ecx
call esi
push 0
push str.data_aiconfig
call esi
mov eax, dword [0x7c2d24]
movzx ecx, word [eax + 0x129]
push ecx
lea edx, [esp + 0x10]
push 0x64b99c
push edx
call fcn.00611035
push 0x64b9b4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00610fee
mov eax, dword [esp + 0x20]
add esp, 0x18
test eax, eax
je 0x421fd6
push eax
push 1
push 0x1c64
add edi, 0xec
push edi
call fcn.00610ea1
mov edx, dword [esp + 0x18]
push edx
call fcn.00610cd6
add esp, 0x14
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x48
ret
Function at 0x4066f9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x5d7270
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea edi, [ebx + 0xa0]
mov ecx, edi
call fcn.00406dde
mov ebp, 1
cmp dword [ebx + 0x88], ebp
jbe 0x5d73f3
fldz
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul qword [0x64eed0]
fstp qword [esp + 0x14]
jmp 0x5d72b0
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x84]
xor eax, eax
test ecx, ecx
je 0x5d72c7
mov ecx, dword [ecx]
test ecx, ecx
je 0x5d72c7
mov eax, dword [ecx]
lea ecx, [edx + ebp]
test eax, eax
je 0x5d72da
mov eax, dword [eax]
test eax, eax
je 0x5d72da
mov eax, dword [eax]
test eax, eax
jne 0x5d72de
xor edx, edx
jmp 0x5d72e0
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x5d72f1
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x5d7313
fadd dword [0x64ba74]
fmul dword [esp + 0x3c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x84]
xor edx, edx
fadd qword [esp + 0x14]
fstp dword [esp + 0x1c]
test eax, eax
je 0x5d7336
mov eax, dword [eax]
test eax, eax
je 0x5d7336
mov edx, dword [eax]
add ecx, ebp
test edx, edx
je 0x5d7348
mov edx, dword [edx]
test edx, edx
je 0x5d7348
mov edx, dword [edx]
test edx, edx
jne 0x5d734c
xor edx, edx
jmp 0x5d734e
mov edx, dword [edx]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x5d735f
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x5d7381
fadd dword [0x64ba74]
fmul dword [esp + 0x3c]
mov ecx, dword [edi + 0x10]
inc ecx
fadd qword [esp + 0x14]
fstp dword [esp + 0x24]
cmp dword [edi + 8], ecx
ja 0x5d739f
push 1
mov ecx, edi
call fcn.0040841d
mov esi, dword [edi + 0xc]
add esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
cmp eax, esi
ja 0x5d73ae
sub esi, eax
mov edx, dword [edi + 4]
cmp dword [edx + esi*4], 0
jne 0x5d73cb
push 0xc
call fcn.006112e7
add esp, 4
test eax, eax
je 0x5d740b
mov ecx, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x1c]
push edx
push ecx
lea edx, [edi + 0x14]
push edx
call fcn.0040e395
inc dword [edi + 0x10]
inc ebp
add esp, 0xc
cmp ebp, dword [ebx + 0x88]
jb 0x5d72b0
mov esi, dword [esp + 0x38]
push edi
mov ecx, esi
call fcn.0040dacb
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0
call fcn.0061190e
push 0x68ac10
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.00611b07
int3
Function at 0x40702c
Capabilities:
Read .ini file

Disassembly:
jmp 0x585a20
sub esp, 0x108
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x110]
push ebp
mov ebp, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x124]
push edi
push 0xff
lea ecx, [esp + 0x18]
push ecx
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.006143f0
mov byte [eax + 1], 0
mov eax, esi
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x585a81
lea edi, [esp + 0x14]
sub eax, ecx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x585a90
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
push eax
push 0xff
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push ecx
push 0
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006111ee
add esp, 0x108
ret

Function at 0x40714e
Capabilities:
Read file on windows

Disassembly:
jmp 0x4258a0
sub esp, 0x4c
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [0x7c2d24]
push esi
mov esi, ecx
movzx ecx, word [eax + 0x129]
push edi
push ecx
lea edx, [esp + 0x14]
push str.._data_aiconfig__d.dat
push edx
call fcn.00611035
push 0x1c64
lea edi, [esi + 0xec]
push 0
push edi
call fcn.00610b10
push 0x64b9d0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00610fee
mov eax, dword [esp + 0x2c]
add esp, 0x24
test eax, eax
je 0x425978
push eax
push 1
push 0x1c64
push edi
call fcn.00611708
mov edx, dword [esp + 0x18]
push edx
call fcn.00610cd6
add esp, 0x14
call fcn.00402365
mov eax, dword [eax + 0x228]
imul eax, eax, 0x64
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
test eax, eax
jns 0x42593b
fadd dword [0x64ba74]
fstp dword [esi + 0xe0]
call fcn.00402365
mov ecx, dword [eax + 0x22c]
imul ecx, ecx, 0x64
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
test ecx, ecx
jns 0x425961
fadd dword [0x64ba74]
pop edi
fstp dword [esi + 0xe8]
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.006111ee
add esp, 0x4c
ret
mov ecx, esi
call fcn.00402a04
mov ecx, dword [esp + 0x50]
pop edi
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x4c
ret

Function at 0x407577
Capabilities:
Set current directory

Disassembly:
jmp 0x5efc30
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp esi, 0x12
jb 0x5efc4e
push 0
push 0x72
push 0x66cc08
call fcn.0040aec0
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x5efc66
cmp esi, 0x11
je 0x5efc66
mov eax, dword [edi + esi*4 + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
ret 4
Function at 0x407f81
Capabilities:
Print debug messages

Disassembly:
jmp 0x5cfae0
jmp 0x5d5830
mov ecx, dword [ecx + 0x1f4]
test ecx, ecx
jne 0x5cfaef
xor eax, eax
ret 8
jmp 0x40fda8
mov edx, dword [esp + 4]
fld dword [edx]
sub esp, 8
fld qword [0x657648]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x5d5934
fldz
fcom dword [edx]
fnstsw ax
test ah, 0x41
je 0x5d5932
fld dword [edx + 8]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
je 0x5d5934
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x41
je 0x5d5936
push esi
fnstcw word [esp + 0x10]
mov esi, dword [esp + 0x14]
fld dword [esi + 8]
fld qword [0x655a30]
movzx eax, word [esp + 0x10]
fdiv st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fxch st(1)
fistp qword [esp + 4]
mov eax, dword [esp + 4]
push eax
fldcw word [esp + 0x14]
fld dword [esi]
fdiv st(1)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 8]
mov eax, dword [esp + 8]
push eax
fldcw word [esp + 0x18]
fld dword [edx + 8]
fdiv st(1)
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
push eax
fldcw word [esp + 0x1c]
fdivr dword [edx]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
fldcw word [esp + 0x20]
call fcn.0040a218
pop esi
add esp, 8
ret 8
fstp st(0)
fstp st(0)
push str._____________________________.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 8
ret 8

Function at 0x407fa9
Capabilities:
Write file on windows

Disassembly:
jmp 0x560e30
sub esp, 0x18
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [0x7c2d24]
push esi
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x560eca
call fcn.00402072
fld dword [0x7f9198]
push 0
push 0x80
push 2
push 0
mov dword [esp + 0x20], eax
mov eax, dword [0x7c2d24]
mov cx, word [eax + 0x688]
fstp dword [esp + 0x24]
push 0
push 0x40000000
push esi
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x560eca
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0x6060801
call edi
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xc
lea edx, [esp + 0x1c]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x18
ret 4

Function at 0x408175
Capabilities:
Hash data with md5

Disassembly:
jmp 0x5805b0
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4081fc
Capabilities:
Read file on windows

Disassembly:
jmp 0x57e860
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x6647f8
push eax
mov esi, ecx
xor bl, bl
call fcn.00610fd7
mov edi, eax
add esp, 8
test edi, edi
je 0x57e92d
push edi
push 0x118
lea ecx, [esi + 0x14]
push 1
push ecx
call fcn.00611708
add esp, 0x10
cmp eax, 0x118
jne 0x57e8fb
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x11c]
lea ecx, [eax + edx*2]
cmp dword [esi + 0x120], ecx
jne 0x57e8fb
mov edx, dword [esi + 0x124]
push edx
call fcn.0060fcba
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
je 0x57e8fb
push ebp
mov ebp, dword [esi + 0x124]
push edi
push ebp
push 1
push eax
call fcn.00611708
add esp, 0x10
cmp ebp, eax
jne 0x57e8fa
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x11c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebp
mov bl, 1
pop ebp
push edi
call fcn.00610cd6
add esp, 4
test bl, bl
jne 0x57e91f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x57e91f
push eax
call fcn.006112ab
add esp, 4
mov dword [esi + 0x10], 0
pop edi
mov byte [esi + 0x128], bl
pop esi
mov al, bl
pop ebx
ret 4
pop edi
pop esi
xor al, al
pop ebx
ret 4

Function at 0x40864d
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x51c080
cmp byte [0x7aa3b6], 0
push esi
mov esi, ecx
je 0x51c0a3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov dword [0x7c3f68], eax
mov byte [0x7aa3b6], 0
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, eax
sub edx, ecx
mov dword [0x7c3f68], eax
cmp eax, ecx
jae 0x51c0ba
dec edx
mov dword [0x7c3f4c], edx
mov dword [esi + 0xc], eax
mov eax, dword [0x7c3f4c]
add dword [0x7c3f50], eax
add dword [esi + 8], eax
cmp dword [esi + 8], 0x5265c00
jb 0x51c0e4
inc dword [esi + 4]
add dword [esi + 8], 0xfad9a400
pop esi
ret

Function at 0x408da5
Capabilities:
Read file on windows

Disassembly:
jmp 0x52c400
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push 0x660b80
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x52c433
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x20], 0
call edi
test eax, eax
je 0x52c478
cmp dword [esp + 0x10], 0x61208
jne 0x52c478
push 0
lea edx, [esp + 0x10]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x52c488
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esp + 0xc], 0xac
push esi
ja 0x52c479
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x408f8f
Capabilities:
Enumerate processes

Disassembly:
jmp 0x4ff5b0
sub esp, 0x1ac
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push esi
mov esi, ecx
call ebx
cmp dword [esi + 0xf4], 0
jne 0x4ff5df
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x4ff6bb
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x4ff615
test eax, eax
je 0x4ff612
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x4ff606
push edi
push 0
push 2
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4ff6ba
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4ff6ab
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x138]
push 0x65f120
push eax
call fcn.00611035
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.004050a6
test eax, eax
je 0x4ff69c
mov ecx, 0x7d65f8
call fcn.0040f321
push 0x230
mov ecx, 0x7c5388
call fcn.00408599
push eax
push 1
push 0x179e
push 0x7c2258
call fcn.00409de0
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4ff641
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [esi + 0xf4], eax
pop edi
mov ecx, dword [esp + 0x1b0]
pop esi
pop ebx
xor ecx, esp
call fcn.006111ee
add esp, 0x1ac
ret

Function at 0x408fad
Capabilities:
Resolve dns

Disassembly:
jmp 0x599320
sub esp, 0x114
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
mov esi, dword [esp + 0x120]
lea edx, [esp + 0x18]
mov ebx, ecx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x599347
movsx eax, byte [esi]
push eax
call fcn.006151ca
add esp, 4
test eax, eax
je 0x5993bf
lea ecx, [esp + 0x18]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x59942a
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [eax], edi
je 0x5993be
nop
movsx edx, word [esi + 0xa]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00613010
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x20]
push 0x666968
push eax
call fcn.00611035
mov ecx, dword [esi + 0xc]
inc edi
lea eax, [ecx + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x599380
pop edi
lea edx, [esp + 0x18]
push edx
push 0x20
push 0x7d4b7c
call fcn.00615115
mov eax, dword [0x7d4bc0]
mov esi, dword [esp + 0x130]
imul eax, eax, 0x58
add esp, 0xc
cmp si, word [eax + 0x7f0520]
jne 0x599407
cmp dword [0x7d4ba0], 0
je 0x599407
cmp dword [0x7d4bbc], 0
jne 0x599407
mov ecx, 0x7d4ba0
call fcn.00401d3e
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx + 0x118], eax
mov eax, ecx
mov ecx, dword [esp + 0x118]
pop esi
pop ebx
xor ecx, esp
call fcn.006111ee
add esp, 0x114
ret 8