joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423590
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4236ac
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x423625
cmp cl, 2
je 0x4235cd
cmp cl, 3
jne 0x423695
mov byte [eax + 8], 1
jmp 0x423691
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004287c0
nop
lea eax, [0x4cb018]
mov dword [esp], eax
call fcn.00408570
nop
mov eax, dword [0x4cafe4]
sub eax, dword [0x4cafc8]
mov dword [0x4cafe4], eax
mov eax, dword [0x4cafd4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x4cafd4], ecx
nop
lea eax, [0x4cb018]
mov dword [esp], eax
call fcn.00408770
jmp 0x423691
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00410990
nop
lea eax, [0x4cb018]
mov dword [esp], eax
call fcn.00408570
nop
mov eax, dword [0x4cafbc]
sub eax, dword [0x4cafa0]
mov dword [0x4cafbc], eax
mov eax, dword [0x4cafac]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x4cafac], ecx
nop
nop
lea eax, [0x4cb018]
mov dword [esp], eax
call fcn.00408770
add esp, 0x14
ret
lea eax, [0x467dd5]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00430490
nop
call fcn.00455ea0
jmp fcn.00423590
Function at 0x448990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x448b17
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x448b0d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4489ec
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4489ec
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x4489ff
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x448ae2
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x448ad4
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x448acb
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x448a56
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x448a9f
mov eax, 1
cmp eax, ecx
ja 0x448a8d
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00457370
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x448ac6
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x448a92
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x448a5b
call fcn.00457310
xor eax, eax
mov ecx, eax
call fcn.00457300
call fcn.00457370
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x448b08
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x448ad9
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x448a04
call fcn.00457310
xor eax, eax
mov ecx, eax
call fcn.00457300
nop
call fcn.00455ea0
jmp fcn.00448990
Function at 0x44ca80
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44cb80
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0044d310
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x460580]
mov dword [esp], ecx
call fcn.0040a610
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x4cb0b0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0044c300
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0044b720
add esp, 0x28
ret
call fcn.00455ea0
jmp fcn.0044ca80
Function at 0x4500f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45018f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00457437
lea ecx, [0x4501a0]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00455d90
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00455ea0
jmp fcn.004500f0
Function at 0x401080
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push edi
push eax
push esi
call fcn.004027b4
mov edi, dword [esp + 0x18]
add esp, 4
push eax
push edi
call fcn.00401220
add esp, 0xc
test eax, eax
je 0x4010bc
push esi
push edi
push str.NetConnect_error___IP_s:_s_n
call fcn.004026f8
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ecx
ret
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
push ebx
push ebp
push 0
push edi
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
push str.CONTENT_LENGTH
mov ebx, eax
call fcn.0040267b
mov esi, eax
add esp, 4
test esi, esi
je 0x4010f9
push esi
call fcn.004027b4
push esi
call fcn.00402612
add esp, 8
push 0x400
call fcn.00402560
add esp, 4
cmp ebx, edi
mov ebp, eax
jne 0x4011f6
mov ecx, 0x100
xor eax, eax
mov edi, ebp
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
push 0x400
push ebp
push eax
call dword [sym.imp.WSOCK32.dll_recv]
mov ebx, eax
test ebx, ebx
jle 0x40115f
lea ecx, [ebx + 1]
push ecx
call fcn.00402560
mov ecx, ebx
mov esi, ebp
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x18], eax
rep movsb byte es:[edi], byte [esi]
mov esi, ebx
mov dword [esp + 0x1c], esi
jmp 0x401163
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0
push 0x400
push ebp
push eax
call dword [sym.imp.WSOCK32.dll_recv]
mov ebx, eax
test ebx, ebx
jle 0x4011ee
mov edx, dword [esp + 0x18]
lea ecx, [esi + ebx + 1]
push ecx
push edx
call fcn.004022c0
mov ecx, ebx
lea edx, [esi + eax]
mov esi, ecx
mov dword [esp + 0x20], eax
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebp
and ecx, 3
add esp, 8
rep stosb byte es:[edi], al
mov ecx, ebx
mov edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0x400
add ecx, ebx
push ebp
push edx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.WSOCK32.dll_recv]
mov esi, dword [esp + 0x1c]
mov ebx, eax
test ebx, ebx
jg 0x40117c
mov eax, dword [esp + 0x18]
mov byte [esi + eax], 0
push ebp
call fcn.00402612
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov eax, dword [esp + 0x18]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret
Function at 0x401220
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x22c
mov ecx, dword [esp + 0x230]
xor eax, eax
mov dword [esp + 0xc], eax
push ebx
mov dword [esp + 0x14], eax
push esi
push edi
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x1388
mov dword [esp + 0x28], eax
mov word [esp + 0x1c], 2
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov edx, dword [esp + 0x240]
mov dword [esp + 0x1c], eax
push edx
call dword [sym.imp.WSOCK32.dll_htons]
mov edi, 1
push 0
push edi
push 2
mov word [esp + 0x26], ax
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4012a8
push str.Socket_Error
call fcn.004026f8
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x22c
ret
lea eax, [esp + 0x18]
push 0x10
push eax
push esi
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x4012c2
push str.Connect_Error
jmp 0x401293
lea ecx, [esp + 0xc]
push 4
push ecx
push 4
push 0xffff
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.WSOCK32.dll_setsockopt]
test eax, eax
jge 0x4012e6
push str.SO_REUSEADDR_Error
jmp 0x401293
mov ebx, dword [sym.imp.WSOCK32.dll_ioctlsocket]
lea edx, [esp + 0xc]
push edx
push 0x8004667e
push esi
mov dword [esp + 0x18], edi
call ebx
cmp eax, 0xffffffff
je 0x4013c1
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
push 0
lea edx, [esp + 0x13c]
push ecx
lea eax, [esi + 1]
push edx
push eax
mov dword [esp + 0x14c], esi
mov dword [esp + 0x148], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
call dword [sym.imp.WSOCK32.dll_select]
test eax, eax
jle 0x40129b
lea ecx, [esp + 0x30]
push ecx
push esi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x401367
lea edx, [esp + 0x134]
push edx
push esi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x40129b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x1007
push 0xffff
push esi
mov dword [esp + 0x24], 4
call dword [sym.imp.WSOCK32.dll_getsockopt]
test eax, eax
jne 0x40129b
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40129b
mov edx, dword [esp + 0x244]
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
mov dword [edx], esi
mov dword [esp + 0x18], 0
call ebx
cmp eax, 0xffffffff
jne 0x4013e7
push str.ioctlsocket_failed__n
push 0x40c330
call fcn.004027bf
add esp, 8
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x22c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x22c
ret
Function at 0x407235
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40ead8
cmp edx, dword [eax]
je 0x407257
add eax, 8
inc ecx
cmp eax, 0x40eb68
jl 0x407248
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40ead8]
jne 0x407385
mov eax, dword [0x40edec]
cmp eax, 1
je 0x40735f
test eax, eax
jne 0x407288
cmp dword [0x40c574], 1
je 0x40735f
cmp edx, 0xfc
je 0x407385
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4072bf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408ab0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404860
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x407302
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404860
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a818
push edi
call fcn.004089b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408ab0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408ac0
lea eax, [ebp - 0xa0]
push 0x40a7f8
push eax
call fcn.00408ac0
push dword [esi + 0x40eadc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408ac0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408c24
add esp, 0x2c
pop edi
jmp 0x407385
lea eax, [ebp + 8]
lea esi, [esi + 0x40eadc]
push 0
push eax
push dword [esi]
call fcn.00404860
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100023c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], 0x103
call fcn.1000ec60
inc dword [esi + 8]
add esp, 4
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
push 0
push esi
push fcn.10002450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp - 4], 0x103
mov edi, eax
jne 0x10002432
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1000d500
or byte [esi + 0x30], al
call fcn.1000d4d0
or byte [esi + 0x30], al
jne 0x10002431
push 0x14
call ebx
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x10002407
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x30], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10004110
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x1002bea0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x164]
push edi
mov edi, dword [ebp + 8]
push 0x4009
push 0x160
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp byte [ebp + 0xc], 0
mov dword [0x1002d804], eax
mov eax, dword [ebp - 0x160]
mov dword [esi], eax
je 0x10004178
push 0x400b
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 4], eax
xor ecx, ebp
pop esi
call fcn.1001025d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10004570
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1002bea0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1002249c
push eax
push str._s._s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10001fc0
push 0x1002cab8
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1001557c
lea ecx, [ebp - 0x108]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100045c4
sub ecx, edx
cmp byte [ebp + ecx - 0x109], 0x5c
je 0x100045f0
push 0x10022480
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10015828
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10015828
lea ecx, [ebp - 0x108]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004614
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
sub ecx, edx
push 0x2e
lea ebx, [ebp - 0x108]
push eax
add ebx, ecx
call fcn.10012100
mov edi, eax
add esp, 8
test edi, edi
je 0x1000465f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004648
sub ecx, edx
mov eax, edi
sub eax, ecx
lea ecx, [ebp - 0x20c]
sub eax, ecx
add ebx, eax
or esi, 0xffffffff
inc esi
push esi
push 0x10022498
push 4
push ebx
call fcn.10001fc0
add esp, 0x10
test edi, edi
je 0x1000468d
push edi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10015828
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10004662
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001025d
mov esp, ebp
pop ebp
ret
Function at 0x100046c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1002bea0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 0x1002249c
push eax
push str._s._s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10001fc0
push 0x1002cab8
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1001557c
lea ecx, [ebp - 0x108]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004720
sub ecx, edx
cmp byte [ebp + ecx - 0x109], 0x5c
je 0x1000474c
push 0x10022480
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10015828
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.10015828
add esp, 0xc
cmp dword [ebp + 0xc], 0xffffffff
je 0x1000480d
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call fcn.10012100
mov esi, eax
add esp, 8
test esi, esi
je 0x1000480d
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004795
sub ecx, edx
lea edx, [ebp - 0x20c]
lea eax, [edx + 1]
mov dword [ebp - 0x210], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100047b0
sub edx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push dword [ebp + 0xc]
sub ecx, edx
sub ecx, eax
lea eax, [ebp - 0x108]
push 0x10022498
add ecx, esi
add eax, ecx
push 4
push eax
call fcn.10001fc0
lea ecx, [ebp - 0x108]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100047f0
sub ecx, edx
lea eax, [ebp - 0x108]
push esi
add eax, ecx
push 5
push eax
call fcn.10015828
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10004842
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001025d
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x210], 0
push 0
test ebx, ebx
jne 0x10004861
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x210], eax
jmp 0x10004873
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x14]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
xor ecx, ebp
pop esi
pop ebx
call fcn.1001025d
mov esp, ebp
pop ebp
ret
Function at 0x10004890
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop word [eax + eax]
xor eax, eax
test cl, 1
je 0x100048ab
bts eax, 7
shr ecx, 1
test cl, 1
je 0x100048b6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x100048c1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x100048cc
bts eax, 4
shr ecx, 1
test cl, 1
je 0x100048d7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x100048e2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x100048ed
bts eax, 1
test cl, 2
je 0x100048f6
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x1002d0f8], ebx
lea ecx, [edx + 1]
test bl, 1
je 0x10004996
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10004987
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x1002d0f8], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x100048a0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005500
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jl 0x10005510
xor eax, eax
pop ebp
ret 4
mov eax, dword [0x1002e790]
lea ecx, [edx + edx*2]
add ecx, ecx
mov byte [eax + ecx*8 + 0x2c], 1
mov eax, dword [0x1002e790]
mov eax, dword [eax + ecx*8 + 0x24]
inc dword [eax + 8]
lea eax, [ebp + 8]
push eax
push 0
push edx
push 0x10005560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 4
Function at 0x100062f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x100063ba
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp + 8]
mov dword [ebx + 8], eax
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 4]
mov eax, dword [edi + 8]
sub eax, dword [edi]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebx + 8]
mov dword [ebx + 4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
push 0xcc0020
push ecx
push edx
push esi
sub eax, ecx
push eax
mov eax, dword [edi + 8]
sub eax, edx
push eax
push 0
push 0
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
push 0
push dword [0x1002d79c]
push 0
push 0
push eax
mov eax, dword [edi + 8]
sub eax, edx
push eax
push ecx
push edx
push 0x90000000
push 0x100224ef
push str.CFreezeWnd
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebx], eax
pop edi
pop esi
test eax, eax
je 0x100063ba
push ebx
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov al, 1
pop ebx
pop ebp
ret 4
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x100063d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
mov byte [0x1002d500], 1
push eax
push 0
push dword [ebp + 8]
mov byte [0x1002d7af], 1
push 0x10006050
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x10006426
cmp byte [0x1002d500], 0
je 0x1000641f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
cmp byte [0x1002d500], 0
jne 0x10006411
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100085f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
movzx eax, byte [ebp + 8]
push 0
push eax
push 0x1000aa10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret