joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440514
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x440538
cmp dword [edi + 0x54], 0
jne 0x440538
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004422bd
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004404d5
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x444ff4
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x44501f
call fcn.004422bd
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x445042
push eax
push dword [esi + 4]
call fcn.00444f7a
push esi
push eax
mov ecx, 0x494568
call fcn.00444c01
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x445840
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x470c58
call fcn.004507bf
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00445800
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004028a0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x4458a6
push eax
push dword [esi + 8]
call fcn.00444f7a
push dword [esi + 0xc]
mov ecx, 0x494568
push eax
call fcn.00444c01
mov eax, esi
call fcn.00450897
ret 0x18

Function at 0x44dfec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x491120]
jne 0x44dff6
repz ret
jmp fcn.00458b3c
Function at 0x460c81
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.00454912
and dword [ebp - 4], 0
cmp dword [0x4953b8], 0
mov ebx, eax
jne 0x460d32
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x460de3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x460de3
push eax
call fcn.004548a0
mov dword [esp], 0x47ba5c
push edi
mov dword [0x4953b8], eax
call esi
push eax
call fcn.004548a0
mov dword [esp], 0x47ba48
push edi
mov dword [0x4953bc], eax
call esi
push eax
call fcn.004548a0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4953c0], eax
call esi
push eax
call fcn.004548a0
pop ecx
mov dword [0x4953c8], eax
test eax, eax
je 0x460d32
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004548a0
pop ecx
mov dword [0x4953c4], eax
mov eax, dword [0x4953c4]
cmp eax, ebx
je 0x460d8a
cmp dword [0x4953c8], ebx
je 0x460d8a
push eax
call fcn.0045491b
push dword [0x4953c8]
mov esi, eax
call fcn.0045491b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x460d8a
test edi, edi
je 0x460d8a
call esi
test eax, eax
je 0x460d81
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x460d81
test byte [ebp - 0xc], 1
jne 0x460d8a
or dword [ebp + 0x10], 0x200000
jmp 0x460dc3
mov eax, dword [0x4953bc]
cmp eax, ebx
je 0x460dc3
push eax
call fcn.0045491b
pop ecx
test eax, eax
je 0x460dc3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x460dc3
mov eax, dword [0x4953c0]
cmp eax, ebx
je 0x460dc3
push eax
call fcn.0045491b
pop ecx
test eax, eax
je 0x460dc3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4953b8]
call fcn.0045491b
pop ecx
test eax, eax
je 0x460de3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x460de5
xor eax, eax
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
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x1000e1bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1000e1cb
pop dword [ebp - 0x40]
mov eax, 0x38a1fa3f
sub eax, 0x28a11874
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x33b25
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x32c3
mov edi, eax
mov edx, 0x5baedc81
add edx, 0xb452a97f
add edx, dword [ebp - 0x40]
mov esi, 0xce118bdb
add esi, 0x9b315c74
xor dword [ebp - 0x28], 0xb0690215
mov ebx, dword [edx]
add dword [ebp - 0xc], 0xd4540da3
sub ebx, esi
mov dword [edi], ebx
xor dword [ebp - 8], 0x7bf73918
add edi, 0xb43d653e
sub edi, 0xb43d653a
add edx, 0x3da8c1b2
sub edx, 0x3da8c1ae
loop 0x1000e21f
add eax, 0xf7592355
sub eax, 0xf7586576
mov ebx, eax
add eax, 0x10aeeaa1
sub eax, 0x10aeea9c
mov ecx, 0x10ba3cc9
sub ecx, 0xba3cc9
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x4073e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461134], 0
jne 0x407420
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 0x4073f6
mov dword [ecx*4 + 0x461130], eax
inc ecx
cmp ecx, 0x100
jl 0x4073f1
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40744d
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 + 0x461130]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40742e
not eax
pop ebp
ret 0xc

Function at 0x401f95
Capabilities:
Encode data using xor

Disassembly:
call fcn.00401e92
mov ecx, 0x211
call 0x401f95
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x401f98
mov eax, 0x50402fd
out dx, al
clc
div esi
cmc
retf 0x3d52

Function at 0x406a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push esi
xor edi, dword [esi + 0x66]
mov ecx, dword [eax + 0x7a]
invalid
Function at 0x401d9d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edi, dword [0x404050]
cdq
or di, 1
idiv edi
mov edx, dword [0x404050]
mov ebx, esi
add edx, eax
mov eax, 0x404054
call fcn.00401cc0
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x403135
push eax
sub edi, fcn.004028df
push edi
push fcn.004028df
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401e13
mov eax, fcn.004028df
mov ebx, esi
mov edx, edi
call fcn.00401cc0
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00402423
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401d4e
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x426094]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.0040e890
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x401e00
push edi
mov edi, str.golfinfo.ini
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x401d99
sub eax, edx
sar eax, 1
je 0x401dff
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [0x41f0f0]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.0040cce6
push 0x422ad4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040ce29
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x401dff
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.0040d11c
push dword [ebp - 0x78]
call fcn.0040d1b0
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.0040caa8
add ebp, 0x198
leave
ret
Function at 0x4071bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x4071ca
pop dword [ebp - 0x34]
mov eax, 0xe0267f77
add eax, 0x2019f253
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x916886c5
add dword [ebp - 0x44], 0xbce9be86
mov dword [ebp - 0x40], 0x94379024
sub dword [ebp - 0x40], 0x620443df
mov dword [ebp - 0x3c], 0x560b5453
sub dword [ebp - 0x3c], 0x9bf1025
mov dword [ebp - 0x38], 0x8ef40938
sub dword [ebp - 0x38], 0x8ef40938
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xf1a13dd
add dword [ebp - 0x44], 0x65585579
mov dword [ebp - 0x40], 0x5f38cdb2
sub dword [ebp - 0x40], 0x1dcc6c3d
mov dword [ebp - 0x3c], 0x6b1e331
sub dword [ebp - 0x3c], 0xa34276c5
mov dword [ebp - 0x38], 0x9ccc91a1
add dword [ebp - 0x38], 0x63336e5f
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x15ba0dfd
sub eax, 0x1577dcd9
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3db6c
push 0
call eax
mov ecx, 0x947768c2
add ecx, 0x6b88debb
mov ebx, eax
mov esi, 0x5e25b24a
sub esi, 0x5de26e4a
add esi, dword [ebp - 0x34]
mov edx, 0xccb88080
add dword [ebp - 0x14], eax
mov edi, dword [esi]
sub edi, edx
mov dword [ebp - 0x1c], 0xcae81f78
mov dword [ebx], edi
xor dword [ebp - 4], 0xbfe12cd2
add ebx, 0xd30ce6ba
sub ebx, 0xd30ce6b6
add esi, 4
loop 0x4072e1
add eax, 0x8ffac621
sub eax, 0x8ff9b55a
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x4022b7
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4070b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
inc ebx
push ebx
push 0
push 0
push 6
push ebx
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSASocketW]
cmp eax, 0xffffffff
mov dword [esi + 0x20], eax
jne 0x402310
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
test eax, eax
jg 0x4022fb
call esi
mov ebx, eax
jmp 0x402404
call esi
mov ebx, eax
and ebx, 0xffff
or ebx, 0x80070000
jmp 0x402404
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 6
push eax
mov dword [ebp - 0x1c], ebx
call edi
cmp eax, 0xffffffff
je 0x4023e1
push 4
lea eax, [ebp - 0x18]
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [esi + 0x20]
mov dword [ebp - 0x18], ebx
call edi
push dword [esi + 0x20]
call sub.webengine.dll_AttachHandleToThreadPool
mov ebx, eax
test ebx, ebx
jne 0x402403
movzx eax, word [esi + 0x1c]
push eax
mov word [ebp - 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
cmp byte [esi + 0x2a], bl
mov word [ebp - 0x12], ax
je 0x402375
and dword [ebp - 0x10], ebx
jmp 0x402383
push 0x7f000001
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x4023ce
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271d
jne 0x4023e1
and dword [ebp - 0x18], 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [esi + 0x20]
call edi
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x4023e1
push bind
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x402403
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
test eax, eax
jg 0x4023f3
call esi
mov ebx, eax
jmp 0x402403
call esi
mov ebx, eax
and ebx, 0xffff
or ebx, 0x80070000
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00404596
leave
ret
Function at 0x402414
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4070b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
inc ebx
push ebx
push 0
push 0
push 6
push ebx
push 0x17
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSASocketW]
cmp eax, 0xffffffff
mov dword [esi + 0x20], eax
jne 0x40246d
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
test eax, eax
jg 0x402458
call esi
mov ebx, eax
jmp 0x40255e
call esi
mov ebx, eax
and ebx, 0xffff
or ebx, 0x80070000
jmp 0x40255e
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 0x28]
push ecx
push ebx
push 6
push eax
mov dword [ebp - 0x28], ebx
call edi
cmp eax, 0xffffffff
je 0x40253b
push 4
lea eax, [ebp - 0x24]
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [esi + 0x20]
mov dword [ebp - 0x24], ebx
call edi
push dword [esi + 0x20]
call sub.webengine.dll_AttachHandleToThreadPool
mov ebx, eax
test ebx, ebx
jne 0x40255d
cmp byte [esi + 0x2a], bl
lea eax, [ebp - 0x20]
push eax
je 0x4024c3
call fcn.00402264
jmp 0x4024c8
call fcn.0040228a
movzx eax, word [esi + 0x1c]
push eax
mov word [ebp - 0x20], 0x17
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x402528
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271d
jne 0x40253b
and dword [ebp - 0x24], 0
push 4
lea eax, [ebp - 0x24]
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [esi + 0x20]
call edi
push 0x1c
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x40253b
push bind
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x40255d
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
test eax, eax
jg 0x40254d
call esi
mov ebx, eax
jmp 0x40255d
call esi
mov ebx, eax
and ebx, 0xffff
or ebx, 0x80070000
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00404596
leave
ret

Function at 0x402652
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
cmp byte [esi + 0x28], 0
je 0x402665
xor eax, eax
jmp 0x4026da
push ebx
push edi
call fcn.00402940
test eax, eax
mov dword [ebp - 4], eax
jne 0x4026ce
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp byte [esi + 0x2b], 0
mov edi, dword [ebp - 0x14]
mov ecx, esi
je 0x40268f
call fcn.00402414
jmp 0x402694
call fcn.004022b7
test eax, eax
mov dword [ebp - 4], eax
jne 0x4026ce
imul edi, edi, 3
mov byte [esi + 0x28], 1
mov ebx, edi
jmp 0x4026b5
mov ecx, esi
call fcn.004025e6
test eax, eax
mov dword [ebp - 4], eax
jne 0x4026ce
dec ebx
test ebx, ebx
jg 0x4026a6
push edi
push 0x4012cc
push 0x40000434
call sub.webengine.dll_XspLogEvent
add esp, 0xc
jmp 0x4026d5
mov ecx, esi
call fcn.0040256e
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

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

Function at 0x402d85
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405532], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Magnetick
push str.Charge_Window_App
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402dcc
xor eax, eax
jmp 0x402de3
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret

Function at 0x403202
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404490
push 0x403364
push eax
mov eax, dword [0x4055b0]
mov dword fs:[0], esp
mov ecx, dword [sym.imp.CRTDLL.dll__fmode_dll]
sub esp, 0x6c
mov dword [ecx], eax
mov edx, dword [0x4055ac]
mov eax, dword [sym.imp.CRTDLL.dll__commode_dll]
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [eax], edx
call fcn.0040335a
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
push dword [0x4055a8]
push edx
push eax
lea ecx, [ebp - 0x30]
push ecx
call sub.CRTDLL.dll___GetMainArgs
add esp, 0x10
push 0x4040d0
push 0x4040cc
call sub.CRTDLL.dll__initterm
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.CRTDLL.dll__acmdln_dll]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x40329d
mov al, byte [ebp - 0x34]
inc esi
mov al, byte [esi]
test al, al
je 0x403295
cmp al, 0x22
jne 0x40328a
cmp byte [esi], 0x22
jne 0x4032a7
inc esi
jmp 0x4032a7
cmp al, 0x20
jbe 0x4032a7
inc esi
cmp byte [esi], 0x20
ja 0x4032a1
cmp byte [esi], 0
je 0x4032b7
cmp byte [esi], 0x20
ja 0x4032b7
inc esi
cmp byte [esi], 0
jne 0x4032ac
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x50], 1
mov eax, 0xa
je 0x4032d7
movzx eax, word [ebp - 0x4c]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call sub.CRTDLL.dll_exit
jmp 0x403313
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d7b5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40d7c4
pop dword [ebp - 0x20]
mov eax, 0x40d7c4
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x51bc2
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x53b27431
add ecx, 0xac4de421
xor esi, esi
add esi, eax
mov edi, 0x7af70260
add edi, 0x8551dda0
add edi, dword [ebp - 0x20]
mov edx, 0xc5d8a18a
sub edx, 0xf742dbb1
mov dword [ebp - 0xc], 0x1a0a2954
mov ebx, dword [edi]
mov dword [ebp - 0x18], 0x48c3474f
xor ebx, edx
sub dword [ebp - 0xc], eax
mov dword [esi], ebx
sub dword [ebp - 8], 0x76eaf22d
add esi, 0x3a8b5204
add esi, 0xc574ae00
add edi, 0x4855bbe4
add edi, 0xb7aa4420
loop 0x40d81b
add eax, 0x1541b
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x4015c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4020e0
push 0x4017c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x403320], 0xffffffff
mov dword [0x403324], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40331c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x403318]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x403328], ecx
call fcn.004017b0
mov eax, dword [0x4030e4]
test eax, eax
jne 0x401651
push 0x4017a0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00401780
push 0x40300c
push 0x403008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x403314]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x403310]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x403004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x40175f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x4016c5
cmp al, 0x22
jne 0x4016b7
cmp byte [esi], 0x22
jne 0x4016ce
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x4016de
cmp al, 0x20
ja 0x4016de
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4016ce
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4016ff
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x401704
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x401744
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x4016ce
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40175f
Function at 0x403d61
Capabilities:
Encode data using xor

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

Function at 0xaf9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00af91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xaf907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaf906a
add dl, dl
jne 0xaf9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaf90dc
xor eax, eax
add dl, dl
jne 0xaf9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaf917d
add dl, dl
jne 0xaf90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaf90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaf90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaf90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xaf90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xaf9075
mov eax, 1
add dl, dl
jne 0xaf90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaf90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaf90e1
sub eax, ebx
mov ebx, 1
jne 0xaf9128
mov ecx, 1
add dl, dl
jne 0xaf910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaf9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaf9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaf9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xaf913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaf914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaf9136
cmp eax, 0x7d00
jae 0xaf916d
cmp eax, 0x500
jb 0xaf9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaf9075
cmp eax, 0x7f
ja 0xaf9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaf9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xaf919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xaf9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10