joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009d570
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abd45
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100be380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.10047c90
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1009d5fa
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1009d742
cmp dword [ebx + 8], 0xfffffff
jne 0x1009d60e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100a1f98
mov edx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b4600]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100b4600]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1009d6f5
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.100a3c30
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1009d6d7
cmp eax, 0x200
jae 0x1009d6d5
shl eax, 3
cmp eax, ecx
jae 0x1009d6d7
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1003c2b0
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10047c90
mov edx, dword [eax]
jmp 0x1009d6f8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x1009d723
mov dword [ecx + eax*8], esi
jmp 0x1009d735
cmp ebx, edx
jne 0x1009d72c
mov dword [ecx + eax*8], esi
jmp 0x1009d739
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1009d739
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1009fc20
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100be380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1009fd9c
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1009fd89
cmp dword [ebp - 0x28], 0x10
jb 0x1009fd6d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100a2a5e
cmp dword [ebp - 0x1c], eax
jne 0x1009fd6d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100a2a5e
cmp dword [ebp - 0x20], eax
je 0x1009fd6d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1009fcf4
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x100ce904]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100a2a5e
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1009fcf2
jmp 0x1009fd89
jmp 0x1009fd4d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1009fd4d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x100ce904]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100a2a5e
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1009fd37
jmp 0x1009fd89
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1009fc73
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100a2a5e
push edx
mov ecx, ebp
push eax
lea edx, [0x1009fdc8]
call fcn.100a2a0a
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a1f7c
add esp, 0x30
cmp ebp, esp
call fcn.100a2a5e
mov esp, ebp
pop ebp
ret
Function at 0x1009fde0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1009fc20
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1009feab
mov dword [ebp - 4], 0
jmp 0x1009fe3c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1009feab
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100a2a5e
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009fea9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100a2a5e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1009fa40
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100a2a5e
jmp 0x1009fe33
pop esi
add esp, 8
cmp ebp, esp
call fcn.100a2a5e
mov esp, ebp
pop ebp
ret

Function at 0x1009fec0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1009ff6b
mov dword [ebp - 4], 0
jmp 0x1009fef3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1009ff4e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100a2a5e
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009ff4c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100a2a5e
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100a2a5e
jmp 0x1009feea
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x100ce904]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100a2a5e
pop esi
add esp, 8
cmp ebp, esp
call fcn.100a2a5e
mov esp, ebp
pop ebp
ret
Function at 0x1009ff80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x100eea00]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1009ffe3
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100a2a5e
test eax, eax
jne 0x100a000e
mov eax, 0xa
jmp 0x100a0110
cmp dword [ebp + 0xc], 0
je 0x100a005a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100a0058
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100a0096
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100a0081
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100a0096
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100a2a5e
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100a2a5e
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100a2a5e
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x100a0134]
call fcn.100a2a0a
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100a2a5e
mov esp, ebp
pop ebp
ret
Function at 0x100a0800
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x100ee9f8]
mov dword [ebp - 4], eax
jmp 0x100a0827
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100a0840
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100a083e
mov eax, dword [ebp - 4]
jmp 0x100a08c4
jmp 0x100a081f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100a2a5e
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a08c1
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100a0883
mov edx, dword [ebp - 4]
mov eax, dword [0x100ee9f8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100ee9f8], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.100a2a5e
mov esp, ebp
pop ebp
ret

Function at 0x100a0db0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100a0e00
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100a0e00
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100a0e00
xor eax, eax
jmp 0x100a0e41
mov dword [ebp - 4], 1
jmp 0x100a0e12
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100a0e3c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100a0e3a
xor eax, eax
jmp 0x100a0e41
jmp 0x100a0e09
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40aa49
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x416c08]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405c3b
mov dword [ebp - 0x14], eax
cmp dword [0x42da6c], esi
jne 0x40ab3c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40aac9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ac1c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ac1c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ac1c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42da6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42da70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42da74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42da7c], eax
test eax, eax
je 0x40ab39
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42da78], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ab61
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ab54
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ab76
push 4
pop eax
jmp 0x40ac1e
cmp dword [ebp - 0x14], esi
je 0x40ab76
push dword [0x42da6c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ab5b
mov eax, dword [0x42da78]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40abd4
cmp dword [0x42da7c], edi
je 0x40abd4
push eax
call ebx
push dword [0x42da7c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40abd4
test eax, eax
je 0x40abd4
call ecx
test eax, eax
je 0x40abc9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40abc9
test byte [ebp - 8], 1
jne 0x40abd4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ac04
mov eax, dword [0x42da70]
cmp eax, edi
je 0x40ac01
push eax
call ebx
test eax, eax
je 0x40ac01
call eax
mov esi, eax
test esi, esi
je 0x40ac01
mov eax, dword [0x42da74]
cmp eax, edi
je 0x40ac01
push eax
call ebx
test eax, eax
je 0x40ac01
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42da6c]
call ebx
test eax, eax
je 0x40ac1c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ac1e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004038cd
mov esp, ebp
pop ebp
ret
Function at 0x76a82ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x76a851e4
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
Function at 0x402e50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x10204]
test eax, eax
jne 0x402e75
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x42f8e0], eax
mov eax, 1
pop edi
pop esi
pop ecx
ret
mov ecx, dword [0x42f8e0]
lea eax, [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00402ed0
cmp eax, dword [esi + 0xb4]
jb 0x402ebb
mov edx, dword [esp + 8]
mov edi, 1
mov dword [0x42f8e0], edx
mov ecx, dword [esi + 0xb4]
sub eax, ecx
mov ecx, eax
mov eax, dword [esi + 0xb0]
cmp ecx, eax
jae 0x402eb5
sub eax, ecx
mov dword [esi + 0xb4], eax
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x4043f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x423d0a
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi + 0x1026c]
test eax, eax
je 0x40442a
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret
push 0x14
call fcn.00418519
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x40444d
mov ecx, eax
call fcn.0041c7df
jmp 0x40444f
xor eax, eax
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
mov dword [esi + 0x1026c], eax
call fcn.0041c3be
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 1
call fcn.00418deb
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
mov dword [esp + 0xc], vtable.CFileException.0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.0041907e
mov ecx, dword [esi + 0x1026c]
lea edx, [esp + 8]
push edx
mov edx, dword [esi + 0x10268]
mov eax, dword [ecx]
push 0x1041
push edx
mov dword [esp + 0x30], 3
call dword [eax + 0x28]
mov esi, eax
mov dword [esp + 8], vtable.CFileException.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 4
call fcn.00418f36
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret

Function at 0x404730
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x80
lea eax, [esp]
push esi
push pe_nt_image_headers32
push eax
xor esi, esi
call sub.WSOCK32.dll_gethostname
cmp eax, 0xffffffff
je 0x40476a
lea ecx, [esp + 4]
push ecx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x40476a
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov eax, dword [eax]
push eax
call sub.WSOCK32.dll_inet_ntoa
mov esi, eax
mov eax, esi
pop esi
add esp, 0x80
ret

Function at 0x404af0
Capabilities:
Capture webcam image

Disassembly:
push 0xffffffffffffffff
push 0x423dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
push 1
call fcn.0041b981
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x404b3d
mov eax, dword [esi + 0x64]
push eax
call fcn.004061f0
mov ecx, dword [esi + 0x64]
add esp, 4
mov edx, dword [ecx - 8]
test edx, edx
je 0x404b53
cmp eax, 1
jl 0x404b53
cmp eax, 0x3e7
jg 0x404b53
mov dword [esi + 0x68], eax
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x10
ret
lea ecx, [esp + 8]
call fcn.00418deb
push str.Choose_Data_size_between_1_and_999.
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.0041907e
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [esp + 8]
push 0x30
push 0
push edx
call fcn.0041f329
push 0x419
mov ecx, esi
call fcn.0041c004
mov ecx, eax
call fcn.0041c205
push 0x419
mov ecx, esi
call fcn.0041c004
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 0x1c]
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push ecx
call edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00418f36
mov ecx, dword [esp + 0xc]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret
Function at 0x404d50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x423e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov eax, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov edx, edi
lea ecx, [esp + 0x10]
push 0xa
and edx, 0xffff
push ecx
push edx
mov dword [esi + 0x5c], eax
call fcn.00406330
add esp, 0xc
lea ecx, [esp + 0x2c]
push eax
call fcn.00418fa4
push eax
lea ecx, [esi + 0x60]
mov dword [esp + 0x28], 0
call fcn.0041902f
or ebp, 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call fcn.00418f36
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x10]
mov ecx, ebx
push 0xa
and ecx, 0xffff
push eax
push ecx
call fcn.00406330
add esp, 0xc
lea ecx, [esp + 0x2c]
push eax
call fcn.00418fa4
push eax
lea ecx, [esi + 0x64]
mov dword [esp + 0x28], 1
call fcn.0041902f
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call fcn.00418f36
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x10]
push 0xa
push edx
push ebp
call fcn.00406330
add esp, 0xc
lea ecx, [esp + 0x2c]
push eax
call fcn.00418fa4
push eax
lea ecx, [esi + 0x68]
mov dword [esp + 0x28], 2
call fcn.0041902f
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00418f36
mov ecx, dword [esp + 0x1c]
mov word [esi + 0x6c], di
mov word [esi + 0x6e], bx
mov dword [esi + 0x70], ebp
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x10