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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, eax
jne 0x101547b9
mov dword [ebp - 0x18], 1
jmp 0x101547c0
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x101547cb
jmp 0x10154923
push 0x101a2398
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x101547ec
jmp 0x10154923
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jae 0x10154804
jmp 0x10154923
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10154820
jmp 0x10154923
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10154842
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x10154923
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 8]
jne 0x101548b2
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
lea edx, [ecx*4 + 0xc]
cmp eax, edx
jae 0x10154873
jmp 0x10154923
mov eax, dword [ebp - 4]
add eax, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
jmp 0x1015488e
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx]
jae 0x101548b0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.10154b60
add esp, 8
jmp 0x10154885
jmp 0x10154919
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jae 0x101548d2
jmp 0x10154923
mov edx, dword [ebp - 4]
add edx, 0xc
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], 0
jmp 0x101548ed
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx]
jae 0x10154919
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + eax*8 + 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax*8]
push edx
call fcn.10154b60
add esp, 8
jmp 0x101548e4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esp, ebp
pop ebp
ret
Function at 0x10154930
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov al, byte [ebp + 0xc]
mov byte [edx], al
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x10154970
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
movss xmm0, dword [ebp + 0xc]
movss dword [edx], xmm0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x101549b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
movsd xmm0, qword [ebp + 0xc]
movsd qword [edx], xmm0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x101549f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x101b9820]
xor eax, ebp
mov dword [ebp - 4], eax
cvtss2sd xmm0, dword [ebp + 0x10]
sub esp, 8
movsd qword [esp], xmm0
push 0x101a239c
lea eax, [ebp - 0x104]
push eax
call fcn.10064ffa
add esp, 0x10
push str.._Test.ini
push 0xff
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x204]
push edx
call fcn.100668bc
add esp, 4
fstp dword [ebp - 0x208]
fld dword [ebp - 0x208]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063bb0
mov esp, ebp
pop ebp
ret

Function at 0x10154a80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1006c220
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10154ad0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x101b9820]
xor eax, ebp
mov dword [ebp - 4], eax
cvtss2sd xmm0, dword [ebp + 0x10]
sub esp, 8
movsd qword [esp], xmm0
push 0x101a23ac
lea eax, [ebp - 0x104]
push eax
call fcn.10064ffa
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
push 0xff
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x204]
push eax
call fcn.100668bc
add esp, 4
fstp dword [ebp - 0x208]
fld dword [ebp - 0x208]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063bb0
mov esp, ebp
pop ebp
ret

Function at 0x10154b60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x10154c10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x40
push 5
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx edx, byte [ebp + 8]
cmp edx, 0xff
je 0x10154c3c
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp + 8]
mov byte [eax], cl
lea edx, [ebp + 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
add eax, 5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 1], edx
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 5
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10156ab0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0
mov eax, 0x861110
call eax
mov edx, 0x861260
mov ecx, eax
call edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
jmp 0x10156aec
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xcc
jge 0x10156c18
mov ecx, dword [ebp - 8]
push ecx
mov edx, 0x83c3c0
mov ecx, dword [ebp - 0xc]
call edx
mov dword [ebp - 0x1c], eax
mov eax, 0x83cbe0
mov ecx, dword [ebp - 0xc]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x20]
jne 0x10156b24
jmp 0x10156c18
mov edx, dword [ebp - 0x1c]
push edx
mov eax, 0x835720
mov ecx, dword [ebp - 0xc]
call eax
mov dword [ebp - 0x28], eax
push 0x40
mov ecx, dword [ebp - 8]
push ecx
mov edx, 0x83c4b0
mov ecx, dword [ebp - 0xc]
call edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov edx, 0x7da660
mov ecx, dword [ebp - 0x28]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10156c13
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
mov edx, dword [ebp + 8]
movsx eax, word [edx]
cmp ecx, eax
jne 0x10156c13
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 2]
cmp ecx, dword [eax + 2]
je 0x10156b90
jmp 0x10156ae3
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x17]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x17]
cmp eax, edx
je 0x10156ba7
jmp 0x10156ae3
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x18]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x18]
cmp ecx, eax
je 0x10156bbe
jmp 0x10156ae3
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x10156be7
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x16]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x16]
cmp eax, edx
jl 0x10156be5
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x16]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x10156c0a
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x16]
cmp eax, 0xffffffff
je 0x10156c0a
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x16]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x16]
cmp edx, ecx
je 0x10156c0a
jmp 0x10156ae3
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
jmp 0x10156ae3
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10156c25
mov eax, dword [ebp - 0x14]
jmp 0x10156c28
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8
Function at 0x1015d4f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x40]
cmp eax, 0x3e8
jae 0x1015d511
jmp 0x1015d5db
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
cmp dword [eax + 0x14], 0
je 0x1015d547
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x14]
cmp dword [eax + 0x40], 0
jle 0x1015d547
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x40]
sub ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov edx, dword [eax + 0x14]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
add ecx, 4
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.10009e10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10009e40
jmp 0x1015d575
lea ecx, [ebp - 0xc]
call fcn.1001e5e0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
call fcn.10002600
movzx edx, al
test edx, edx
je 0x1015d5cf
lea ecx, [ebp - 0xc]
call fcn.1000a3d0
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
cmp dword [edx + 0x14], 0
je 0x1015d5b5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x1015d5b5
jmp 0x1015d56d
mov edx, dword [ebp - 8]
cmp dword [edx + 0x40], 0
jle 0x1015d5cd
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
sub ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x40], ecx
jmp 0x1015d56d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
mov esp, ebp
pop ebp
ret
Function at 0x1015f790
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179820
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101b9820]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
push eax
push 0xf8
mov ecx, 0x101e6abc
call fcn.10103020
mov ecx, dword [0x101baba8]
mov dword [ebp - 0x14], ecx
cvtsi2sd xmm0, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a6800]
movsd qword [ebp - 0x38], xmm0
cvtsd2ss xmm0, qword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
movss dword [eax + 0xc], xmm0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x101a6314]
movss dword [ecx + 0x10], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x101a6410]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x101a6568]
movss dword [eax + 0x18], xmm0
mov ecx, dword [0x101baba8]
sub ecx, 0x1c
mov dword [ebp - 0x18], ecx
cvtsi2sd xmm0, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a6800]
movsd qword [ebp - 0x40], xmm0
cvtsd2ss xmm0, qword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x30], xmm0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x101a6500]
movss dword [ecx + 0x34], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x101a6220]
movss dword [edx + 0x38], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x101a623c]
movss dword [eax + 0x3c], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
cmp dword [0x81f6b6c], 8
jle 0x1015f8bf
mov edx, dword [0x81f6b6c]
sub edx, 8
imul edx, edx, 0x17
cvtsi2ss xmm0, edx
mov eax, dword [ebp - 0x10]
addss xmm0, dword [eax + 0x34]
mov ecx, dword [ebp - 0x10]
movss dword [ecx + 0x34], xmm0
push 0x4c
call fcn.10064238
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x1015f906
push 0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x1c]
call fcn.10099d10
mov dword [ebp - 0x20], eax
jmp 0x1015f90d
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x40], ecx
push 0x4c
call fcn.10064238
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], 0
je 0x1015f96a
push 0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x24]
call fcn.10099d10
mov dword [ebp - 0x28], eax
jmp 0x1015f971
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10160430
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x101b9820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x50], 0
je 0x1016045f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x60]
sub eax, dword [ecx + 0x50]
cmp eax, 0x1388
jae 0x10160464
jmp 0x10160523
push 0x55
push 0x50
push 0xf2
lea ecx, [ebp - 0x5c]
call fcn.1000fbb0
push 0xa
mov edx, dword [ebp - 0x60]
add edx, 4
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.101546b0
add esp, 0xc
push 0xa
mov ecx, dword [ebp - 0x60]
add ecx, 0xf
push ecx
lea edx, [ebp - 0x4e]
push edx
call fcn.101546b0
add esp, 0xc
mov eax, dword [0x101c1a94]
mov ecx, dword [eax]
mov dword [ebp - 0x3a], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x36], edx
mov ax, word [eax + 8]
mov word [ebp - 0x32], ax
push 0x23
push 0x101c1a20
lea ecx, [ebp - 0x2c]
push ecx
call fcn.101546b0
add esp, 0xc
mov ecx, 0x101e4d6a
call fcn.100c3750
mov byte [ebp - 8], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
movzx edx, byte [ebp - 0x5b]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.1014ca40
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x24], eax
movss xmm0, dword [0x101a5810]
movss dword [0x101c3968], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063bb0
mov esp, ebp
pop ebp
ret

Function at 0x10160540
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x24]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x80]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x58]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jae 0x10160572
jmp 0x1016061d
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x3c]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x2c
push ecx
call fcn.10160e20
add esp, 8
test eax, eax
je 0x101605c1
mov dword [0x8793704], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
movss xmm0, dword [0x101a5810]
movss dword [0x101c3968], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
jmp 0x1016061d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x80]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x80], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x80], 0xa
jne 0x101605eb
mov eax, dword [ebp - 4]
mov byte [eax + 0x55], 1
jmp 0x1016061d
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
movss xmm0, dword [0x101a5810]
movss dword [0x101c3968], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov esp, ebp
pop ebp
ret
Function at 0x10161730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x55]
test ecx, ecx
jne 0x10161744
jmp 0x101617a5
push 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x98]
call fcn.1009a600
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x98]
call fcn.1009a6a0
movzx ecx, al
test ecx, ecx
je 0x1016177d
push 0x19
mov ecx, 0x101e6abc
call fcn.101030f0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0xd
mov edx, 0x791050
call edx
add esp, 4
test eax, eax
jne 0x1016179d
push 0x1b
mov eax, 0x791050
call eax
add esp, 4
test eax, eax
je 0x101617a5
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10163650
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0xe61f84]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_send]
pop ebp
ret
Function at 0x10171530
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 4
jb 0x10171603
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
xor eax, dword [ebp - 4]
and eax, 0xff
xor edx, dword [eax*4 + 0x101a5410]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx edx, byte [eax + edx]
xor edx, dword [ebp - 4]
and edx, 0xff
xor ecx, dword [edx*4 + 0x101a5410]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x101a5410]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, 1
imul eax, eax, 3
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
xor eax, dword [ebp - 4]
and eax, 0xff
xor edx, dword [eax*4 + 0x101a5410]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
sub edx, 4
mov dword [ebp + 0x10], edx
jmp 0x10171545
cmp dword [ebp + 0x10], 0
je 0x10171645
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, 1
imul ecx, ecx, 0
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x101a5410]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
jmp 0x10171603
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x418010
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov edx, dword [0x63203c]
mov dword [0x635acc], eax
mov eax, dword [0x632038]
mov dword [esp + 0xc], 0
lea ecx, [eax + eax]
or ecx, edx
mov dword [esp + 8], ecx
fild qword [esp + 8]
fadd qword [0x632050]
fstp qword [0x632050]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, dword [0x635acc]
mov esi, eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov edx, dword [0x635acc]
add edx, eax
lea eax, [esp + 4]
push eax
push esi
mov dword [0x635acc], edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, 0x190
pop esi
add esp, 0xc
ret

Function at 0x42f4b0
Capabilities:
Encode data using xor

Disassembly:
mov bh, 0xf3
xor al, 0xd8
out dx, eax
lds eax, [ebp + ebx*4 - 0xa]
pop dword [ebp + 0x236d4779]
push esi
imul esp, dword [0xb556d02c], 0x24
xor al, 0x28
xchg esi, eax
loop 0x42f4b9
and bl, byte [ebp - 0xe71eb58]
movsd dword es:[edi], dword [esi]
mov bl, 0x88
cmc
sub eax, dword [eax - 0x2b]
ljmp 0x553b

Function at 0x62a929
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x632380
cmp edx, dword [eax]
je 0x62a94b
add eax, 8
inc ecx
cmp eax, 0x632410
jl 0x62a93c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x632380]
jne 0x62aa79
mov eax, dword [0x636d10]
cmp eax, 1
je 0x62aa53
test eax, eax
jne 0x62a97c
cmp dword [0x6322a8], 1
je 0x62aa53
cmp edx, 0xfc
je 0x62aa79
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62a9b3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062b310
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062b7a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62a9f6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062b7a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62f86c
push edi
call fcn.0062d670
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062b310
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062b320
lea eax, [ebp - 0xa0]
push 0x62f84c
push eax
call fcn.0062b320
push dword [esi + 0x632384]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062b320
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062d5e4
add esp, 0x2c
pop edi
jmp 0x62aa79
lea eax, [ebp + 8]
lea esi, [esi + 0x632384]
push 0
push eax
push dword [esi]
call fcn.0062b7a0
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