joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x404d5d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x404d6c
pop dword [ebp - 0x10]
mov eax, 0xf0b07e04
sub eax, 0xf0703098
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x8ba386ca
add dword [ebp - 0x20], 0xc2aebe81
mov dword [ebp - 0x1c], 0x5b9aee02
sub dword [ebp - 0x1c], 0x2967a1bd
mov dword [ebp - 0x18], 0x9e1b716f
add dword [ebp - 0x18], 0xae30d2bf
mov dword [ebp - 0x14], 0x70c957ea
add dword [ebp - 0x14], 0x8f36a816
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x729e9fa8
sub dword [ebp - 0x20], 0xfe2c3652
mov dword [ebp - 0x1c], 0x5602d35f
add dword [ebp - 0x1c], 0xeb698e16
mov dword [ebp - 0x18], 0x447dd394
add dword [ebp - 0x18], 0x1ef198d8
mov dword [ebp - 0x14], 0xf830b512
add dword [ebp - 0x14], 0x7cf4aee
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x65eb0d08
add eax, 0x9a55c340
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3ce13
push 0
call eax
mov ecx, 0x6b879b4e
add ecx, 0x9478ba69
xor esi, esi
add esi, eax
mov edx, 0x8638ebfe
add edx, 0x7a08c402
add edx, dword [ebp - 0x10]
mov edi, 0x722ad43e
add edi, 0xaed3bb1d
add dword [ebp - 0xc], esi
mov ebx, dword [edx]
xor dword [ebp - 4], eax
add ebx, edi
xor dword [ebp - 0xc], edi
mov dword [esi], ebx
xor dword [ebp - 8], edx
add esi, 0x35b8ee1e
add esi, 0xca4711e6
add edx, 0xf6881802
sub edx, 0xf68817fe
loop 0x404e8b
add eax, 0xb7f560ba
add eax, 0x480be8f5
mov ebx, eax
add eax, 0xd9e53768
sub eax, 0xd9e53763
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408afe
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408afe
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408afe
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408afe
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408afe
mov dword [0x41203c], eax
call fcn.00408afe
test eax, eax
jge 0x402550
push 8
call fcn.00408afe
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408afe
pop ecx
push 1
call fcn.00408afe
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408afe
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408afe
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408afe
jmp 0x402495

Function at 0x408afe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x408b0d
pop dword [ebp - 0x4c]
mov eax, 0xee8154f8
add eax, 0x11bf3615
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3709c
push 0
mov eax, 0xfedc0b10
add eax, 0x164d5c8
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x3f59
xor edi, edi
add edi, eax
mov edx, 0x17cf3c65
add edx, 0xe871ff5f
add edx, dword [ebp - 0x4c]
mov esi, 0x405e7cc2
sub esi, 0xa42b48cd
mov ebx, dword [edx]
add dword [ebp - 0x1c], esi
xor ebx, esi
mov dword [ebp - 0x34], 0x7c1b596a
mov dword [edi], ebx
mov dword [ebp - 0x1c], 0xe3b3693e
add edi, 4
add edx, 0x8fa41520
sub edx, 0x8fa4151c
loop 0x408b68
add eax, 0xf037
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe786fc7
sub ecx, 0xe386fc7
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40a873
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40a882
pop dword [ebp - 0x40]
mov eax, 0x88b5cecb
add eax, 0x778ad9b7
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x37ee3
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xa67569a4
sub ecx, 0xa67526c6
xor edx, edx
add edx, eax
mov edi, 0xb951f937
add edi, 0x46ef428d
add edi, dword [ebp - 0x40]
mov esi, 0x655e7406
add esi, 0xc9e2199f
add dword [ebp - 0x10], ebx
mov ebx, dword [edi]
xor dword [ebp - 0x14], 0x2f142c39
sub ebx, esi
xor dword [ebp - 0x14], edi
mov dword [edx], ebx
mov dword [ebp - 0x34], 0x19bf9f0b
add edx, 0xd1795729
add edx, 0x2e86a8db
add edi, 0x2d67b070
add edi, 0xd2984f94
loop 0x40a8de
add eax, 0x4f17bc81
add eax, 0xb0e941ca
mov ebx, eax
add eax, 0xbbd57961
add eax, 0x442a86a4
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40d08b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40d09a
pop dword [ebp - 0x14]
mov eax, 0x596265f
sub eax, 0x55555c5
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x39aae
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x8fd0c515
sub ecx, 0x8fd07b5b
mov edx, eax
mov edi, 0x609c0045
sub edi, 0x605ac481
add edi, dword [ebp - 0x14]
mov esi, 0x4bfa5377
add esi, 0x8edccd38
mov dword [ebp - 0x10], 0xbd47ea15
mov ebx, dword [edi]
xor dword [ebp - 4], ebx
xor ebx, esi
add dword [ebp - 0xc], esi
mov dword [edx], ebx
xor dword [ebp - 0xc], 0x2d1b02b9
add edx, 4
add edi, 0x9c7dee3c
add edi, 0x638211c8
loop 0x40d0f4
add eax, 0x687895d7
add eax, 0x978883e4
mov ebx, eax
add eax, 0xa41b7df1
add eax, 0x5be48214
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40a6a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4375e8]
jne 0x40a6aa
repz ret
jmp fcn.0040c35b

Function at 0x40a882
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4375e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004072b0
and dword [ebp - 0x14], 0
cmp dword [0x43b2b0], 0
mov dword [ebp - 0x18], eax
jne 0x40a935
push 0x4022d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a9dd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4022c4
push ebx
call edi
test eax, eax
je 0x40a9dd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4022b4
push ebx
mov dword [0x43b2b0], eax
call edi
push eax
call esi
push 0x4022a0
push ebx
mov dword [0x43b2b4], eax
call edi
push eax
call esi
push 0x402284
push ebx
mov dword [0x43b2b8], eax
call edi
push eax
call esi
mov dword [0x43b2c0], eax
test eax, eax
je 0x40a935
push 0x40226c
push ebx
call edi
push eax
call esi
mov dword [0x43b2bc], eax
mov eax, dword [0x43b2bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a98e
cmp dword [0x43b2c0], ecx
je 0x40a98e
push eax
call esi
push dword [0x43b2c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a98e
test ebx, ebx
je 0x40a98e
call edi
test eax, eax
je 0x40a985
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a985
test byte [ebp - 8], 1
jne 0x40a98e
or dword [ebp + 0x10], 0x200000
jmp 0x40a9c1
mov eax, dword [0x43b2b4]
cmp eax, dword [ebp - 0x18]
je 0x40a9c1
push eax
call esi
test eax, eax
je 0x40a9c1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a9c1
mov eax, dword [0x43b2b8]
cmp eax, dword [ebp - 0x18]
je 0x40a9c1
push eax
call esi
test eax, eax
je 0x40a9c1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43b2b0]
call esi
test eax, eax
je 0x40a9dd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a9df
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a6a0
leave
ret
Function at 0x41ef00
Capabilities:
Accept command line arguments
Delete directory
Get common file path
Write file on windows

Disassembly:
mov eax, 0x1820
call fcn.0040c330
cmp dword [0x227d234], 0x37
jne 0x41efbf
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x403290
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x4032c8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0x1020]
push edx
push 0
push 0x40335c
push 0x40338c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x4033ac
push 0x4033b4
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov eax, dword [0x227d238]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x4403c4]
mov byte [eax + esi], dl
add esp, 0x1820
ret

Function at 0x41eff0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov edx, dword [0x437f20]
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push ebx
mov ebx, dword [0x437f28]
push ebp
mov ebp, dword [0x437f2c]
push esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [0x437f24]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xc6ef3720
mov dword [esp + 0x28], 0x9e3779b9
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0x20
jmp 0x41f044
mov eax, dword [esp + 0x18]
mov edx, eax
mov edi, eax
shr edx, 5
shl edi, 4
add edi, ebx
add edx, ebp
xor edx, edi
mov edi, dword [esp + 0x10]
add edi, eax
xor edx, edi
sub esi, edx
mov eax, esi
shl eax, 4
mov dword [0x22731e4], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
add edi, esi
cmp dword [0x227d234], 0x1be
jne 0x41f0a0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esp + 0x78]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x24]
mov dword [0x22731e8], 0xff6b3619
xor edx, edi
xor dword [esp + 0x14], edx
mov dword [0x22731ec], 0xffffffff
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x10], eax
dec dword [esp + 0x1c]
jne 0x41f040
cmp dword [0x227d234], 0x8d4
jne 0x41f10b
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
mov edx, dword [esp + 0x18]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x64
ret 4
Function at 0x4056c0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_ShowWindow
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x361a3849
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x23271fdc
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x41a6ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439c20]
jne 0x41a6b7
repz ret
jmp fcn.0041ef6d

Function at 0x429a7f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041f242
and dword [ebp - 4], 0
cmp dword [0x43dabc], 0
mov ebx, eax
jne 0x429b30
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x429be1
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x429be1
push eax
call fcn.0041f1d0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43dabc], eax
call esi
push eax
call fcn.0041f1d0
mov dword [esp], 0x4316ac
push edi
mov dword [0x43dac0], eax
call esi
push eax
call fcn.0041f1d0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43dac4], eax
call esi
push eax
call fcn.0041f1d0
pop ecx
mov dword [0x43dacc], eax
test eax, eax
je 0x429b30
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041f1d0
pop ecx
mov dword [0x43dac8], eax
mov eax, dword [0x43dac8]
cmp eax, ebx
je 0x429b88
cmp dword [0x43dacc], ebx
je 0x429b88
push eax
call fcn.0041f24b
push dword [0x43dacc]
mov esi, eax
call fcn.0041f24b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x429b88
test edi, edi
je 0x429b88
call esi
test eax, eax
je 0x429b7f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x429b7f
test byte [ebp - 0xc], 1
jne 0x429b88
or dword [ebp + 0x10], 0x200000
jmp 0x429bc1
mov eax, dword [0x43dac0]
cmp eax, ebx
je 0x429bc1
push eax
call fcn.0041f24b
pop ecx
test eax, eax
je 0x429bc1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x429bc1
mov eax, dword [0x43dac4]
cmp eax, ebx
je 0x429bc1
push eax
call fcn.0041f24b
pop ecx
test eax, eax
je 0x429bc1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43dabc]
call fcn.0041f24b
pop ecx
test eax, eax
je 0x429be1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x429be3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x118ed20
Capabilities:
Encode data using xor

Disassembly:
jmp 0x118ed2a
pushal
call 0x118ed30
pop ebp
sub ebp, 0x10
sub ebp, 0xd8ed20
jmp 0x118ed46
mov eax, 0xd8ed20
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b9
mov edx, 0xde9b0752
xor byte [eax], dl
inc eax
dec ecx
jne 0x118ed5d
jmp 0x118ed70
fstp dword [edi + 0x526edbd9]
push edx
push edx
rcl dword [ebx + 0x525252aa], cl
push ecx
lahf
ljmp 0x7ae8
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x403203
pop dword [ebp - 0x14]
mov eax, 0x9e673250
sub eax, 0x9e27004d
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xebab0eed
add dword [ebp - 0x24], 0x62a7365e
mov dword [ebp - 0x20], 0x158e7f6f
add dword [ebp - 0x20], 0x1ca4ccd6
mov dword [ebp - 0x1c], 0x354ce8c2
add dword [ebp - 0x1c], 0x16ff5b6c
mov dword [ebp - 0x18], 0x2eb21d8c
sub dword [ebp - 0x18], 0x2eb21d8c
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x73a6d62a
add dword [ebp - 0x24], 0xcb932c
mov dword [ebp - 0x20], 0x7b63b668
add dword [ebp - 0x20], 0xc608ab0d
mov dword [ebp - 0x1c], 0x7230cbd5
add dword [ebp - 0x1c], 0xf13ea097
mov dword [ebp - 0x18], 0xca63e3df
add dword [ebp - 0x18], 0x359c1c21
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xa82bdffc
sub eax, 0xa7eb5f28
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x37e95
push 0
call eax
mov ecx, 0xaba46a96
add ecx, 0x545be2af
xor esi, esi
add esi, eax
mov edi, 0x411000
add edi, dword [ebp - 0x14]
mov ebx, 0xa6d579fb
sub ebx, 0xf2be2e57
sub dword [ebp - 8], edx
mov edx, dword [edi]
xor dword [ebp - 0xc], edx
add edx, ebx
xor dword [ebp - 4], edx
mov dword [esi], edx
add dword [ebp - 0x10], edx
add esi, 0x203f7eb9
sub esi, 0x203f7eb5
add edi, 0x3168fd7f
sub edi, 0x3168fd7b
loop 0x40331c
add eax, 0xaaf581f6
sub eax, 0xaaf45a0f
mov ebx, eax
add eax, 0xb5fbbe92
add eax, 0x4a044173
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x4016e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str.55222
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x40175a
cmp dword [ebp - 0x118], 0
je 0x40175a
jmp 0x4017bc
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4017bc
mov dword [ebp - 0x120], 0x1046a
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4380b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4380d0], edx
mov dword [ebp - 0x120], 0x1046a
mov dword [ebp - 0x120], 0x1046a
call fcn.004011f0
mov eax, dword [ebp + 8]
mov dword [0x4380cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401ab0
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x40175a
mov esp, ebp
pop ebp
ret

Function at 0x4017c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401830
xor eax, eax
jmp 0x401911
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
jne 0x401848
xor eax, eax
jmp 0x401911
push ebp
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
call fcn.00401330
mov esp, ebp
pop ebp
ret
Function at 0x401af0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4380c0], 0x24e1
mov eax, dword [0x4380c0]
sub eax, 0x24e1
mov dword [0x4380c0], eax
mov ecx, 1
test ecx, ecx
je 0x401b9b
mov edx, dword [0x4380c0]
cmp edx, dword [ebp + 0xc]
jb 0x401b27
jmp 0x401b9b
cmp dword [0x4380c0], 0
jne 0x401b45
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401b45
xor eax, eax
jmp 0x401b9b
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
mov ecx, dword [eax]
add ecx, dword [0x4380c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4380c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x64b60
mov eax, dword [0x4380c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
push eax
call fcn.00401200
add esp, 8
mov ecx, dword [0x4380c0]
add ecx, 4
mov dword [0x4380c0], ecx
jmp 0x401b0d
mov esp, ebp
pop ebp
ret