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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086995
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1009e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x18]
imul edi, ecx, 0x1000193
push edi
push esi
push eax
call fcn.1007d220
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1007cbab
cmp dword [0x100a359c], 0xfffffff
jne 0x1007cb0a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x20], 0x100a3598
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x1c], 0
call fcn.100828b8
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x1c], ebx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [0x100a359c]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10097390]
mov eax, dword [0x100a35b0]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10097390]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x100a3594]
jbe 0x1007cba0
call fcn.1007cdd0
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1007d220
mov ecx, dword [eax]
jmp 0x1007cba3
mov ecx, dword [ebp - 0x18]
push ebx
push ecx
push edi
call fcn.1007ce60
add eax, 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 0x1007cbd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083a95
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1009e040]
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.1007d1b0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1007cc53
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1007cdb7
cmp dword [0x100a357c], 0xfffffff
jne 0x1007cc6a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x28], 0x100a3578
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.100828b8
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x100a357c]
mov ebx, dword [0x100a3590]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10097390]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10097390]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100a3574]
comiss xmm1, xmm0
jbe 0x1007cd64
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.10083870
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1007cd43
cmp ebx, 0x200
jae 0x1007cd41
shl ebx, 3
cmp ebx, ecx
jae 0x1007cd43
mov ebx, ecx
push ebx
call fcn.1007ced0
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1007d1b0
mov ecx, dword [0x100a357c]
mov edx, dword [eax]
jmp 0x1007cd6a
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x100a357c], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x100a358c]
mov ecx, dword [0x100a3580]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x100a3578]
jne 0x1007cd9b
mov dword [ecx + eax*8], esi
jmp 0x1007cdaa
cmp edi, edx
jne 0x1007cda4
mov dword [ecx + eax*8], esi
jmp 0x1007cdae
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1007cdae
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 0x1007ced0
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 0x1007cefc
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 [0x100a3578]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100a3580
lea eax, [edi + edi]
push eax
call fcn.100051b0
mov eax, dword [0x100a3578]
lea ebx, [edi - 1]
mov dword [0x100a358c], ebx
mov dword [0x100a3590], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1007d036
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 [0x100a3580]
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 0x1007cf94
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1007d001
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1007cfce
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1007cfc6
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 0x1007d001
cmp ebx, edx
je 0x1007cfde
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1007d012
cmp ebx, edx
jne 0x1007cfd2
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 0x1007d036
mov ebx, dword [0x100a358c]
jmp 0x1007cf42
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 0x1007d001
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007d040
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 0x1007d06c
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 [0x100a3598]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100a35a0
lea eax, [edi + edi]
push eax
call fcn.100051b0
mov eax, dword [0x100a3598]
lea ebx, [edi - 1]
mov dword [0x100a35ac], ebx
mov dword [0x100a35b0], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1007d1a6
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 [0x100a35a0]
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 0x1007d104
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1007d171
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1007d13e
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1007d136
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 0x1007d171
cmp ebx, edx
je 0x1007d14e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1007d182
cmp ebx, edx
jne 0x1007d142
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 0x1007d1a6
mov ebx, dword [0x100a35ac]
jmp 0x1007d0b2
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 0x1007d171
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007f5b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1007f780
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1007f68d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1007f5fa
mov eax, dword [ebp - 4]
cmp eax, dword [0x1009e004]
ja 0x1007f5fa
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1007f5ca
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1007f61f
jmp 0x1007f68d
cmp dword [ebp - 0x14], 0x10000
jne 0x1007f673
cmp dword [ebp - 0x18], 0x10000
jb 0x1007f673
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007f656
mov eax, dword [ebp - 8]
jmp 0x1007f68f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1007f666
xor eax, eax
jmp 0x1007f68f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1007f688
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1007f780
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1007f5ca
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1007f6a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1007f7b0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1007f775
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1007f6e5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1009e004]
ja 0x1007f6e5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1007f6b5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1007f70a
jmp 0x1007f775
cmp dword [ebp - 0x14], 0x10000
jne 0x1007f75e
cmp dword [ebp - 0x18], 0x10000
jb 0x1007f75e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007f741
mov eax, dword [ebp - 8]
jmp 0x1007f777
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1007f751
xor eax, eax
jmp 0x1007f777
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1007f770
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1007f7b0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1007f6b5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1007f7e0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007fbd0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1009f0c4], 0
jne 0x1007f81d
cmp dword [0x1009f0c0], 0
je 0x1007f81d
mov eax, dword [0x1009f0c0]
mov dword [0x1009f0c4], eax
cmp dword [0x1009f0c4], 0
je 0x1007f89a
mov ecx, dword [0x1009f0c4]
cmp dword [ecx + 8], 0
je 0x1007f89a
mov edx, dword [0x1009f0c4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1007f89a
mov ecx, dword [0x1009f0c4]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1007f89a
mov eax, dword [0x1009f0c4]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1007f869
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1007f870
xor eax, eax
jmp 0x1007f9b9
mov ecx, dword [0x1009f0c4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1007f9b9
mov edx, dword [0x1009f0c0]
mov dword [0x1009f0c4], edx
jmp 0x1007f8b6
mov eax, dword [0x1009f0c4]
mov ecx, dword [eax + 4]
mov dword [0x1009f0c4], ecx
cmp dword [0x1009f0c4], 0
je 0x1007f8f6
cmp dword [0x1009f0c4], 0
je 0x1007f8f4
mov edx, dword [0x1009f0c4]
cmp dword [edx + 8], 0
je 0x1007f8f4
mov eax, dword [0x1009f0c4]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1007f8f4
mov edx, dword [0x1009f0c4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1007f8f4
jmp 0x1007f84e
jmp 0x1007f8a8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007f9c0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1007f9b7
mov eax, dword [ebp - 0x18]
mov dword [0x1009f0c4], eax
mov ecx, dword [0x1009f0c4]
mov dword [ecx], 0x52727464
mov edx, dword [0x1009f0c4]
mov dword [edx + 8], 0
mov eax, dword [0x1009f0c4]
mov ecx, dword [0x1009f0c0]
mov dword [eax + 4], ecx
mov edx, dword [0x1009f0c4]
mov dword [0x1009f0c0], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1009f0c4]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1007f987
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1007f9a7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1007f97e
mov eax, dword [0x1009f0c4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1007f84e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10080700
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1009f0c0]
mov dword [ebp - 4], eax
jmp 0x10080719
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10080740
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1008073e
call sub.KERNEL32.dll_GetLastError
jmp 0x10080742
jmp 0x10080710
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10080be0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1009f0d0], eax
je 0x10080c04
mov eax, 0x10dd
jmp 0x10080dac
cmp dword [0x1009f0d4], 0
je 0x10080c17
mov eax, dword [0x1009f0d4]
jmp 0x10080dac
cmp dword [ebp + 0xc], 0
jne 0x10080c27
mov eax, 0x57
jmp 0x10080dac
cmp dword [ebp + 8], 0
jne 0x10080c37
mov eax, 6
jmp 0x10080dac
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10080c60
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x1009f0d4], ecx
mov edx, dword [ebp + 8]
mov dword [0x1009f0d8], edx
mov eax, dword [ebp - 8]
jmp 0x10080dac
push 0x18
call fcn.100828b8
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10080cbb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x1009f0d4], ecx
cmp dword [ebp - 4], 0
je 0x10080caa
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10082d1c
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x1009f0d8], ecx
mov eax, dword [ebp - 8]
jmp 0x10080dac
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10080bc0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10080bc0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10080cfb
cmp dword [ebp - 0xc], 0x1e
jbe 0x10080d17
mov dword [ebp - 8], 9
cmp dword [0x1009f0c8], 0
je 0x10080d12
jmp 0x10080c89
jmp 0x10080c80
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10080d3e
mov dword [ebp - 8], 9
cmp dword [0x1009f0c8], 0
je 0x10080d39
jmp 0x10080c89
jmp 0x10080c80
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10080d69
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10080c80
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x1009f0e0]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1009f0e0], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10080dc0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1009f0d0], eax
je 0x10080ddd
mov eax, 0x10dd
jmp 0x10080ec0
mov eax, dword [0x1009f0e0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10080e5c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10080e38
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10080e38
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1007fc60
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10082d1c
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10080de5
mov dword [0x1009f0e0], 0
call fcn.10080540
mov ecx, dword [0x1009f0dc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10080eaa
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10082d1c
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10080e74
mov dword [0x1009f0dc], 0
mov dword [0x1009f0d0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100813a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1009f0d4], 0
je 0x100813b9
mov eax, dword [0x1009f0d4]
jmp 0x10081458
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x100813ca
xor eax, eax
jmp 0x10081458
push 8
call fcn.100828b8
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10081422
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1008140b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10082d1c
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1009f0d4], eax
mov dword [0x1009f0d8], 0
mov eax, dword [ebp - 8]
jmp 0x10081458
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1008143a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100813ea
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1009f0dc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1009f0dc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x100822f8
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 0x1008231f
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10082322
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.100822d4
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