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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x42700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x10]
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x14]
push edi
mov edi, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
push edi
lea eax, [ebp - 0x70]
push eax
call fcn.00409810
mov ecx, dword [0x490a0c]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x490a0c]
jne 0x408886
push 0x4c
call fcn.0041dbf1
add esp, 4
mov esi, eax
push edi
call fcn.00409310
mov dword [eax], esi
push edi
call fcn.004092a0
push dword [eax]
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x54]
push 0
push dword [eax]
mov eax, dword [ebp - 0x5c]
push 7
push 0
push 0
push 1
push dword [eax]
mov eax, dword [ebp - 0x64]
push 0
push dword [eax]
push dword [0x490984]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateFontA]
push edi
call fcn.004092a0
lea edx, [ebp - 0x50]
push edx
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push edi
call fcn.004092a0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4088e9
push edi
call fcn.004092a0
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call fcn.004092a0
push edi
mov eax, dword [eax]
mov dword [eax], 0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x68], xmm0
call fcn.004092a0
movups xmm0, xmmword [ebp - 0x78]
push edi
mov eax, dword [eax]
movups xmmword [eax + 4], xmm0
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [eax + 0x14], xmm0
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [eax + 0x24], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [eax + 0x34], xmm0
call fcn.004092a0
push edi
mov eax, dword [eax]
mov byte [eax + 0x3c], 0
call fcn.004092a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, dword [eax]
pop esi
call fcn.0041dbde
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4092a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
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
push eax
push edx
lea eax, [ebp - 0xc]
push eax
call fcn.00409810
mov eax, dword [ebp - 8]
test eax, eax
je 0x4092f6
add eax, 0xc
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3

Function at 0x409310
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f245
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x42700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x18]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.00409810
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x409480
cmp dword [0x490a10], 0xfffffff
jne 0x40939a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x20], 0x490a0c
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x1c], 0
call fcn.0041dbf1
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
mov ecx, dword [edi]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [0x490a10]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x422d90]
mov eax, dword [0x490a24]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x422d90]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x490a08]
jbe 0x409439
call fcn.004098a0
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00409810
mov ecx, dword [0x490a10]
mov edx, dword [eax]
jmp 0x40943c
mov edx, dword [ebp - 0x18]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x490a10], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x490a20]
mov ecx, dword [0x490a14]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x490a0c]
jne 0x40946d
mov dword [ecx + eax*8], esi
jmp 0x40947c
cmp ebx, edx
jne 0x409476
mov dword [ecx + eax*8], esi
jmp 0x409480
cmp dword [ecx + eax*8 + 4], edi
jne 0x409480
mov dword [ecx + eax*8 + 4], esi
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x409610
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f285
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.004095a0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x409693
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x4097f7
cmp dword [0x490a30], 0xfffffff
jne 0x4096aa
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x28], 0x490a2c
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.0041dbf1
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
mov ecx, dword [ebx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [0x490a30]
mov ebx, dword [0x490a44]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x422d90]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x422d90]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x490a28]
comiss xmm1, xmm0
jbe 0x4097a4
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0041ec40
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x409783
cmp ebx, 0x200
jae 0x409781
shl ebx, 3
cmp ebx, ecx
jae 0x409783
mov ebx, ecx
push ebx
call fcn.00409930
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004095a0
mov ecx, dword [0x490a30]
mov edx, dword [eax]
jmp 0x4097aa
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x490a30], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x490a40]
mov ecx, dword [0x490a34]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x490a2c]
jne 0x4097db
mov dword [ecx + eax*8], esi
jmp 0x4097ea
cmp edi, edx
jne 0x4097e4
mov dword [ecx + eax*8], esi
jmp 0x4097ee
cmp dword [ecx + eax*8 + 4], ebx
jne 0x4097ee
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 0x409930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x40995c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x490a2c]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x490a34
lea eax, [edi + edi]
push eax
call fcn.004094a0
mov eax, dword [0x490a2c]
lea ebx, [edi - 1]
mov dword [0x490a40], ebx
mov dword [0x490a44], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x409a96
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x490a34]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x4099f4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x409a61
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x409a2e
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x409a26
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x409a61
cmp ebx, edx
je 0x409a3e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x409a72
cmp ebx, edx
jne 0x409a32
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x409a96
mov ebx, dword [0x490a40]
jmp 0x4099a2
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x409a61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x409aa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x409acc
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x490a0c]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x490a14
lea eax, [edi + edi]
push eax
call fcn.004094a0
mov eax, dword [0x490a0c]
lea ebx, [edi - 1]
mov dword [0x490a20], ebx
mov dword [0x490a24], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x409c06
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x490a14]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x409b64
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x409bd1
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x409b9e
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x409b96
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x409bd1
cmp ebx, edx
je 0x409bae
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x409be2
cmp ebx, edx
jne 0x409ba2
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x409c06
mov ebx, dword [0x490a20]
jmp 0x409b12
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x409bd1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e0d0
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f55d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x42700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xcc], edi
push 0x90
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xcc], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc8], 0x94
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.Windows
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.004035e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc4]
cmp ecx, 0xb
je 0x40e21b
mov eax, dword [ebp - 0xc0]
cmp eax, 0xb
je 0x40e21b
cmp ecx, 0xa
je 0x40e1e3
cmp eax, 0xa
je 0x40e1e3
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 7
push str.Unknown
cmp eax, 7
jb 0x40e1d9
cmp edx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ecx + 7]
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 7], 0
jmp 0x40e261
push dword [ebp - 0xcc]
push 7
jmp 0x40e259
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 2
jb 0x40e212
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x1c], eax
mov edx, 0x3031
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
jmp 0x40e261
push 2
push 0x4216d0
jmp 0x40e251
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 2
jb 0x40e24a
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x1c], eax
mov edx, 0x3131
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
jmp 0x40e261
push 2
push 0x4216cc
push dword [ebp - 0xcc]
push 2
lea ecx, [ebp - 0x2c]
call fcn.004036d0
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x2c]
mov ecx, edx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e285
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.004035e0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x40e2cd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e2c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e2c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041de77
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041dbde
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x413a10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fcac
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x42700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x413ac4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.00411f30
mov byte [ebp - 4], 6
xor esi, esi
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x413b0f
mov eax, ecx
neg eax
cmp esi, eax
jae 0x413b0f
add ecx, esi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x413b19
add ecx, esi
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp - 0xd]
push ecx
push edx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.00415fc0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x413b47
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
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 0x30
Function at 0x41e84e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41e88d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e88d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e88d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41e88d
cmp dword [ecx + 0x74], 0xe
jbe 0x41e88d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x417786
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x417795
pop dword [ebp - 0x34]
mov eax, 0x325f791c
add eax, 0xcde1fe79
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x52317f2b
add dword [ebp - 0x44], 0xfc20c620
mov dword [ebp - 0x40], 0xa7e6ba46
add dword [ebp - 0x40], 0x8a4c91ff
mov dword [ebp - 0x3c], 0xcd81fe45
add dword [ebp - 0x3c], 0x7eca45e9
mov dword [ebp - 0x38], 0x9740d85e
add dword [ebp - 0x38], 0x68bf27a2
lea eax, [ebp - 0x44]
push eax
mov eax, 0x3f67a227
add eax, 0xc0da8e4d
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xbd475c11
sub dword [ebp - 0x44], 0x48d4f2bb
mov dword [ebp - 0x40], 0xb51693c5
add dword [ebp - 0x40], 0x8c55cdb0
mov dword [ebp - 0x3c], 0xd9c35f7f
add dword [ebp - 0x3c], 0x89ac0ced
mov dword [ebp - 0x38], 0x8c2ef659
sub dword [ebp - 0x38], 0x8c2ef659
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x42a0e
push 0
call eax
mov ecx, 0x5a28
xor ebx, ebx
add ebx, eax
mov edi, 0x93ab0264
sub edi, 0x9367be64
add edi, dword [ebp - 0x34]
mov edx, 0x8fa9c539
add edx, 0xad6193a7
mov esi, dword [edi]
sub dword [ebp - 0x24], edx
xor esi, edx
add dword [ebp - 4], 0xa232492e
mov dword [ebx], esi
sub dword [ebp - 4], eax
add ebx, 0xfeaa80a2
add ebx, 0x1557f62
add edi, 0x23e37610
sub edi, 0x23e3760c
loop 0x4178ae
add eax, 0x8db5b203
sub eax, 0x8db45690
xor ebx, ebx
add ebx, eax
add eax, 0x47f4292a
add eax, 0xb80bd6db
mov ecx, 0x802e0808
add ecx, 0x8011f7f8
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x1000c004
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1000dec0
call fcn.1000c190
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1000f98c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1000bda7
cmp eax, esi
jne 0x1000bd9a
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1000bdaa
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000bd81
xor esi, esi
inc esi
mov eax, dword [0x1000f988]
cmp eax, esi
jne 0x1000bdbd
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x1000bdec
mov eax, dword [0x1000f988]
test eax, eax
jne 0x1000bde6
mov dword [0x1000f988], esi
push 0x100012ac
push 0x100012a0
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x1000bdec
jmp 0x1000bf14
mov dword [0x1000f644], esi
mov eax, dword [0x1000f988]
cmp eax, esi
jne 0x1000be10
push 0x1000129c
push 0x1000128c
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x1000f988], 2
test ebx, ebx
jne 0x1000be1c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1000f998], 0
je 0x1000be40
push 0x1000f998
call fcn.1000c500
pop ecx
test eax, eax
je 0x1000be40
push 0
push 2
push 0
call dword [0x1000f998]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1000be9c
test al, al
je 0x1000be5a
cmp dword [ebp - 0x1c], 0
jne 0x1000be9c
mov al, byte [esi]
test al, al
je 0x1000be6a
cmp al, 0x20
ja 0x1000be6a
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1000be5a
test byte [ebp - 0x3c], 1
je 0x1000be76
movzx eax, word [ebp - 0x38]
jmp 0x1000be79
push 0xa
pop eax
push eax
push esi
push 0
push 0x10000000
call main
mov dword [0x1000f640], eax
cmp dword [0x1000f634], 0
jne 0x1000bef0
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x1000beab
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x1000bebe
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1000be47
cmp dword [0x1000f644], 0
jne 0x1000beff
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1000f640]
jmp 0x1000bf20
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.1000c1d5
ret
call fcn.1017d000
jmp 0x1000bd47

Function at 0x1000c020
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000f15c]
jne 0x1000c02a
repz ret
jmp fcn.1000c685