joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ef7b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100ef8ae
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100ef8a7
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
cmp dword [esp + 0x14], 0x10
jb 0x100ef88b
call ebx
cmp dword [esp + 0x20], eax
jne 0x100ef88b
call ebp
cmp dword [esp + 0x1c], eax
je 0x100ef88b
mov edx, dword [esi]
test edx, edx
jne 0x100ef850
push 0x200
push edx
push dword [0x10213d98]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100ef8a7
jmp 0x100ef87b
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100ef87b
shl eax, 3
push eax
push edx
push 0
push dword [0x10213d98]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100ef8a7
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100ef810
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100ef8f8
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100ef8f8
mov ebp, dword [esp + 0x34]
nop
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100ef8f2
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esp + 0x10]
mov ecx, ebx
push ebp
call fcn.100ef660
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100ef8c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x100ef900
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x100ef950
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x100ef93f
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100ef937
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x100ef918
pop edi
pop ebp
push dword [ebx]
push 0
push dword [0x10213d98]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x100ef960
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x1024c9d0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [esp + 0xc]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100ef9a2
pop edi
pop esi
mov eax, 0xa
pop ebx
pop ecx
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100ef9bd
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10114170
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.10114100
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x101141df
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
jne 0x101141f3
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
push 0x10
call fcn.10176cb7
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc ecx
mov eax, ebx
movss xmm3, dword [edi]
shr eax, 0x1f
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10209820]
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10209820]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x101142c2
divss xmm2, xmm3
sub esp, 8
movss dword [esp + 0x3c], xmm2
fld dword [esp + 0x3c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [esp + 0x34]
movss xmm0, dword [esp + 0x34]
call fcn.101780b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x101142a2
cmp ebx, 0x200
jae 0x101142a0
shl ebx, 3
cmp ebx, ecx
jae 0x101142a2
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.101145c0
push dword [esp + 0x30]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10114100
mov edx, dword [eax]
jmp 0x101142c6
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [esp + 0x30]
mov ecx, dword [edi + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi + 4]
mov esi, dword [esp + 0x3c]
jne 0x101142f1
mov dword [ecx + eax*8], esi
jmp 0x10114311
cmp dword [ecx + eax*8], edx
jne 0x1011430b
mov dword [ecx + eax*8], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10114315
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x101143a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
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, [esp + 0x38]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.10114330
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10114407
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x1024c990], 0x5d1745d
jne 0x1011441e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
push 0x2c
call fcn.10176cb7
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
push 0x10
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10176cb7
add esp, 4
lea ecx, [esi + 0x18]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x10], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [esi + 0x24], 7
mov dword [esi + 0x28], 8
mov dword [esi + 0xc], 0x3f800000
push dword [esi + 0x10]
push 0x10
call fcn.1002b0a0
mov ecx, dword [0x1024c990]
mov edi, dword [0x1024c9a4]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10209820]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10209820]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1024c988]
comiss xmm1, xmm0
jbe 0x1011454a
divss xmm2, xmm0
sub esp, 8
movss dword [esp + 0x40], xmm2
fld dword [esp + 0x40]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
call fcn.101780b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x1011452b
cmp edi, 0x200
jae 0x10114529
shl edi, 3
cmp edi, ecx
jae 0x1011452b
mov edi, ecx
push edi
call fcn.10114730
push ebx
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10114330
mov ecx, dword [0x1024c990]
mov edx, dword [eax]
jmp 0x1011454e
mov edx, dword [esp + 0x38]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x1024c990], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x1024c9a0]
mov ecx, dword [0x1024c994]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x1024c98c]
jne 0x1011457f
mov dword [ecx + eax*8], esi
jmp 0x1011459e
cmp ebx, edx
jne 0x10114598
mov dword [ecx + eax*8], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ecx + eax*8 + 4], edi
jne 0x101145a2
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x101145c0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x101145f1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.1002b0a0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x101146fc
nop dword [eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebp]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x1c], eax
cmp ebx, esi
jne 0x10114682
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x101146eb
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x101146b5
mov eax, dword [eax]
cmp eax, ecx
je 0x101146ac
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ecx
jmp 0x101146eb
cmp ebx, eax
je 0x101146cc
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x10114706
cmp ebx, eax
jne 0x101146c0
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [esp + 0x14]
mov ecx, edx
lea ebp, [ebx + 0xc]
cmp edx, esi
jne 0x10114630
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x101146eb
Function at 0x10114730
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x1fffffff
bsr ecx, eax
push ebx
push ebp
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jbe 0x10114758
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 [0x1024c98c]
or eax, 1
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1024c994
lea eax, [edi + edi]
push eax
call fcn.1002b0a0
mov ecx, dword [0x1024c98c]
lea ebx, [edi - 1]
mov dword [0x1024c9a0], ebx
mov dword [0x1024c9a4], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10114880
nop dword [eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x1024c994]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x14], eax
cmp ebx, esi
jne 0x101147f1
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x10114853
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10114824
mov eax, dword [eax]
cmp eax, ecx
je 0x1011481b
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x10114853
cmp ebx, eax
je 0x10114834
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x10114864
cmp ebx, eax
jne 0x10114828
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x10114880
mov ebx, dword [0x1024c9a0]
jmp 0x101147a0
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x10114853
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x10172050
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10172066
lea eax, [esi + 0x28]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10172095
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], ecx
test eax, eax
je 0x1017217c
mov edx, dword [ebp - 8]
test edx, edx
jg 0x1017217c
mov eax, dword [ebp - 0xc]
jl 0x101720cd
cmp eax, 0x7fffffff
ja 0x1017217c
or eax, edx
je 0x1017217c
push 0
push 0
push 0
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x10172179
mov ecx, dword [ebp - 0xc]
push 0
push 0
push 0
push 4
push edi
mov dword [esi + 4], ecx
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov dword [esi], eax
call dword [ebp + 8]
cmp dword [esi], 0
je 0x10172121
mov eax, 0x10172200
jmp 0x101721a4
push dword [esi + 4]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x10172175
xor edi, edi
lea ecx, [ebp - 4]
push edi
push ecx
push dword [esi + 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1017216b
add edi, dword [ebp - 4]
mov eax, dword [esi + 4]
cmp edi, eax
je 0x1017219f
push 0
lea ecx, [ebp - 4]
sub eax, edi
push ecx
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10172148
push dword [esi]
call fcn.10177b63
add esp, 4
push ebx
call dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ebx
call ecx
pop edi
pop ebx
mov dword [esi], 0
mov eax, 0x51
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x101721d0
push ebx
mov dword [esi + 0x18], eax
call dword [ebp + 8]
mov eax, dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esi + 0x10], eax
xor eax, eax
pop ebx
mov dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101764b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x101764db
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x101764de
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.10176490
pop esi
leave
ret 8
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4012a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403df4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403df0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4011a6
mov dword [ebp - 0x24], str.cognomen
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403df0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.invocatory
push str.cognomen
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403df8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40136d
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401354
mov eax, dword [0x403df4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x10006724
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
xor eax, eax
mov dword [edi], 0x100015dc
mov dword [edi + 0x38], eax
push 0x10001670
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call fcn.10013f4e
mov dword [edi + 4], eax
test eax, eax
je 0x100067db
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x10001688
push eax
call esi
push 0x10001698
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push 0x100016ac
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push 0x100016bc
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push 0x100016d0
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
mov ebx, 0x100016e8
push ebx
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push ebx
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push 0x100016f4
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
push 0x10001710
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call esi
push 0x10001724
push dword [edi + 4]
mov dword [edi + 0x30], eax
call esi
pop esi
mov dword [edi + 0x34], eax
mov dword [edi + 8], 1
pop ebx
mov eax, edi
pop edi
ret
Function at 0x1001341b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10002830]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x1001354d
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.MSO.dll_Ordinal_6137]
cmp eax, 0xffffffff
je 0x1001346d
test al, 0x10
je 0x1001346d
push 0x103
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.10013f4e
jmp 0x100134da
call fcn.10013f4e
xor eax, eax
push eax
push eax
push eax
push eax
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.msvcr100.dll__wsplitpath_s]
lea eax, [ebp - 0x20c]
push eax
call fcn.10013f4e
add esp, 0x28
test eax, eax
je 0x100134a0
dec eax
add eax, eax
cmp eax, 0x200
jae 0x10013468
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
mov esi, 0x103
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10013f4e
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x100134f9
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.10013f4e
neg eax
sbb eax, eax
and eax, 0xfffffc16
jmp 0x10013552
lea eax, [ebp - 0x414]
push eax
call fcn.10013f4e
lea esi, [eax*2 + 0x1a]
push esi
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
pop ecx
mov dword [edi + 4], eax
test eax, eax
je 0x10013546
shr esi, 1
push esi
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.10013f4e
push esi
push dword [edi + 4]
push 0x100012d4
call ebx
push esi
push dword [edi + 4]
push 0x10001ec4
call ebx
xor eax, eax
jmp 0x10013552
mov eax, 0xfffffc0d
jmp 0x10013552
mov eax, 0xfffffc16
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100155e0
leave
ret 4
Function at 0x10013f4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10013f5d
pop dword [ebp - 0x48]
mov eax, 0x1b6f990
sub eax, 0xf1b5ba33
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xd69bb0a6
sub dword [ebp - 0x58], 0x88496b5b
mov dword [ebp - 0x54], 0x1629e326
sub dword [ebp - 0x54], 0xe3f696e1
mov dword [ebp - 0x50], 0x41d8f7dc
add dword [ebp - 0x50], 0xa734c52
mov dword [ebp - 0x4c], 0xfeb25285
sub dword [ebp - 0x4c], 0xfeb25285
lea eax, [ebp - 0x58]
push eax
mov eax, 0x74849af0
add eax, 0x9b7b76c8
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x498e0ad9
add dword [ebp - 0x58], 0x2ae45e7d
mov dword [ebp - 0x54], 0x75e6c37c
sub dword [ebp - 0x54], 0x347a6207
mov dword [ebp - 0x50], 0x42e87b9b
sub dword [ebp - 0x50], 0xdf790f2f
mov dword [ebp - 0x4c], 0xea8bb1d1
add dword [ebp - 0x4c], 0x15744e2f
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x39c9c
push 0
call eax
mov ecx, 0x43ad
xor esi, esi
add esi, eax
mov edi, 0x5cdc4d2d
add edi, 0xb326bcd3
add edi, dword [ebp - 0x48]
mov ebx, 0xee7327b3
add ebx, 0xa863c848
sub dword [ebp - 0x40], 0x75821e36
mov edx, dword [edi]
sub dword [ebp - 0x34], edi
xor edx, ebx
add dword [ebp - 8], 0xce69cd76
mov dword [esi], edx
sub dword [ebp - 0x20], eax
add esi, 0xa0ed5aac
add esi, 0x5f12a558
add edi, 0xc3d6bace
sub edi, 0xc3d6baca
loop 0x10014076
add eax, 0xaa3fbf7e
sub eax, 0xaa3ebdf7
mov ebx, eax
add eax, 5
mov ecx, 0xa253d060
add ecx, 0x6dac2fa0
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x100155e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10002830]
jne fcn.10015aa0
ret