joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d9570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
test byte [esi + 0x3c], 1
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x100d958d
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x100d9552
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
jmp 0x100d955f
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
lea ecx, [eax + ecx*2]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x100d9583
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d9600
mov eax, edx
push ecx
push eax
call fcn.100fc8d7
add esp, 8
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov esi, dword [esi + 0x34]
test esi, esi
je 0x100d95fe
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100d95f3
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x100d95f3
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push 8
push esi
call fcn.100fc8d7
add esp, 8
pop esi
ret
call fcn.10109d5f
int3
Function at 0x100dec70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0
je 0x100decf5
cmp dword [esi + 0x1c], 0
je 0x100decf5
call fcn.100dea10
test al, al
jne 0x100dec99
mov eax, 0xfffffffe
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 5], 0
jne 0x100decc2
push 0
push 0
call dword [sym.imp.Ole32.DLl_CoInitializeEx]
cmp eax, 0x80010106
je 0x100decc2
test eax, eax
jns 0x100decbe
mov eax, 0xfffffffd
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi + 5], 1
lea eax, [esp + 7]
mov ecx, esi
push eax
call fcn.100dedc0
test eax, eax
js 0x100dece0
xor eax, eax
cmp byte [esp + 7], al
setne al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.100df170
sar eax, 0x1f
and eax, 0xfffffffa
add eax, 2
pop esi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100e2ab0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10138f60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101a34c0]
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
mov eax, ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x1c], ecx
mov esi, ecx
mov edx, dword [ecx + 4]
mov eax, edx
mov dword [ebp - 0x18], edx
cmp byte [eax + 0xd], 0
jne 0x100e2b3c
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx]
nop dword [eax]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x14]
cmp edx, dword [ecx + 4]
mov ecx, dword [eax + 0x10]
jg 0x100e2b19
jl 0x100e2b14
cmp ecx, ebx
jae 0x100e2b19
mov eax, dword [eax + 8]
jmp 0x100e2b33
cmp byte [esi + 0xd], 0
je 0x100e2b2f
mov edi, dword [ebp + 8]
cmp dword [edi + 4], edx
jg 0x100e2b2f
jl 0x100e2b2d
cmp ebx, ecx
jae 0x100e2b2f
mov esi, eax
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100e2b00
mov edx, dword [ebp - 0x18]
cmp byte [esi + 0xd], 0
mov eax, edx
jne 0x100e2b46
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100e2b6f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 0x14]
jg 0x100e2b66
jl 0x100e2b60
cmp edx, dword [eax + 0x10]
jae 0x100e2b66
mov esi, eax
mov eax, dword [eax]
jmp 0x100e2b69
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
je 0x100e2b54
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x18], ebx
cmp edi, esi
je 0x100e2bc4
nop word [eax + eax]
mov ecx, dword [eax + 8]
inc ebx
cmp byte [ecx + 0xd], 0
je 0x100e2ba7
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x100e2ba3
cmp eax, dword [ecx + 8]
jne 0x100e2ba3
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x100e2b93
mov eax, ecx
jmp 0x100e2bbd
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x100e2bbd
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x100e2bb1
cmp eax, esi
jne 0x100e2b80
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edi
cmp edi, dword [eax]
jne 0x100e2c14
cmp byte [esi + 0xd], 0
je 0x100e2c14
push dword [eax + 4]
mov esi, dword [ebp - 0x20]
mov ecx, esi
push esi
call fcn.100e2df0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], eax
mov dword [esi + 4], 0
mov eax, ebx
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.100fc8a1
mov esp, ebp
pop ebp
ret 4
cmp edi, esi
je 0x100e2bf4
mov ebx, dword [ebp - 0x20]
nop dword [eax + eax]
lea ecx, [ebp - 0x14]
call fcn.10048970
push edi
mov ecx, ebx
call fcn.10060340
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x100e2c4d
mov dword [edi + 0x18], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 0x20
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.100fc8d7
mov edi, dword [ebp - 0x14]
add esp, 8
cmp edi, esi
jne 0x100e2c20
mov eax, dword [ebp - 0x18]
jmp 0x100e2bf6
Function at 0x100e3280
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10138fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x101a34c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov edi, dword [ebx]
mov eax, 0x2aaaaaab
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
sub edx, edi
imul edx
sub ecx, edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x20], eax
cmp eax, 0xaaaaaaa
je 0x100e3274
mov ecx, dword [ebx + 8]
lea esi, [eax + 1]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
mov eax, 0xaaaaaaa
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x100e326f
lea eax, [edx + ecx]
mov edi, esi
cmp eax, esi
cmovae edi, eax
cmp edi, 0xaaaaaaa
ja 0x100e326f
lea eax, [edi + edi*2]
mov dword [ebp - 0x14], edi
shl eax, 3
cmp eax, 0x1000
jb 0x100e31e5
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x100e326f
push ecx
call fcn.100fc8e5
add esp, 4
test eax, eax
je 0x100e3279
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x100e31fb
test eax, eax
je 0x100e31f6
push eax
call fcn.100fc8e5
add esp, 4
mov esi, eax
jmp 0x100e31f8
xor esi, esi
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
lea ecx, [eax + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
mov ecx, eax
call fcn.10075ff0
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 8]
push ecx
push esi
cmp eax, edx
je 0x100e3242
mov edx, eax
call fcn.100e3c70
mov edx, dword [ebx + 4]
add esp, 4
mov ecx, dword [ebp + 8]
push dword [ebp - 0x1c]
call fcn.100e3c70
mov eax, dword [ebp - 0x20]
add esp, 8
inc eax
mov ecx, ebx
push edi
push eax
push esi
call fcn.100e39d0
mov eax, dword [ebp - 0x24]
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
call fcn.100404e0
call fcn.10043df0
call fcn.10109d5f
push ecx
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
call fcn.100785c0
add esp, 4
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.10048dc0
push 0
push 0
call fcn.100fe9e4
int3

Function at 0x100e4d1d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push eax
call fcn.100e906d
mov edx, dword [ebp - 4]
xor eax, eax
add eax, dword [ebp - 8]
pop ecx
adc edx, 0
sub eax, 0xd53e8000
sbb edx, 0x19db1de
leave
ret
Function at 0x10112618
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x101125bb
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.10112ae1
xor edi, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
jmp 0x1011263f
xor edi, edi
cmp byte [esi], 0
jne 0x101125e1
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0xc], edi
jne 0x101125d7
push 1
mov ecx, esi
call fcn.10112afb
test eax, eax
jne 0x10112641
mov eax, dword [esi + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x101125b3
push edi
push edi
push 0xffffffffffffffff
push esi
push 9
push dword [ebp + 0x14]
call fcn.10121d12
add esp, 0x18
test eax, eax
jne 0x1011260d
call dword [sym.imp.kERnEl32.dLL_GetLastError]
push eax
call fcn.1011194a
pop ecx
call fcn.101119a4
mov eax, dword [eax]
jmp 0x10112641
mov edi, dword [ebp + 0xc]
cmp eax, dword [edi + 0xc]
jbe 0x10112621
push eax
mov ecx, edi
call fcn.10112afb
test eax, eax
jne 0x10112641
push dword [edi + 0xc]
push dword [edi + 8]
push 0xffffffffffffffff
push esi
push 9
push dword [ebp + 0x14]
call fcn.10121d12
add esp, 0x18
test eax, eax
je 0x101125f7
dec eax
mov dword [edi + 0x10], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x10112b93
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
call fcn.101119a4
mov edi, dword [eax]
call fcn.101119a4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
and dword [eax], 0
push dword [ebp + 8]
call fcn.10121a91
add esp, 0xc
mov esi, eax
call fcn.101119a4
test esi, esi
je 0x10112b91
mov dword [eax], edi
mov eax, esi
jmp 0x10112bb5
cmp dword [eax], 0x22
je 0x10112b9a
xor eax, eax
jmp 0x10112bb5
call fcn.101119a4
push 0
push dword [ebp + 0xc]
push 0
mov dword [eax], edi
call fcn.10121a91
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
pop edi
pop esi
pop ebp
ret
Function at 0x1011973c
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x101b6300]
push esi
push edi
cmp eax, 5
jl 0x101196f8
mov ecx, dword [ebp + 8]
test cl, 1
je 0x1011966a
mov eax, dword [ebp + 0xc]
mov esi, ecx
lea edx, [ecx + eax*2]
cmp esi, edx
je 0x10119663
xor eax, eax
cmp word [ecx], ax
je 0x10119663
add ecx, 2
cmp ecx, edx
jne 0x10119657
sub ecx, esi
jmp 0x101197d4
mov edx, ecx
and edx, 0x1f
push 0x20
pop eax
sub eax, edx
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [ebp + 0xc]
shr edx, 1
cmp eax, edx
jae 0x10119685
mov edx, eax
mov esi, dword [ebp + 8]
lea edi, [ecx + edx*2]
xor eax, eax
cmp esi, edi
je 0x1011969d
cmp word [ecx], ax
je 0x1011969d
add ecx, 2
cmp ecx, edi
jne 0x10119691
sub ecx, esi
sar ecx, 1
cmp ecx, edx
jne 0x101197d6
mov eax, dword [ebp + 0xc]
lea edi, [esi + ecx*2]
sub eax, edx
and eax, 0xffffffe0
add eax, ecx
vpxor xmm1, xmm1, xmm1
lea ecx, [esi + eax*2]
jmp 0x101196ce
vpcmpeqw ymm0, ymm1, ymmword [edi]
vpmovmskb eax, ymm0
test eax, eax
jne 0x101196d2
add edi, 0x20
cmp edi, ecx
jne 0x101196bf
mov eax, dword [ebp + 0xc]
lea ecx, [esi + eax*2]
cmp edi, ecx
je 0x101196ea
xor eax, eax
cmp word [edi], ax
je 0x101196ea
add edi, 2
cmp edi, ecx
jne 0x101196de
mov ecx, edi
sub ecx, esi
sar ecx, 1
vzeroupper
jmp 0x101197d6
cmp eax, 1
jl 0x101197b5
mov ecx, dword [ebp + 8]
test cl, 1
je 0x10119730
mov eax, dword [ebp + 0xc]
mov esi, ecx
lea edx, [ecx + eax*2]
cmp esi, edx
je 0x10119663
xor eax, eax
cmp word [ecx], ax
je 0x10119663
add ecx, 2
cmp ecx, edx
jne 0x1011971b
jmp 0x10119663
mov edx, ecx
and edx, 0xf
push 0x10
pop eax
sub eax, edx
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [ebp + 0xc]
shr edx, 1
cmp eax, edx
jae 0x1011974b
mov edx, eax
mov esi, dword [ebp + 8]
lea edi, [ecx + edx*2]
xor eax, eax
cmp esi, edi
je 0x10119763
cmp word [ecx], ax
je 0x10119763
add ecx, 2
cmp ecx, edi
jne 0x10119757
sub ecx, esi
sar ecx, 1
cmp ecx, edx
jne 0x101197d6
mov eax, dword [ebp + 0xc]
lea edi, [esi + ecx*2]
sub eax, edx
xorps xmm1, xmm1
and eax, 0xfffffff0
add eax, ecx
lea ecx, [esi + eax*2]
jmp 0x10119792
movaps xmm0, xmm1
pcmpeqw xmm0, xmmword [edi]
pmovmskb eax, xmm0
test eax, eax
jne 0x10119796
add edi, 0x10
cmp edi, ecx
jne 0x10119780
mov eax, dword [ebp + 0xc]
lea ecx, [esi + eax*2]
cmp edi, ecx
je 0x101197ae
xor eax, eax
cmp word [edi], ax
je 0x101197ae
add edi, 2
cmp edi, ecx
jne 0x101197a2
mov ecx, edi
jmp 0x10119663
mov edx, dword [ebp + 8]
mov ecx, edx
mov eax, dword [ebp + 0xc]
lea esi, [edx + eax*2]
cmp edx, esi
je 0x101197d2
xor eax, eax
cmp word [ecx], ax
je 0x101197d2
add ecx, 2
cmp ecx, esi
jne 0x101197c6
sub ecx, edx
sar ecx, 1
pop edi
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x1011ae63
Capabilities:
Allocate thread local storage

Disassembly:
push 8
push 0x1019ca38
call fcn.100fd940
call fcn.1011c42d
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1011ae82
and dword [ebp - 4], 0
mov ecx, esi
call dword [0x1013c400]
call esi
jmp 0x1011ae7b
mov dword [ebp - 4], 0xfffffffe
call fcn.10117786
int3
Function at 0x1011e9be
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
call fcn.1011bd32
mov eax, dword [ebp + 0xc]
pop ecx
mov eax, dword [eax + 0xc]
nop
test al, 6
jne 0x1011e91b
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], 9
mov byte [eax + 0x1c], 1
mov eax, dword [ebp + 0xc]
push 0x10
pop ecx
add eax, 0xc
lock or dword [eax], ecx
or eax, 0xffffffff
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
nop
shr eax, 0xc
test al, 1
je 0x1011e935
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], 0x22
jmp 0x1011e906
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
nop
test al, 1
je 0x1011e968
push dword [ebp + 0xc]
call fcn.1011ec79
pop ecx
mov ecx, dword [ebp + 0xc]
and dword [ecx + 8], 0
test al, al
mov eax, dword [ebp + 0xc]
je 0x1011e90d
mov ecx, dword [eax + 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
push 0xfffffffffffffffe
pop ecx
add eax, 0xc
lock and dword [eax], ecx
mov eax, dword [ebp + 0xc]
push 2
pop ecx
add eax, 0xc
lock or dword [eax], ecx
mov eax, dword [ebp + 0xc]
push 0xfffffffffffffff7
pop ecx
add eax, 0xc
lock and dword [eax], ecx
mov eax, dword [ebp + 0xc]
and dword [eax + 8], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
nop
test eax, 0x4c0
jne 0x1011e9ab
push dword [ebp + 0xc]
call fcn.1011ed14
pop ecx
test al, al
jne 0x1011e9ab
push dword [ebp + 0xc]
call fcn.1011feb2
pop ecx
push ebx
push dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.1011ead3
add esp, 0xc
test al, al
jne 0x1011e9d3
mov eax, dword [ebp + 0xc]
push 0x10
pop ecx
add eax, 0xc
lock or dword [eax], ecx
or eax, 0xffffffff
jmp 0x1011e9d6
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x1011eb0b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
call fcn.1011bd32
pop ecx
mov ecx, dword [ebp + 0xc]
mov edx, eax
mov ecx, dword [ecx + 0xc]
nop
test cl, 0xc0
je 0x1011eb88
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
sub esi, eax
inc eax
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
dec ecx
mov dword [eax + 8], ecx
test esi, esi
jle 0x1011eb39
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
push dword [eax + 4]
push edx
call fcn.1011e5b6
add esp, 0x10
mov edi, eax
mov ecx, dword [ebp + 0xc]
cmp edi, esi
mov al, byte [ebp + 8]
mov ecx, dword [ecx + 4]
mov byte [ecx], al
sete al
jmp 0x1011eba1
cmp edx, 0xffffffff
je 0x1011eb59
cmp edx, 0xfffffffe
je 0x1011eb59
mov eax, edx
mov ecx, edx
and eax, 0x3f
sar ecx, 6
imul eax, eax, 0x38
add eax, dword [ecx*4 + 0x101b6b28]
jmp 0x1011eb5e
mov eax, 0x101a3720
test byte [eax + 0x28], 0x20
je 0x1011eb27
push 2
push edi
push edi
push edx
call fcn.1011f102
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1011eb27
mov eax, dword [ebp + 0xc]
push 0x10
pop ecx
add eax, 0xc
lock or dword [eax], ecx
mov al, 1
jmp 0x1011eba1
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push 1
push eax
push edx
call fcn.1011e5b6
add esp, 0x10
dec eax
neg eax
sbb al, al
inc al
pop edi
pop esi
pop ebp
ret
Function at 0x1011efb3
Capabilities:
Read file on windows

Disassembly:
push 0x18
push 0x1019cc18
call fcn.100fd940
mov ebx, dword [ebp + 8]
cmp ebx, 0xfffffffe
jne 0x1011ef8e
mov eax, dword [ebp + 0x18]
mov byte [eax + 0x24], 1
and dword [eax + 0x20], 0
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], 9
or edi, 0xffffffff
mov edx, edi
jmp 0x1011f05c
test ebx, ebx
js 0x1011efa1
cmp ebx, dword [0x101b6d28]
jae 0x1011efa1
xor eax, eax
inc eax
xor esi, esi
jmp 0x1011efa5
xor esi, esi
mov eax, esi
test eax, eax
jne 0x1011efce
mov eax, dword [ebp + 0x18]
mov byte [eax + 0x24], 1
mov dword [eax + 0x20], esi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], 9
push eax
push esi
push esi
push esi
push esi
push esi
call fcn.10109cd2
add esp, 0x18
jmp 0x1011ef84
mov ecx, ebx
sar ecx, 6
mov dword [ebp - 0x1c], ecx
mov eax, ebx
and eax, 0x3f
imul edx, eax, 0x38
mov dword [ebp - 0x20], edx
mov eax, dword [ecx*4 + 0x101b6b28]
test byte [eax + edx + 0x28], 1
je 0x1011efa9
push ebx
call fcn.10121e8a
pop ecx
or edi, 0xffffffff
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax*4 + 0x101b6b28]
mov ecx, dword [ebp - 0x20]
test byte [ecx + eax + 0x28], 1
jne 0x1011f02f
mov eax, dword [ebp + 0x18]
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], 9
mov byte [eax + 0x24], 1
mov dword [eax + 0x20], esi
mov esi, edi
jmp 0x1011f04e
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1011f07f
add esp, 0x14
mov edi, eax
mov dword [ebp - 0x28], edi
mov esi, edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.1011f077
mov edx, esi
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10127019
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov ecx, 0x101
push ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
add eax, 0x18
push eax
push ecx
push dword [0x101b6e2c]
call fcn.10109942
mov eax, dword [esi]
mov ecx, 0x100
push ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
add eax, 0x119
push eax
push ecx
push dword [0x101b6e30]
call fcn.10109942
mov eax, dword [esi + 4]
add esp, 0x20
or ecx, 0xffffffff
mov eax, dword [eax]
mov eax, dword [eax]
lock xadd dword [eax], ecx
jne 0x1012703b
mov eax, dword [esi + 4]
mov eax, dword [eax]
cmp dword [eax], 0x101a3ae0
je 0x1012703b
push dword [eax]
call fcn.1011b1ef
pop ecx
mov eax, dword [esi]
mov edx, dword [eax]
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 0x48]
mov dword [ecx], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
lock inc dword [eax]
pop esi
ret

Function at 0x101270b9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 0x10]
push 0
call fcn.1010eeff
and dword [0x101b6e38], 0
mov eax, dword [ebp + 8]
cmp eax, 0xfffffffe
jne 0x101270c6
mov dword [0x101b6e38], 1
call dword [sym.imp.kERnEl32.dLL_GetOEMCP]
jmp 0x101270f2
cmp eax, 0xfffffffd
jne 0x101270dd
mov dword [0x101b6e38], 1
call dword [sym.imp.kERnEl32.dLL_GetACP]
jmp 0x101270f2
cmp eax, 0xfffffffc
jne 0x101270f2
mov eax, dword [ebp - 0xc]
mov dword [0x101b6e38], 1
mov eax, dword [eax + 8]
cmp byte [ebp - 4], 0
je 0x10127102
mov ecx, dword [ebp - 0x10]
and dword [ecx + 0x350], 0xfffffffd
leave
ret

Function at 0x101274c2
Capabilities:
Set environment variable

Disassembly:
push 0xc
push 0x1019cd38
call fcn.100fd940
xor esi, esi
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp + 8]
mov eax, dword [0x101a3928]
test dword [edi + 0x350], eax
je 0x10127490
cmp dword [edi + 0x4c], esi
je 0x10127490
mov esi, dword [edi + 0x48]
test esi, esi
je 0x101274fb
jmp 0x101274e9
push 5
call fcn.10116f5d
pop ecx
mov dword [ebp - 4], esi
mov esi, dword [edi + 0x48]
mov dword [ebp - 0x1c], esi
mov ebx, dword [ebp + 0xc]
cmp esi, dword [ebx]
je 0x101274cf
test esi, esi
je 0x101274c4
or eax, 0xffffffff
lock xadd dword [esi], eax
jne 0x101274c4
cmp esi, 0x101a3ae0
je 0x101274c4
push esi
call fcn.1011b1ef
pop ecx
mov esi, dword [ebx]
mov dword [edi + 0x48], esi
mov dword [ebp - 0x1c], esi
lock inc dword [esi]
mov dword [ebp - 4], 0xfffffffe
call fcn.101274e0
jmp 0x1012748a
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.10117786
int3
Function at 0x101297b0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call fcn.1011c42d
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + 0x50]
lea eax, [esi + 0x250]
mov dword [esi + 8], ecx
mov word [eax], cx
lea ebx, [esi + 4]
mov dword [ebp - 4], eax
lea eax, [edi + 0x80]
mov dword [esi], edi
mov dword [ebx], eax
cmp word [eax], cx
je 0x1012975e
push ebx
push 0x16
push 0x10165d48
call fcn.101296a4
add esp, 0xc
xor ecx, ecx
mov eax, dword [esi]
push esi
cmp word [eax], cx
je 0x101297ad
mov eax, dword [ebx]
cmp word [eax], cx
je 0x10129774
call fcn.101290a1
jmp 0x10129779
call fcn.1012913a
xor eax, eax
pop ecx
cmp dword [esi + 8], eax
jne 0x101297b3
push esi
push pe_nt_image_headers32
push 0x10165a38
call fcn.101296a4
add esp, 0xc
test eax, eax
je 0x101297b3
mov eax, dword [ebx]
xor ecx, ecx
push esi
cmp word [eax], cx
je 0x101297a6
call fcn.101290a1
jmp 0x101297b2
call fcn.1012913a
jmp 0x101297b2
call fcn.1012901a
pop ecx
xor ebx, ebx
cmp dword [esi + 8], ebx
je 0x10129902
test edi, edi
je 0x101297d8
cmp word [edi], bx
jne 0x101297d8
cmp word [edi + 0x100], bx
jne 0x101297d8
call dword [sym.imp.kERnEl32.dLL_GetACP]
jmp 0x101297ed
lea eax, [edi + 0x100]
neg edi
push esi
sbb edi, edi
and edi, eax
push edi
call fcn.10129567
pop ecx
pop ecx
mov esi, eax
test esi, esi
je 0x10129902
cmp esi, 0xfde8
je 0x10129902
movzx eax, si
push eax
call dword [sym.imp.kERnEl32.dLL_IsValidCodePage]
test eax, eax
je 0x10129902
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1012981e
mov dword [eax], esi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x101298ed
mov ecx, dword [ebp - 4]
lea ebx, [edi + 0x120]
xor eax, eax
mov word [ebx], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 8]
jne 0x1012983a
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
push dword [ebp - 4]
push 0x55
push ebx
call fcn.10128fb6
add esp, 0x10
test eax, eax
jne 0x10129909
push pe_nt_image_headers32
push edi
push 0x1001
push ebx
call fcn.1011b7b9
test eax, eax
je 0x10129902
push pe_nt_image_headers32
lea ebx, [edi + 0x80]
push ebx
push 0x1002
lea eax, [edi + 0x120]
push eax
call fcn.1011b7b9
test eax, eax
je 0x10129902
push 0x5f
push ebx
call fcn.1012f117
pop ecx
pop ecx
test eax, eax
jne 0x101298b4
push 0x2e
push ebx
call fcn.1012f117
pop ecx
pop ecx
test eax, eax
je 0x101298c9
push pe_nt_image_headers32
push ebx
push 7
lea eax, [edi + 0x120]
push eax
call fcn.1011b7b9
test eax, eax
je 0x10129902
add edi, 0x100
cmp esi, 0xfde9
jne 0x101298f2
push 5
push str.utf8
push 0x10
push edi
call fcn.10128fb6
add esp, 0x10
test eax, eax
jne 0x10129909
xor eax, eax
inc eax
jmp 0x10129904
push 0xa
push 0x10
push edi
push esi
call fcn.1012d764
add esp, 0x10
jmp 0x101298ed
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10109d7c
int3