joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53cb60
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
je 0x53cb79
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x53cb81
or eax, 0xffffffff
jmp 0x53cc27
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x30
jl 0x53cba6
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x39
jg 0x53cba6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x4c], eax
jmp 0x53cbad
mov dword [ebp - 0x4c], 0xffffffff
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xffffffff
jne 0x53cc24
mov eax, dword [ebp + 8]
push eax
call fcn.0053d260
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x53cc24
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x53cc05
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0xa]
cmp ecx, 4
jb 0x53cc05
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x53cc05
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x53cc24
cmp dword [ebp - 8], 0
jne 0x53cc24
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2af9
jne 0x53cc24
mov eax, dword [ebp + 8]
push eax
call fcn.0053d200
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53da00
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
call fcn.0056a030
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x53da43
lea edx, [ebp - 4]
push edx
push 0x8004667e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x53da43
mov dword [ebp - 0x48], 1
jmp 0x53da4a
mov dword [ebp - 0x48], 0
mov al, byte [ebp - 0x48]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53da60
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x53da81
push 0
push 1
push 2
call fcn.0053af30
mov dword [ebp - 0x44], eax
jmp 0x53da90
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53e110
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
call fcn.0051f5a0
movzx eax, al
test eax, eax
je 0x53e13e
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0053b210
mov dword [ebp - 0x44], eax
jmp 0x53e153
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53f220
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jle 0x53f254
mov eax, dword [ebp + 0x10]
jmp 0x53f26c
call fcn.0053e0d0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
sub eax, 0x2733
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53f280
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jle 0x53f2b4
mov eax, dword [ebp + 0x10]
jmp 0x53f2e2
call fcn.0053e0d0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebp + 0x10], 0
je 0x53f2d8
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0x2733
jne 0x53f2d8
mov dword [ebp - 0x44], 0
jmp 0x53f2df
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53f7f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0051f5a0
movzx eax, al
test eax, eax
je 0x53f80f
mov al, 1
jmp 0x53f85f
mov ecx, dword [ebp - 4]
call fcn.00513b40
movzx eax, al
test eax, eax
jne 0x53f822
xor al, al
jmp 0x53f85f
cmp dword [ebp + 8], 0
jle 0x53f831
cmp dword [ebp + 8], 0x100000
jle 0x53f838
mov dword [ebp + 8], 0x2000
push 4
lea eax, [ebp + 8]
push eax
push 0x1002
push 0xffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xe0]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
neg eax
sbb eax, eax
add eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x553020
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x99]
test ecx, ecx
je 0x5530b5
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.005136f0
movzx eax, al
test eax, eax
jne 0x5530b5
mov ecx, dword [ebp - 4]
add ecx, 0x38
call fcn.00507cf0
push eax
call fcn.0054aa40
add esp, 4
movzx eax, al
test eax, eax
je 0x5530b5
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00507cf0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x38
call fcn.00507cf0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x5530b5
mov eax, dword [ebp - 4]
mov byte [eax + 0x99], 0
mov eax, dword [ebp - 4]
add eax, 0x78
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x38
call fcn.005148b0
push 0x612d66
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.005129a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x558f80
Capabilities:
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1294
call fcn.005890d0
mov eax, dword [0x63ee20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov byte [ebp - 0x1004], 0
push 0xfff
push 0
lea eax, [ebp - 0x1003]
push eax
call fcn.00588e40
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.ErrCode_:___lu__Host_:___s_
lea edx, [ebp - 0x1004]
push edx
call fcn.00588ffd
add esp, 0x10
mov dword [ebp - 0x1250], 0x248
lea eax, [ebp - 0x1250]
push eax
lea ecx, [ebp - 0x124c]
push ecx
call sub.IPHLPAPI.DLL_GetNetworkParams
test eax, eax
jne 0x55909b
push 0x612d66
lea eax, [ebp - 0x113c]
push eax
call fcn.00589230
add esp, 8
test eax, eax
je 0x55907e
lea eax, [ebp - 0x113c]
push eax
lea ecx, [ebp - 0x1004]
push ecx
push str._s__DNS_:___s_
lea edx, [ebp - 0x1004]
push edx
call fcn.00588ffd
add esp, 0x10
mov eax, dword [ebp - 0x1140]
mov dword [ebp - 0x1254], eax
cmp dword [ebp - 0x1254], 0
je 0x55907c
mov eax, dword [ebp - 0x1254]
add eax, 4
push eax
lea ecx, [ebp - 0x1004]
push ecx
push str._s_
lea edx, [ebp - 0x1004]
push edx
call fcn.00588ffd
add esp, 0x10
mov eax, dword [ebp - 0x1254]
mov ecx, dword [eax]
mov dword [ebp - 0x1254], ecx
jmp 0x55903e
jmp 0x559099
lea eax, [ebp - 0x1004]
push eax
push str._s__no_DNS
lea ecx, [ebp - 0x1004]
push ecx
call fcn.00588ffd
add esp, 0xc
jmp 0x5590b6
lea eax, [ebp - 0x1004]
push eax
push str._s__no_DNS
lea ecx, [ebp - 0x1004]
push ecx
call fcn.00588ffd
add esp, 0xc
push 0
lea eax, [ebp - 0x1004]
push eax
push str.11500106
call fcn.00507740
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058844d
mov esp, ebp
pop ebp
ret
Function at 0x56a120
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4352
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x63ee20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00575a00
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0052ce60
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0056ccf0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0056a350
push 0x10
call fcn.0044f881
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x70], 0
je 0x56a1a6
mov ecx, dword [ebp - 0x70]
call fcn.0050aa50
mov dword [ebp - 0x78], eax
jmp 0x56a1ad
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x74]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00575c10
push 0xac
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0056c9b0
push 0x48
call fcn.0044f881
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x64], 0
je 0x56a1fe
mov ecx, dword [ebp - 0x64]
call fcn.0056a2d0
mov dword [ebp - 0x78], eax
jmp 0x56a205
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0056cb90
push 0x68
call fcn.0044f881
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x5c], 0
je 0x56a248
mov ecx, dword [ebp - 0x5c]
call fcn.0056a380
mov dword [ebp - 0x78], eax
jmp 0x56a24f
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0x68], edx
push 0x68
call fcn.0044f881
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x54], 0
je 0x56a286
mov ecx, dword [ebp - 0x54]
call fcn.0056a380
mov dword [ebp - 0x78], eax
jmp 0x56a28d
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x70], 0
push 1
mov ecx, dword [ebp - 0x10]
call fcn.0056c300
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x57e410
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57f630
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x57f646
mov eax, 1
jmp 0x57f6aa
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0x1c], ax
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x58844d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x63ee20]
jne 0x588457
repz ret
jmp fcn.00594f9c

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x58a838
call fcn.0058da18
mov dword [eax], esi
call fcn.0058da05
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0058ab4c
add esp, 0x14
push 0x16
pop eax
jmp 0x58a88d
test dword [ebp + 0xc], 0xfffffff9
jne 0x58a814
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x58a865
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058da2b
pop ecx
call fcn.0058da05
mov eax, dword [eax]
jmp 0x58a88d
test al, 0x10
jne 0x58a88b
test al, 1
je 0x58a88b
test byte [ebp + 0xc], 2
je 0x58a88b
call fcn.0058da18
mov dword [eax], 5
call fcn.0058da05
mov dword [eax], 0xd
jmp 0x58a85c
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5a32a7
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.005948da
and dword [ebp - 4], 0
cmp dword [0x64810c], 0
mov ebx, eax
jne 0x5a3358
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5a3409
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x610bf0
push edi
call esi
test eax, eax
je 0x5a3409
push eax
call fcn.00594868
mov dword [esp], 0x610be0
push edi
mov dword [0x64810c], eax
call esi
push eax
call fcn.00594868
mov dword [esp], 0x610bcc
push edi
mov dword [0x648110], eax
call esi
push eax
call fcn.00594868
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x648114], eax
call esi
push eax
call fcn.00594868
pop ecx
mov dword [0x64811c], eax
test eax, eax
je 0x5a3358
push 0x610b98
push edi
call esi
push eax
call fcn.00594868
pop ecx
mov dword [0x648118], eax
mov eax, dword [0x648118]
cmp eax, ebx
je 0x5a33b0
cmp dword [0x64811c], ebx
je 0x5a33b0
push eax
call fcn.005948e3
push dword [0x64811c]
mov esi, eax
call fcn.005948e3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5a33b0
test edi, edi
je 0x5a33b0
call esi
test eax, eax
je 0x5a33a7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5a33a7
test byte [ebp - 0xc], 1
jne 0x5a33b0
or dword [ebp + 0x10], 0x200000
jmp 0x5a33e9
mov eax, dword [0x648110]
cmp eax, ebx
je 0x5a33e9
push eax
call fcn.005948e3
pop ecx
test eax, eax
je 0x5a33e9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5a33e9
mov eax, dword [0x648114]
cmp eax, ebx
je 0x5a33e9
push eax
call fcn.005948e3
pop ecx
test eax, eax
je 0x5a33e9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x64810c]
call fcn.005948e3
pop ecx
test eax, eax
je 0x5a3409
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5a340b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5aa408
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5aa439
call fcn.0058da18
mov dword [eax], esi
call fcn.0058da05
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0058ab4c
add esp, 0x14
push 0x16
pop eax
jmp 0x5aa48e
test dword [ebp + 0xc], 0xfffffff9
jne 0x5aa415
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5aa466
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058da2b
pop ecx
call fcn.0058da05
mov eax, dword [eax]
jmp 0x5aa48e
test al, 0x10
jne 0x5aa48c
test al, 1
je 0x5aa48c
test byte [ebp + 0xc], 2
je 0x5aa48c
call fcn.0058da18
mov dword [eax], 5
call fcn.0058da05
mov dword [eax], 0xd
jmp 0x5aa45d
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5abf06
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x5b54fd
call fcn.0058d7e8
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x5ac018
cmp byte [esi + 0x42], bl
je 0x5ac018
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x5abf42
xor al, al
jmp 0x5ac01a
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0042c040
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040cf10
mov ecx, eax
call fcn.00526d10
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040cf10
mov ecx, eax
call fcn.00526d10
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x5abfb2
dec eax
je 0x5abfb6
dec eax
dec eax
je 0x5ac014
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00411800
mov al, bl
jmp 0x5ac01a
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040cf10
mov ecx, eax
call fcn.00526d10
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x5abff6
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040cf10
mov ecx, eax
call fcn.00526d10
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0058fa70
add esp, 0x10
cmp edi, eax
jne 0x5abfa0
cmp byte [esi + 0x42], 0
je 0x5ac014
test edi, edi
jne 0x5abf50
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00423030
jmp 0x5abf50
mov bl, 1
jmp 0x5abfa2
mov al, 1
call fcn.0058d86b
ret
Function at 0x1064058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.010641a8
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 0x106407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106406a
add dl, dl
jne 0x1064089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10640dc
xor eax, eax
add dl, dl
jne 0x1064096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106417d
add dl, dl
jne 0x10640a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10640b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10640bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10640c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10640d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1064075
mov eax, 1
add dl, dl
jne 0x10640ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10640f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10640e1
sub eax, ebx
mov ebx, 1
jne 0x1064128
mov ecx, 1
add dl, dl
jne 0x106410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1064119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1064105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1064075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x106413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x106414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1064136
cmp eax, 0x7d00
jae 0x106416d
cmp eax, 0x500
jb 0x1064168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1064075
cmp eax, 0x7f
ja 0x1064170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1064075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x106419e
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 0x1064075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 0x10001420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10001453
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x10001330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
test eax, eax
jne 0x1000147c
call fcn.100309c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10030e90
push 0x10001050
push 0x1003b4c0
call fcn.100306d0
call fcn.10030a20
mov eax, 1
pop ebp
ret 0xc

Function at 0x10003a80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10003ae1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10003ac4
cmp edi, 2
jb 0x10003ac4
cmp byte [esi], cl
jne 0x10003ac4
cmp byte [esi + 1], cl
jne 0x10003ac4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10034608]
jmp 0x10003a95
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10034608]
test edi, edi
jne 0x10003a95
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10003b10
cmp cl, 0x23
jne 0x10003af7
cmp byte [esi], cl
jne 0x10003af7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10034608]
test cl, cl
jne 0x10003ae8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10003c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10003c73
mov dword [ebx], 0
mov edx, 0x100341d8
call fcn.10003b20
mov esi, eax
test esi, esi
je 0x10003d92
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10003d88
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10003d88
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10003d88
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10003d88
mov ecx, edi
call fcn.100066d0
mov dword [ebp + 8], eax
test eax, eax
je 0x10003d88
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x10003d71
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x1003b4d8]
add esp, 4
test ecx, ecx
je 0x10003d5e
movsx edx, word [ecx + 0x5f04]
lea eax, [ecx + 0x5f08]
mov esi, dword [ecx + 0x3f10]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x10003d54
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x5f04], ax
cwde
add eax, 0xbe1
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5f00]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x10003d80
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret