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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009aac8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov dword [ebp - 0x30], 1
mov eax, 0xf
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
cmp edi, ecx
je 0x1006974b
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmp ecx, edi
je 0x1006969e
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10069689
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10028180
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x100696b8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, esi
mov byte [eax + ecx], 0
jmp 0x100696f7
mov ebx, ecx
sub eax, edx
sub ebx, edx
cmp ebx, eax
ja 0x100696e4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ebx
cmovae eax, esi
mov dword [ebp - 0x18], ecx
push 0
lea esi, [edx + eax]
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x100696f7
push 0
push ebx
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x34]
push ebx
call fcn.10035280
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov esi, 0x811c9dc5
mov edx, dword [ebp - 0x18]
cmovae ebx, eax
xor ecx, ecx
test edx, edx
je 0x10069726
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10069712
mov eax, dword [ebp - 0x28]
cmp esi, dword [ebp + 8]
jne 0x10069736
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10069746
dec ebx
mov dword [ebp - 0x30], ebx
add edi, 0x1c
cmp edi, dword [ebp - 0x2c]
je 0x1006974e
mov eax, dword [ebp - 0x14]
jmp 0x10069675
mov esi, dword [edi + 0x18]
jmp 0x10069750
mov eax, dword [ebp - 0x28]
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10069783
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x10069779
mov eax, dword [eax - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100697a3
mov eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.10097c47
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100977c9
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1006b100
Capabilities:
Create thread
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1006b1b7
push 0xff
push 0x100f75f8
push 0x100f75f4
push 0x100f74ec
push 0x100f75f0
push 0xff
push 0x100f74f0
push 0x100a6d3c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [0x100f75f0]
cmp eax, 0xf8c651f6
je 0x1006b195
cmp eax, 0x1aac344d
je 0x1006b195
cmp eax, 0x488973b6
je 0x1006b195
cmp eax, 0x6f7435
je 0x1006b195
cmp eax, 0x68889307
je 0x1006b195
cmp eax, 0xe423ab7
je 0x1006b195
cmp eax, 0x77a27c00
je 0x1006b195
cmp eax, 0x770245dc
je 0x1006b195
cmp eax, 0xacaf387c
je 0x1006b195
cmp eax, 0x9e58c54c
je 0x1006b195
cmp eax, 0x365c812d
je 0x1006b195
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x10031360
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1006b1b7
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x10090a40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
mov edx, dword [ebp + 0xc]
push edi
mov edi, ecx
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
sar eax, 0x10
movzx eax, al
sar edx, 0x18
xor ecx, eax
movzx eax, dl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0x260c]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10096d60
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x10090ab1
mov ecx, dword [edi + 0x2610]
cmp ecx, dword [edi + 0x2610]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
je 0x10090ae2
add ecx, 0xc
push 1
push ecx
mov ecx, esi
call fcn.10028180
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0x100a30f1
mov ecx, esi
call fcn.10028180
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10096ac0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fce0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100b100c]
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.10096d60
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10096b4a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10096c94
cmp dword [ebx + 8], 0xfffffff
jne 0x10096b5e
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.100977e8
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
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 + 0x100a7830]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100a7830]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10096c43
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.10098a60
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10096c25
cmp eax, 0x200
jae 0x10096c23
shl eax, 3
cmp eax, ecx
jae 0x10096c25
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10042420
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10096d60
mov edx, dword [eax]
jmp 0x10096c46
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10096c75
mov dword [ecx + eax*8], esi
jmp 0x10096c87
cmp ebx, edx
jne 0x10096c7e
mov dword [ecx + eax*8], esi
jmp 0x10096c8b
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10096c8b
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 0x10096dd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fce0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100b100c]
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.10096d60
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10096e5a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10096fa6
cmp dword [ebx + 8], 0xfffffff
jne 0x10096e6e
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.100977e8
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
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 + 0x100a7830]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100a7830]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10096f55
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.10098a60
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10096f37
cmp eax, 0x200
jae 0x10096f35
shl eax, 3
cmp eax, ecx
jae 0x10096f37
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10042420
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10096d60
mov edx, dword [eax]
jmp 0x10096f58
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10096f87
mov dword [ecx + eax*8], esi
jmp 0x10096f99
cmp ebx, edx
jne 0x10096f90
mov dword [ecx + eax*8], esi
jmp 0x10096f9d
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10096f9d
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 0x10007210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002518e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100360e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0
push 8
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0xc], 0
call fcn.10009b66
mov esi, eax
add esp, 4
test esi, esi
je 0x100072ad
push 1
call fcn.100092b4
add esp, 4
mov dword [esi + 4], eax
jmp 0x100072af
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x30]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x10026148]
mov ecx, edi
call esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 1
push eax
call fcn.10005010
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10026148]
mov ecx, edi
call esi
mov ecx, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 0x14], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x10007353
mov edx, dword [edi]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x10026148]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x10007353
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x10026148]
mov ecx, edi
call esi
cmp dword [ebx + 0x38], 0
mov al, byte [ebp - 0xd]
mov byte [ebx + 0x40], al
jne 0x10007372
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
and eax, 0x13
or eax, 4
mov dword [ebx + 0xc], eax
and ecx, eax
jne 0x10007395
cmp byte [ebp + 0xc], 0
je 0x10007381
push ebx
call fcn.1000974d
add esp, 4
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
test cl, 4
je 0x100073a1
mov esi, str.ios_base::badbit_set
jmp 0x100073b1
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.100073e0
add esp, 8
lea ecx, [ebp - 0x34]
push eax
push esi
call fcn.10005810
push 0x100344a8
lea eax, [ebp - 0x34]
push eax
call fcn.1000ac5e
int3
Function at 0x10013bc1
Capabilities:
Parse pe header

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

Function at 0x100182ed
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002afc8
push 0x1002afc0
push str.FlsAlloc
push 0x1f
call fcn.100181b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10018321
push dword [ebp + 8]
mov ecx, esi
call dword [0x10026148]
call esi
jmp 0x10018327
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001836b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002afd8
push 0x1002afd0
push str.FlsGetValue
push 0x21
call fcn.100181b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100183a2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10026148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100183aa
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002afe0
push 0x1002afd8
push str.FlsSetValue
push 0x22
call fcn.100181b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100183e4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10026148]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001c160
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001c1fd
push ebx
push esi
call fcn.1001c129
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10017cc4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001c1aa
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c1fc
push edi
push eax
call fcn.1001683c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001c1ca
call fcn.10016802
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c1fb
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10017cc4
add esp, 0x20
test eax, eax
jne 0x1001c1e9
push edi
call fcn.10016802
jmp 0x1001c1f1
push ebx
call fcn.10016802
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001e77f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10014b55
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001e7ee
cmp esi, dword [ebp - 4]
je 0x1001e7e9
cmp dword [ebp + 0xc], 0
je 0x1001e7e9
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001e7c6
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1001e2bc
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1001e7f0
xor eax, eax
inc eax
jmp 0x1001e7f0
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1001e855
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100360e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10014b55
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10014b55
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1001e8cc
cmp word [ecx], dx
je 0x1001e8cc
mov eax, dword [0x1002b7d4]
push edi
dec eax
push eax
push 0x1002b6c0
call fcn.1001e7f4
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1001e93f
cmp word [eax], dx
je 0x1001e93f
mov eax, dword [edi]
test eax, eax
je 0x1001e8f0
cmp word [eax], dx
je 0x1001e8f0
lea eax, [ebp - 0x10]
push eax
call fcn.1001e1c2
jmp 0x1001e8f9
lea eax, [ebp - 0x10]
push eax
call fcn.1001e25d
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1001e969
mov eax, dword [0x1002b6bc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1002b3b0
call fcn.1001e7f4
add esp, 0xc
test al, al
je 0x1001e969
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1001e934
cmp word [eax], di
je 0x1001e934
lea eax, [ebp - 0x10]
push eax
call fcn.1001e1c2
pop ecx
jmp 0x1001e96b
lea eax, [ebp - 0x10]
push eax
call fcn.1001e25d
jmp 0x1001e931
mov eax, dword [edi]
test eax, eax
je 0x1001e956
cmp word [eax], dx
je 0x1001e956
lea eax, [ebp - 0x10]
push eax
call fcn.1001e177
pop ecx
jmp 0x1001e969
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1001ea34
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1001e679
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001ea34
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1001ea34
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1001ea34
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001e9c1
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100184ea
test ebx, ebx
je 0x1001ea2f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100184ea
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001ea34
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001ea34
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10022741
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1001ea36
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10009ba4
leave
ret
Function at 0x10023d30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10023d5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10023d5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40645d
pop dword [ebp - 0x24]
mov eax, 0x40645d
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x9abc444a
sub dword [ebp - 0x34], 0x4c69feff
mov dword [ebp - 0x30], 0xd2ae29ff
sub dword [ebp - 0x30], 0xa07addba
mov dword [ebp - 0x2c], 0x2e5357c9
add dword [ebp - 0x2c], 0x1df8ec65
mov dword [ebp - 0x28], 0xef578e08
sub dword [ebp - 0x28], 0xef578e08
lea eax, [ebp - 0x34]
push eax
mov eax, 0x12bdf51a
sub eax, 0x127d74a2
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xae4957b9
sub dword [ebp - 0x34], 0x39d6ee63
mov dword [ebp - 0x30], 0x558bc19
sub dword [ebp - 0x30], 0xc3ec5aa4
mov dword [ebp - 0x2c], 0x15e8bdce
sub dword [ebp - 0x2c], 0xb2795162
mov dword [ebp - 0x28], 0x9e3ca49d
sub dword [ebp - 0x28], 0x9e3ca49d
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3af4b
push 0
call eax
mov ecx, 0x591c8bbd
add ecx, 0xa6e3cbe0
mov esi, eax
mov edi, 0xedd48e3f
sub edi, 0xed8efc3f
add edi, dword [ebp - 0x24]
mov ebx, 0x68796732
sub ebx, 0xd94d63f4
xor dword [ebp - 4], ebx
mov edx, dword [edi]
sub edx, ebx
mov dword [ebp - 0x10], 0xb3cc0c93
mov dword [esi], edx
xor dword [ebp - 0x1c], 0x700938e
add esi, 0xb76b5bf6
sub esi, 0xb76b5bf2
add edi, 4
loop 0x406575
add eax, 0x15147
mov ebx, eax
add eax, 0x48cfcfe7
add eax, 0xb730301e
mov ecx, 0xc2f9d132
add ecx, 0x3d462ece
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc