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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x10011991
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10016700
push 0x2c
push edi
call fcn.1005535b
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100118ed
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100118a0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x10011987
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x10011901
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x10011904
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x10011987
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10016700
push 0x2c
push edi
call fcn.1005535b
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x10011998
cmp esi, eax
jne 0x10011957
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x10011910
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100126c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007eda0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1009f080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1005500c
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1005439c
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10012150
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

Function at 0x100139a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1009f080]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push edi
push eax
push 0x40
push 4
push esi
mov edi, ecx
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0x10]
mov dword [esi], edi
test eax, eax
je 0x100139f3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.10054d47
mov esp, ebp
pop ebp
ret
Function at 0x10015de0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10015f3a
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10011480
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 0x10015f0d
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 [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x10015e93
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10015f03
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10015ecd
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10015ec5
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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x10015f00
cmp edi, edx
je 0x10015edd
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10015f16
cmp edi, edx
jne 0x10015ed1
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 - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10015e42
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10015f00
push str.invalid_hash_bucket_count
call fcn.10054185
int3
Function at 0x100172a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x100a1fe0]
cmp byte [eax], 0
je 0x10017311
cmp byte [ecx + 0x1f], 0
jne 0x10017311
cmp byte [ecx + 0x1e], 0
je 0x100172c3
mov eax, dword [0x100a1f60]
test dword [eax], 0x1000
jne 0x10017311
mov eax, dword [ecx + 0x20]
cmp eax, 3
je 0x10017311
cmp eax, 2
jne 0x100172d3
mov al, 1
ret
push esi
mov esi, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x10]
push ecx
cmp eax, 1
jne 0x100172ed
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
pop esi
ret
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp esi, 0xffffffff
je 0x100172e9
shr eax, 0xf
and al, 1
cmp al, byte [esi + 0x100a1ce8]
je 0x1001730d
mov byte [esi + 0x100a1ce8], al
pop esi
ret
xor al, al
pop esi
ret
xor al, al
ret

Function at 0x100196f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10019751
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10019734
cmp edi, 2
jb 0x10019734
cmp byte [esi], cl
jne 0x10019734
cmp byte [esi + 1], cl
jne 0x10019734
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1008d9f8]
jmp 0x10019705
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1008d9f8]
test edi, edi
jne 0x10019705
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10019780
cmp cl, 0x23
jne 0x10019767
cmp byte [esi], cl
jne 0x10019767
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1008d9f8]
test cl, cl
jne 0x10019758
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10019900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10019923
push 0x628
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str.filename__mode
call fcn.100679c3
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x10019930
mov dword [edi], 0
mov edx, 0x1008d6f0
mov ecx, esi
call fcn.10019790
mov esi, eax
test esi, esi
je 0x10019a0f
push esi
call fcn.10065022
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10019a06
push 2
push 0
push esi
call fcn.10064684
add esp, 0xc
test eax, eax
jne 0x10019a06
push esi
call fcn.10065022
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10019a06
push 0
push dword [ebp + 8]
push esi
call fcn.10064684
add esp, 0xc
test eax, eax
jne 0x10019a06
mov eax, dword [0x100a1be4]
test eax, eax
je 0x100199a5
inc dword [eax + 0x374]
push ebx
call fcn.10067a44
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10019a06
push esi
push ebx
push 1
push eax
call fcn.100642b5
add esp, 0x10
push esi
cmp eax, ebx
je 0x100199f0
call fcn.1005a3f6
mov eax, dword [0x100a1be4]
add esp, 4
test eax, eax
je 0x100199de
dec dword [eax + 0x374]
push dword [ebp + 8]
call fcn.10060953
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.1005a3f6
add esp, 4
test edi, edi
je 0x100199fe
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.1005a3f6
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1001bd10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xbc], 0
jg 0x1001bd37
push 0x52d
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.Size___0
call fcn.100679c3
add esp, 0xc
mov ecx, dword [esi + 0xbc]
mov edi, 4
mov eax, dword [esi + 0xc4]
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1008d9f8]
sub edi, 1
jne 0x1001bd51
mov ecx, dword [0x100a1be4]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a34], eax
jne 0x1001bd83
mov dword [ecx + 0x1a38], eax
cmp dword [ecx + 0x1a6c], eax
jne 0x1001bd92
mov byte [ecx + 0x1a70], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1009f080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xbc], 0
jg 0x1001bdd4
push 0x52d
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.Size___0
call fcn.100679c3
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edi, 0x10
movss xmm0, dword [ecx]
subss xmm0, dword [esi + 0xc]
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [esi + 0x10]
mov ecx, dword [esi + 0xbc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1008d9f8]
sub edi, 1
jne 0x1001be34
mov eax, dword [0x100a1be4]
not edx
pop edi
pop esi
cmp dword [eax + 0x1a34], edx
jne 0x1001be65
mov dword [eax + 0x1a38], edx
cmp dword [eax + 0x1a6c], edx
jne 0x1001be74
mov byte [eax + 0x1a70], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.10054d47
mov esp, ebp
pop ebp
ret 4
Function at 0x1001e0f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
jne 0x1001e109
cmp byte [edi + 0x2d94], 0
je 0x1001e120
push 0xf38
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str._g.Initialized___g.SettingsLoaded
call fcn.100679c3
add esp, 0xc
or edx, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x1008aee1
mov al, 0x57
or ebx, 0xffffffff
nop dword [eax + eax]
cmp al, 0x23
jne 0x1001e14e
cmp byte [esi], al
jne 0x1001e14e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1008d9f8]
test al, al
jne 0x1001e140
mov esi, dword [edi + 0x2da8]
not edx
mov ecx, dword [edi + 0x2dac]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x1002b570
mov dword [ebp - 0xc], 0x1002b5d0
mov dword [ebp - 8], 0x1002b6a0
cmp esi, ecx
jne 0x1001e222
inc esi
test ecx, ecx
je 0x1001e1a5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001e1aa
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1001e222
mov eax, dword [0x100a1be4]
test eax, eax
je 0x1001e1c2
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.10067a44
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x2db0]
test eax, eax
je 0x1001e216
mov ecx, dword [edi + 0x2da8]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call fcn.100568e0
mov ecx, dword [edi + 0x2db0]
add esp, 0xc
test ecx, ecx
je 0x1001e20d
mov eax, dword [0x100a1be4]
test eax, eax
je 0x1001e20d
dec dword [eax + 0x374]
push ecx
call fcn.10060953
add esp, 4
mov dword [edi + 0x2db0], ebx
mov dword [edi + 0x2dac], esi
mov eax, dword [edi + 0x2da8]
movups xmm0, xmmword [ebp - 0x18]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2db0]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi + 0x2da8]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001f5c0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1001f5ff
cmp bl, 0x23
jne 0x1001f5e1
cmp byte [esi], bl
jne 0x1001f5e1
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x1008d9f8]
test bl, bl
jne 0x1001f5d2
mov ecx, dword [0x100a1be4]
not eax
mov esi, dword [ecx + 0x19f0]
mov edi, dword [ecx + 0x19f8]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1001f63e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1001f638
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1001f63a
mov esi, edx
test esi, esi
jne 0x1001f620
cmp edi, ebx
je 0x1001f64d
cmp dword [edi], eax
jne 0x1001f64d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10024d50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1009f080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100a1be4]
push ebx
push esi
push edi
mov esi, dword [eax + 0x1a00]
add esi, 0xbc
mov dword [ebp - 8], ecx
cmp dword [esi], 0
jg 0x10024d93
push 0x52d
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.Size___0
call fcn.100679c3
add esp, 0xc
mov eax, dword [esi]
lea edx, [ebp - 8]
mov ebx, dword [esi + 8]
mov edi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1008d9f8]
sub edi, 1
jne 0x10024da6
mov ecx, dword [esi + 4]
not ebx
mov edi, dword [esi]
cmp edi, ecx
jne 0x10024ded
inc edi
test ecx, ecx
je 0x10024ddb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10024de0
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1002c1d0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
pop edi
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10054d47
mov esp, ebp
pop ebp
ret
Function at 0x10053b18
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 0x10053b3f
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10053b42
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.10053af4
pop esi
leave
ret 8

Function at 0x10064de5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10055e80
mov eax, dword [0x1009f080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100698ba
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10064e27
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10064f83
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1007aa50
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100a0f70]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.1006ffba
mov ecx, dword [esi*4 + 0x100a0f70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x10064f7c
cmp eax, dword [edi + ecx + 0x24]
jne 0x10064f7c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10064f7c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1006ffba
add esp, 0x14
test edx, edx
jl 0x10064f7c
jg 0x10064ef2
test eax, eax
jb 0x10064f7c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10064f7c
jl 0x10064f0c
cmp dword [ebp - 0x1008], eax
ja 0x10064f7c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10064f2a
test ebx, ebx
je 0x10064f63
cmp ecx, edi
jae 0x10064f63
mov al, byte [ecx]
cmp al, 0xd
jne 0x10064f44
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10064f50
cmp byte [ecx + 1], 0xa
jne 0x10064f50
inc ecx
jmp 0x10064f50
movzx eax, al
movsx eax, byte [eax + 0x1009f338]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10064f2a
cmp edx, ebx
jne 0x10064f2a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10064f81
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10054d47
leave
ret
Function at 0x1006e2d6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006e147

Function at 0x1006e7c9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100856f8
push 0x100856f0
push str.FlsAlloc
push 0x1e
call fcn.1006e613
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1006e7fd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10081208]
call esi
jmp 0x1006e803
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1006e847
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10085708
push 0x10085700
push str.FlsGetValue
push 0x20
call fcn.1006e613
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1006e87e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10081208]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1006f458
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100a0f70]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1006f498
cmp byte [ebx], 0xa
jne 0x1006f498
or byte [eax + edi + 0x28], 4
jmp 0x1006f49d
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1006f59b
mov al, byte [edx]
cmp al, 0x1a
je 0x1006f57d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1006f4cc
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x1006f4f1
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1006f4fb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x1006f4ae
jmp 0x1006f59b
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006f578
cmp dword [ebp - 0xc], 0
je 0x1006f578
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x100a0f70]
test byte [eax + edi + 0x28], 0x48
je 0x1006f552
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1006f53d
mov byte [esi], dl
jmp 0x1006f54e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100a0f70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1006f59b
cmp byte [ebp - 1], 0xa
jne 0x1006f561
cmp esi, ebx
jne 0x1006f561
mov byte [esi], 0xa
jmp 0x1006f59a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1006ffd8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1006f59b
mov byte [esi], 0xd
jmp 0x1006f59a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x100a0f70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1006f597
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1006f59b
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret