joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100969de
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100bc140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.geos::operation::GeometryGraphOperation.0
xorps xmm0, xmm0
mov dword [esi + 8], 0
xorps xmm1, xmm1
mov dword [esi + 0xc], 0
movups xmmword [esi + 0x10], xmm0
push 8
movsd xmm0, qword [0x100ae978]
movups xmmword [esi + 0x20], xmm1
movsd qword [esi + 0x30], xmm0
movups xmmword [esi + 0x38], xmm1
movsd qword [esi + 0x48], xmm0
mov byte [esi + 0x60], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
call fcn.100670bf
mov dword [esi + 0x6c], eax
xorps xmm0, xmm0
add eax, 8
add esp, 4
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x6c]
lea ecx, [eax + 8]
movq qword [eax], xmm0
mov dword [esi + 0x70], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.10004040
mov ecx, dword [ebp + 0xc]
mov esi, eax
call fcn.10004040
mov edi, eax
mov ecx, esi
push edi
call fcn.10013890
test eax, eax
push 0x68
cmovns edi, esi
mov esi, dword [ebp - 0x10]
mov ecx, esi
cmovs ecx, esi
mov dword [ecx + 0x68], edi
mov dword [esi + 8], edi
call fcn.100670bf
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x10031c26
call fcn.1001e920
push eax
push dword [ebp + 8]
mov ecx, edi
push 0
call fcn.100396a0
mov ecx, eax
jmp 0x10031c28
xor ecx, ecx
mov eax, dword [esi + 0x6c]
push 0x68
mov byte [ebp - 4], 0
mov dword [eax], ecx
call fcn.100670bf
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x10031c5e
call fcn.1001e920
push eax
push dword [ebp + 0xc]
mov ecx, edi
push 1
call fcn.100396a0
mov ecx, eax
jmp 0x10031c60
xor ecx, ecx
mov eax, dword [esi + 0x6c]
mov dword [eax + 4], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10033760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096beb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100bc140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 8]
mov dword [edi], eax
xorps xmm0, xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movups xmmword [esi + 0xc], xmm0
push 2
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
push esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.10065de0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0xa
mov dword [esi + 0x44], 0
mov dword [edi + 4], vtable.geos::index::strtree::TemplateSTRtree_class_geos::geom::Polygon_const___struct_geos::index::strtree::EnvelopeTraits_.0
lea esi, [edi + 0x50]
mov dword [ebp - 4], 0
mov dword [ebp + 8], esi
push 0x20
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100670bf
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.1002e350
mov ecx, dword [edi]
xor esi, esi
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x68], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test eax, eax
je 0x100338ce
nop dword [eax]
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
mov dword [ebp + 8], eax
mov edx, dword [eax]
mov edx, dword [edx + 0x54]
call edx
mov edx, eax
movsd xmm0, qword [edx + 8]
ucomisd xmm0, xmm0
setp cl
cmp cl, 1
je 0x100338c0
mov eax, dword [edi + 0x3c]
lea ecx, [edi + 0x38]
cmp eax, dword [ecx + 8]
je 0x100338b5
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [edx + 0x10]
mov edx, dword [ebp + 8]
mov dword [eax + 0x24], 0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], edx
add dword [ecx + 4], 0x28
jmp 0x100338c0
push edx
lea edx, [ebp + 8]
push edx
push eax
call fcn.10017240
mov ecx, dword [edi]
inc esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
cmp esi, eax
jb 0x10033860
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10039a50
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 edi
mov edi, 1
mov dword [esp + 8], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x10039ba5
lea eax, [edx - 1]
or eax, edi
bsr ecx, eax
push ebp
push esi
mov esi, dword [ebx + 4]
lea ebp, [ebx + 0xc]
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.1001f180
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10039b7f
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
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebp]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x1c], ebp
cmp edi, esi
jne 0x10039b05
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x10039b72
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10039b3f
mov edx, dword [edx]
mov dword [esp + 0x14], edx
cmp edx, eax
je 0x10039b3a
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x14]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x10039b6e
cmp edi, edx
je 0x10039b4f
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10039b89
cmp edi, edx
jne 0x10039b43
mov ebp, dword [eax + 4]
mov dword [ebp], 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 [esp + 0x1c]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x10]
lea ebp, [ebx + 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x10039ab1
pop esi
pop ebp
pop edi
pop ebx
add esp, 8
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10039b6e
push str.invalid_hash_bucket_count
call fcn.100654cf
int3
Function at 0x10044ac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
push esi
push edi
mov edi, dword [esp + 0x74]
mov ecx, edi
call fcn.10025490
mov esi, eax
mov ecx, esi
mov dword [esp + 0x74], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
call edx
cmp eax, 4
jae 0x10044af8
xorps xmm0, xmm0
comisd xmm0, xmmword [esp + 0x78]
pop edi
pop esi
seta al
add esp, 0x68
ret 0xc
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
cmp eax, 4
jne 0x10044bca
mov eax, dword [esi]
mov ecx, esi
push 2
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [esi]
mov ecx, esi
push 1
mov edi, eax
mov edx, dword [edx + 0xc]
call edx
mov ecx, dword [esp + 0x74]
mov esi, eax
push 0
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
lea ecx, [esp + 8]
movups xmm0, xmmword [eax]
movups xmmword [esp + 8], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [esp + 0x50]
movq qword [esp + 0x18], xmm0
movups xmm0, xmmword [esi]
push eax
movups xmmword [esp + 0x24], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x34], xmm0
movups xmm0, xmmword [edi]
movups xmmword [esp + 0x3c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esp + 0x4c], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x54], xmm0
movsd xmm0, qword [0x100ae978]
movsd qword [esp + 0x64], xmm0
call fcn.1005d980
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1003c5a0
movsd xmm0, qword [esp + 0x84]
add esp, 0xc
andps xmm0, xmmword [0x1009b750]
fstp qword [esp + 0x68]
comisd xmm0, xmmword [esp + 0x68]
pop edi
pop esi
seta al
add esp, 0x68
ret 0xc
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x54]
call eax
mov edx, eax
xorps xmm3, xmm3
movsd xmm0, qword [edx + 8]
ucomisd xmm0, xmm0
setp cl
cmp cl, 1
jne 0x10044bee
xorps xmm1, xmm1
jmp 0x10044bf5
movaps xmm1, xmm0
subsd xmm1, qword [edx]
ucomisd xmm0, xmm0
setp al
movzx eax, al
cmp al, 1
jne 0x10044c08
xorps xmm2, xmm2
jmp 0x10044c12
movsd xmm2, qword [edx + 0x18]
subsd xmm2, qword [edx + 0x10]
movsd xmm0, qword [esp + 0x78]
comisd xmm3, xmm0
jbe 0x10044c3c
andps xmm0, xmmword [0x1009b750]
minsd xmm1, xmm2
addsd xmm0, xmm0
pop edi
pop esi
comisd xmm0, xmm1
seta al
add esp, 0x68
ret 0xc
pop edi
xor al, al
pop esi
add esp, 0x68
ret 0xc
Function at 0x1004e3f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov eax, 0x2aaaaaab
push ebx
push esi
mov esi, dword [esp + 0x14]
sub ecx, esi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebx, ecx
mov dword [esp + 0x14], ecx
sar ebx, 1
test ebx, ebx
jle 0x1004e53f
lea eax, [ecx - 1]
mov dword [esp + 0xc], eax
sar eax, 1
push ebp
mov dword [esp + 0x1c], eax
lea eax, [ebx + ebx*2]
push edi
lea ebp, [esi + eax*8]
mov eax, dword [esp + 0x20]
sub ebp, 0x18
dec ebx
mov dword [esp + 0x10], ebp
mov edx, ebx
mov edi, ebx
movq xmm3, qword [ebp + 0x10]
movups xmm2, xmmword [ebp]
cmp ebx, eax
jge 0x1004e4af
mov ebp, eax
lea ecx, [edi + edi]
lea eax, [ecx + ecx*2]
movsd xmm0, qword [esi + eax*8 + 0x20]
lea edi, [ecx + 1]
movsd xmm1, qword [esi + eax*8 + 0x38]
addsd xmm0, qword [esi + eax*8 + 0x18]
addsd xmm1, qword [esi + eax*8 + 0x30]
xor eax, eax
comisd xmm0, xmm1
seta al
xor eax, 1
add edi, eax
lea eax, [edx + edx*2]
mov edx, edi
lea ecx, [edi + edi*2]
movups xmm0, xmmword [esi + ecx*8]
movups xmmword [esi + eax*8], xmm0
movq xmm0, qword [esi + ecx*8 + 0x10]
movq qword [esi + eax*8 + 0x10], xmm0
cmp edi, ebp
jl 0x1004e454
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
cmp edx, eax
jne 0x1004e4d7
test cl, 1
jne 0x1004e4d7
lea ecx, [ecx + ecx*2]
movups xmm0, xmmword [esi + ecx*8 - 0x18]
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x14]
movups xmmword [esi + eax*8], xmm0
movq xmm0, qword [esi + ecx*8 - 8]
movq qword [esi + eax*8 + 0x10], xmm0
lea ecx, [edx - 1]
sar ecx, 1
cmp ebx, edx
jge 0x1004e524
movaps xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
nop dword [eax + eax]
lea edi, [ecx + ecx*2]
movsd xmm0, qword [esi + edi*8 + 8]
addsd xmm0, qword [esi + edi*8]
comisd xmm1, xmm0
jbe 0x1004e524
movups xmm0, xmmword [esi + edi*8]
lea eax, [edx + edx*2]
mov edx, ecx
dec ecx
movups xmmword [esi + eax*8], xmm0
sar ecx, 1
movq xmm0, qword [esi + edi*8 + 0x10]
movq qword [esi + eax*8 + 0x10], xmm0
cmp ebx, edx
jl 0x1004e4f0
mov ecx, dword [esp + 0x1c]
lea eax, [edx + edx*2]
movups xmmword [esi + eax*8], xmm2
movq qword [esi + eax*8 + 0x10], xmm3
test ebx, ebx
jg 0x1004e435
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret
Function at 0x1004e8f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
push ebx
push ebp
lea ecx, [eax - 1]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
mov ebp, esi
sar ebx, 1
mov dword [esp + 0x14], ecx
push edi
mov edi, esi
cmp esi, ebx
jge 0x1004e966
lea ecx, [edi + edi]
lea eax, [ecx + ecx*2]
movsd xmm0, qword [edx + eax*8 + 0x20]
lea edi, [ecx + 1]
movsd xmm1, qword [edx + eax*8 + 0x38]
addsd xmm0, qword [edx + eax*8 + 0x18]
addsd xmm1, qword [edx + eax*8 + 0x30]
xor eax, eax
comisd xmm0, xmm1
seta al
xor eax, 1
add edi, eax
lea eax, [esi + esi*2]
mov esi, edi
lea ecx, [edi + edi*2]
movups xmm0, xmmword [edx + ecx*8]
movups xmmword [edx + eax*8], xmm0
movq xmm0, qword [edx + ecx*8 + 0x10]
movq qword [edx + eax*8 + 0x10], xmm0
cmp edi, ebx
jl 0x1004e913
mov eax, dword [esp + 0x1c]
cmp edi, ebx
jne 0x1004e98d
test al, 1
jne 0x1004e98d
lea ecx, [eax + eax*2]
movups xmm0, xmmword [edx + ecx*8 - 0x18]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x18]
movups xmmword [edx + eax*8], xmm0
movq xmm0, qword [edx + ecx*8 - 8]
movq qword [edx + eax*8 + 0x10], xmm0
mov ebx, dword [esp + 0x20]
cmp ebp, esi
jge 0x1004e9df
nop word [eax + eax]
movsd xmm0, qword [ebx + 8]
lea ecx, [esi - 1]
addsd xmm0, qword [ebx]
sar ecx, 1
lea edi, [ecx + ecx*2]
movsd xmm1, qword [edx + edi*8 + 8]
addsd xmm1, qword [edx + edi*8]
comisd xmm0, xmm1
jbe 0x1004e9df
lea eax, [esi + esi*2]
mov esi, ecx
movups xmm0, xmmword [edx + edi*8]
movups xmmword [edx + eax*8], xmm0
movq xmm0, qword [edx + edi*8 + 0x10]
movq qword [edx + eax*8 + 0x10], xmm0
cmp ebp, ecx
jl 0x1004e9a0
movups xmm0, xmmword [ebx]
pop edi
lea eax, [esi + esi*2]
pop esi
movups xmmword [edx + eax*8], xmm0
pop ebp
movq xmm0, qword [ebx + 0x10]
movq qword [edx + eax*8 + 0x10], xmm0
pop ebx
ret
Function at 0x1004f8b0
Capabilities:
Encode data using xor
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 + 8]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [esp + 0x38], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul ebx, ecx, 0x1000193
cmp byte [edi + 4], 0
je 0x1004f97a
xor esi, esi
mov dword [esp + 0x3c], esi
test edx, edx
je 0x1004f9d9
nop dword [eax + eax]
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
lea ecx, [esp + 0x37]
sub esp, 8
movsd xmm0, qword [edi + 8]
movsd qword [esp], xmm0
call fcn.10012f30
movsd xmm0, qword [edi]
lea ecx, [esp + 0x37]
sub esp, 8
mov esi, eax
add esi, esi
movsd qword [esp], xmm0
call fcn.10012f30
mov edi, dword [ebp + 8]
xor esi, eax
xor ebx, esi
mov esi, dword [esp + 0x3c]
inc esi
mov dword [esp + 0x3c], esi
cmp esi, dword [esp + 0x38]
jb 0x1004f920
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edx, edx
je 0x1004f9d9
dec edx
mov dword [esp + 0x3c], edx
mov ecx, dword [edi]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
lea ecx, [esp + 0x37]
sub esp, 8
movsd xmm0, qword [edi + 8]
movsd qword [esp], xmm0
call fcn.10012f30
movsd xmm0, qword [edi]
lea ecx, [esp + 0x37]
sub esp, 8
mov esi, eax
add esi, esi
movsd qword [esp], xmm0
call fcn.10012f30
mov edx, dword [esp + 0x3c]
xor esi, eax
mov eax, dword [esp + 0x38]
dec edx
mov edi, dword [ebp + 8]
dec eax
xor ebx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
test eax, eax
jne 0x1004f983
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10053bb0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098e90
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
mov eax, dword [0x100bc140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
lea ecx, [ebp - 0xb0]
call fcn.10012dd0
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0
push str.EdgeEnd:
push eax
call fcn.10004700
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1002e2b0
lea eax, [ebp - 0xb0]
push 0x100a03b0
push eax
call fcn.10004700
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1002e2b0
lea eax, [ebp - 0xb0]
push 0x1009ba3c
push eax
call fcn.10004700
fld qword [esi + 0x50]
add esp, 0x28
fld qword [esi + 0x48]
call fcn.1007c240
sub esp, 8
lea ecx, [ebp - 0xb0]
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
movsd qword [esp], xmm0
push 0x1009bbf8
push dword [esi + 0x58]
call fcn.100214e0
push eax
call fcn.10004700
add esp, 8
mov ecx, eax
call fcn.1000c050
lea eax, [ebp - 0xb0]
push 0x1009f724
push eax
call fcn.10004700
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1005de70
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xac]
add esp, 0x10
push esi
call fcn.1000b290
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xb4], eax
lea ecx, [ebp - 0xac]
call fcn.10006380
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xb4], ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.10065cf7
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10066b0c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x10066b2d
jl 0x10066b24
test edi, edi
jne 0x10066b2d
xor eax, eax
xor edx, edx
jmp 0x10066bee
cmp dword [ebx + 0x38], 0
je 0x10066b42
push eax
push edi
push dword [ebp + 8]
call fcn.1000b700
jmp 0x10066bee
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10066b89
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x10066b89
cmp eax, edi
jb 0x10066b63
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.10069260
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x10066b8f
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x10066be3
mov ecx, ebx
call fcn.1006647a
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x10066bce
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1007ded0
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x10066be3
jmp 0x10066ba1
test edx, edx
je 0x10066be3
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1007ded0
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x1007f30b
Capabilities:
Parse pe header

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

Function at 0x10086309
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100813ec
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 0x10086378
cmp esi, dword [ebp - 4]
je 0x10086373
cmp dword [ebp + 0xc], 0
je 0x10086373
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10086350
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10085e5b
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1008637a
xor eax, eax
inc eax
jmp 0x1008637a
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100863df
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100bc140]
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.100813ec
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.100813ec
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 0x10086456
cmp word [ecx], dx
je 0x10086456
mov eax, dword [0x100aa6e4]
push edi
dec eax
push eax
push 0x100aa5d0
call fcn.1008637e
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100864c9
cmp word [eax], dx
je 0x100864c9
mov eax, dword [edi]
test eax, eax
je 0x1008647a
cmp word [eax], dx
je 0x1008647a
lea eax, [ebp - 0x10]
push eax
call fcn.10085d61
jmp 0x10086483
lea eax, [ebp - 0x10]
push eax
call fcn.10085dfc
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100864f3
mov eax, dword [0x100aa5cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100aa2c0
call fcn.1008637e
add esp, 0xc
test al, al
je 0x100864f3
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100864be
cmp word [eax], di
je 0x100864be
lea eax, [ebp - 0x10]
push eax
call fcn.10085d61
pop ecx
jmp 0x100864f5
lea eax, [ebp - 0x10]
push eax
call fcn.10085dfc
jmp 0x100864bb
mov eax, dword [edi]
test eax, eax
je 0x100864e0
cmp word [eax], dx
je 0x100864e0
lea eax, [ebp - 0x10]
push eax
call fcn.10085d16
pop ecx
jmp 0x100864f3
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 0x100865be
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10086203
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100865be
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100865be
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100865be
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1008654b
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10086ba9
test ebx, ebx
je 0x100865b9
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10086ba9
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100865be
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 0x100865be
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1008ed46
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100865c0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100670b1
leave
ret