joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e9fd
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0
push 0
push 3
push 0
push 1
push connect
push 0x101062b8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x1001eae9
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
shr ecx, 2
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shl edx, 2
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001ea92
jmp 0x1001eb18
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
je 0x1001eab4
jmp 0x1001eb16
mov dword [ebp - 0x1c], 0
jmp 0x1001eac6
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0xc]
jae 0x1001eae2
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.1001ec71
jmp 0x1001eabd
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0xffffffff
je 0x1001eaf9
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x1001eb11
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x1001eb1a
jmp 0x1001eae9
jmp 0x1001eae9
mov esp, ebp
pop ebp
ret

Function at 0x1001fc00
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push edi
mov dword [ebp - 0x1a0], ecx
mov eax, dword [ebp - 0x1a0]
mov dword [eax], 0x100e6444
mov ecx, dword [ebp - 0x1a0]
call fcn.1001fd30
call fcn.1001fd20
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx], 1
jne 0x1001fcad
mov word [ebp - 0x198], 0
mov ecx, 0x63
xor eax, eax
lea edi, [ebp - 0x196]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x19c], 0
mov word [ebp - 0x19c], 0x202
lea edx, [ebp - 0x198]
push edx
mov ax, word [ebp - 0x19c]
push eax
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1001fcad
mov word [ebp - 0x19c], 0x101
lea ecx, [ebp - 0x198]
push ecx
mov dx, word [ebp - 0x19c]
push edx
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1a0]
call fcn.1001fd60
mov eax, dword [ebp - 0x1a0]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10020598
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100205fe
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x100205c7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
and eax, 2
test eax, eax
je 0x100205e5
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x2c], 0
jne 0x100205e5
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100205f4
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
jne 0x10020630
xor eax, eax
jmp 0x10020663
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 1
jne 0x1002063d
xor eax, eax
jmp 0x10020663
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call sub.WS2_32.dll_send
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp eax, dword [ebp + 0xc]
sete cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x100207f2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x10020817
mov dword [ebp - 4], 0
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 4], 0
je 0x1002088e
push 0x10
call fcn.100207af
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1002088e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x10020974
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x10021b56
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0x4c11db7
mov dword [ebp - 4], 0
jmp 0x10021b78
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xff
jg 0x10021c0c
push 8
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.10021c10
shl eax, 0x18
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + edx*4 + 4], eax
mov dword [ebp - 0xc], 0
jmp 0x10021bb2
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x10021be8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4 + 4]
shl edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4 + 4]
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], edx
jmp 0x10021ba9
push 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 4]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10021c10
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10021b6f
mov esp, ebp
pop ebp
ret

Function at 0x10023140
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
jmp 0x10023175
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 4
jge 0x10023193
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call sub.WS2_32.dll_ntohl
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x20], eax
jmp 0x1002316c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x100231ac
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x10023208
mov ecx, dword [ebp - 4]
sub ecx, 0x61c88647
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
shl edx, 4
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
xor edx, eax
mov ecx, dword [ebp - 0x10]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor edx, ecx
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
xor ecx, edx
mov eax, dword [ebp - 0xc]
shr eax, 5
add eax, dword [ebp - 0x14]
xor ecx, eax
mov edx, dword [ebp - 0x10]
add edx, ecx
mov dword [ebp - 0x10], edx
jmp 0x100231a3
mov eax, dword [ebp - 0xc]
push eax
call sub.WS2_32.dll_htonl
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
push edx
call sub.WS2_32.dll_htonl
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x10023229
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
jmp 0x1002325e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 4
jge 0x1002327c
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call sub.WS2_32.dll_ntohl
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x20], eax
jmp 0x10023255
mov dword [ebp - 4], 0xe3779b90
mov dword [ebp - 8], 0
jmp 0x10023295
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100232f1
mov ecx, dword [ebp - 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
xor ecx, edx
mov eax, dword [ebp - 0xc]
shr eax, 5
add eax, dword [ebp - 0x14]
xor ecx, eax
mov edx, dword [ebp - 0x10]
sub edx, ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
shl eax, 4
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 4]
xor eax, ecx
mov edx, dword [ebp - 0x10]
shr edx, 5
add edx, dword [ebp - 0x1c]
xor eax, edx
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 0x61c88647
mov dword [ebp - 4], edx
jmp 0x1002328c
mov eax, dword [ebp - 0xc]
push eax
call sub.WS2_32.dll_htonl
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
push edx
call sub.WS2_32.dll_htonl
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x1003f106
Capabilities:
Check mutex on windows

Disassembly:
call fcn.10191f6e
add dword [eax + 0x49], 0x45

Function at 0x100404ad
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
cmp dword [eax + 0x14], 0
jne 0x100405cf
mov ecx, dword [ebp - 0x120]
cmp dword [ecx + 0x18], 0
jne 0x100405cf
push 0x104
push 0
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x10c], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
lea edx, [ebp - 0x108]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x100405cf
mov eax, dword [ebp - 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x110], ecx
cmp dword [ebp - 0x110], 0
je 0x100405cf
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x108]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x114]
push eax
push 0x1012f244
mov ecx, dword [ebp - 0x110]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x10040c87
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
push 0x79147fae
lea esp, [esp + 0x30]
jne 0x10188160
pushfd
pushal
lea esp, [esp + 0x24]
jmp loc.101c8ee8

Function at 0x10041dd2
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x53f33915
lea esp, [esp + 8]
call fcn.1000bd4f
pushfd
pushfd
push esi
pushal
cmp eax, 1
pushfd
push 0xad41514
lea esp, [esp + 0x34]
jne 0x101b9d24
cwde
rol dh, 7
sete al
rcl dl, cl
push 0x200
pushfd
lea edx, [ebp - 0x204]
bts cx, 0xf
bt edx, 2
lea esp, [esp + 4]
jo 0x101abc88
movzx eax, dl
push edx
ror cl, 7
lea eax, [eax*4 - 0x49308155]
mov eax, dword [ebp - 0x414]
bswap cx
rcl dh, 5
jmp loc.101a3595
pushfd
bswap ax
xchg dword [esp], edx
ror al, 3
movzx ax, dl
cdq
mov eax, dword [ebp - 0x414]
ror edx, cl
btr dx, dx
rcr dl, cl
clc
imul eax, eax, 0x21c
movsx edx, bl
movsx dx, al
call fcn.1003f034
pushal
lea esp, [esp + 0x44]
je 0x101a9581
pushfd
mov word [esp], 0xa209
push edx
lea esp, [esp + 8]
jmp fcn.101ae24c
Function at 0x10045ac2
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x10045d60
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e32cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.10046d50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0xc
call fcn.10046d50
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
call fcn.10046d50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x24
call fcn.10046d50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0x30
call fcn.10046eb0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x3c
call fcn.10046fc0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
call fcn.100470d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0x54
call fcn.100471e0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
add ecx, 0x64
call fcn.10021ad0
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x468], 0
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x46c], 0
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x470], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x100460ed
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e335c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
call fcn.10045e6a
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.10021b3a
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.10047220
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.10047110
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.10047000
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10046ef0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.10046d90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10046d90
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.10046d90
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.10046d90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1004bafc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0
je 0x1004bb29
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push fcn.1004cd27
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1004bb35
mov ecx, dword [ebp + 8]
push ecx
call fcn.1004cd27
add esp, 4
mov esp, ebp
pop ebp
ret 8

Function at 0x1004da57
Capabilities:
Packed with generic packer

Disassembly:
scasb al, byte es:[edi]
test eax, 0x166e31e8
add byte [eax + edx*2 + 0xc24648d], bl
pushfd
push eax
lea esp, [esp + 0xc]
pushfd
push eax
lea esp, [esp + 0xc]
je 0x10192920
movzx cx, bl
mov cx, 0xf0b6
push 2
push ebp
call fcn.10041e64
mov al, 0x1a
and eax, 0x898a9fb8
and bl, ch
xchg edx, eax
imul ebx, dword [eax + 0x3b], 0xf7b82dd2
or byte [ecx + 0x49], cl
inc ebp
movsd dword es:[edi], dword [esi]
fstp xword [eax]
mov fs, word [esi - 0x75]
push cs
jl 0x1004da50
std
movsb byte es:[edi], byte [esi]
lea eax, [edx + 0x56]
sub dword [edi + 0x23641dfe], ebp
stosb byte es:[edi], al
popal
push 0x75ff5247
xchg esi, eax
ja 0x1004dad5
stosd dword es:[edi], eax
cmp edi, dword [edx]
cmp eax, 0x4b7efdd0
add esp, ecx
mov dword [0x9bd2c24f], eax
xor al, byte [edi - 0x65f0873d]
cmp eax, 0x4390d00b
sahf
arpl word [edi + 0x56231799], cx
aas
push ebp
mov al, 9
mov cl, 0xba
invalid
jl 0x1004db41
jns 0x1004db17
scasb al, byte es:[edi]
pop edi
invalid
bound eax, qword [edi]
mov ch, 0xa0
jl 0x1004dac0
arpl dx, bx
stosd dword es:[edi], eax
ffree st(7)
invalid
xor edx, edx
sub bh, dl
add al, 0x10
cmp al, 0x5d
call 0x483599d3
or ebp, edx
mov dword [0x6fa198f0], eax
inc ecx
push ebx
cmpsb byte [esi], byte es:[edi]
loope 0x1004dbb7
fistp word [esi + 1]
pop esp
rep movsd dword es:[edi], dword [esi]
jl 0x1004db7a
push ss
aad 0x94
wait
dec edx
sub eax, 0xa9c2dfbc
and bh, cl
pop esp
les edi, [ebp - 0x40]
xchg ebx, eax
leave
adc bh, byte [edi - 0x20]
inc ebx
jb 0x1004dba9
je 0x1004db7d
je 0x1004db7d
add dh, dl
adc bl, byte [edi + 0x159c8ebb]
mov edi, 0xce2b885d
aas
cmpsd dword [esi], dword es:[edi]
dec ecx
push es
neg byte [edi + 0x561668b2]
xchg ebp, eax
cwde
cmp eax, 0x5ba0a89c
adc edx, dword [esi - 0xd]
mov edi, dword [esp + esi*2]
xor eax, 0xbdb3aeb
add eax, 0x493aac55
dec ecx
push ebp
lodsb al, byte [esi]
cmp cl, byte [ecx + 0x49]
or byte [edi - 0x1a], dh
cmc
les eax, [edi - 0x3a]
and dword [ebx + edi*8 - 0x52], edi
sti
scasb al, byte es:[edi]
push 0x6d3f35da
call fcn.1000b75c
ror dword [esp + ebp*8 - 0x2b], 0x51
add ebp, edx
lds ebx, [eax - 0x676209cd]
push edi
pop edx
sub esp, ecx
fist dword [edx - 0x57]
salc
pop esp
stc
invalid
Function at 0x1004f8c3
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
cmp dword [eax + 0xf4c], 0
jne 0x1004f9f4
mov ecx, dword [ebp - 0x120]
cmp dword [ecx + 0xf50], 0
jne 0x1004f9f4
push 0x104
push 0
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x10133d60
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x10c], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
lea edx, [ebp - 0x108]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x1004f9f4
mov eax, dword [ebp - 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x110], ecx
cmp dword [ebp - 0x110], 0
je 0x1004f9f4
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x108]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x114]
push eax
push 0x10133d6c
mov ecx, dword [ebp - 0x110]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xf50], ecx
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0xf4c], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x1005383b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e66e0
push 0x100c1d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 3
push connect
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x100538b7
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10053917
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x100
jae 0x100538d1
jmp 0x10053917
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10053904
jmp 0x10053917
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.1005253b
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10053925
jmp 0x10053926
cmp dword [ebp - 0x28], 0xffffffff
je 0x10053936
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], 0
je 0x1005394e
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4