joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10162100
Capabilities:
Hash data with crc32

Disassembly:
movss xmm0, dword [0x101fa774]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [0x10450be0]
comiss xmm0, dword [edi + 0x1e6c]
ja 0x10162377
cmp dword [edi + 0x1e68], 0
jne 0x1016216e
or edx, 0xffffffff
mov esi, 0x101f3515
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x10162146
cmp byte [esi], al
jne 0x10162146
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 + 0x101f3710]
test al, al
jne 0x10162138
not edx
mov ecx, edx
call fcn.10158790
mov dword [edi + 0x1e68], eax
mov eax, dword [edi + 0x1d50]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], 0x7f7fffff
mov dword [esp + 0x1c], 0x7f7fffff
mov ecx, dword [eax]
mov eax, dword [edi + 0x1c74]
or eax, 0x10
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [0x101fa784]
mov dword [edi + 0x1c74], eax
or eax, 1
mulss xmm2, dword [0x101fa784]
mov dword [edi + 0x1cc0], 0
movss dword [esp + 0x14], xmm1
mov dword [edi + 0x1cc4], 0
movss dword [esp + 0x10], xmm2
movups xmm0, xmmword [esp + 0x10]
movups xmmword [edi + 0x1cb0], xmm0
movss xmm1, dword [ecx + 0x10]
movss xmm2, dword [ecx + 0xc]
mulss xmm1, dword [0x101fa7dc]
mulss xmm2, dword [0x101fa7dc]
addss xmm1, dword [ecx + 8]
addss xmm2, dword [ecx + 4]
mov dword [edi + 0x1c74], eax
mov ecx, 1
mov dword [edi + 0x1c8c], 0x3f000000
movss dword [edi + 0x1c88], xmm1
mov dword [edi + 0x1c90], 0x3f000000
movss dword [edi + 0x1c84], xmm2
mov dword [edi + 0x1c78], 1
movss xmm1, dword [edi + 0x1564]
movss xmm0, dword [edi + 0x1568]
addss xmm1, xmm1
addss xmm0, xmm0
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x14], xmm0
call fcn.101529b0
push 0xc1347
xor edx, edx
mov ecx, str.NavWindowingList
call fcn.1015aac0
mov ebp, dword [edi + 0x1bb8]
sub ebp, 1
js 0x10162361
nop dword [eax + eax]
mov eax, dword [edi + 0x1bc0]
mov esi, dword [eax + ebp*4]
cmp byte [esi + 0xa7], 0
je 0x10162358
cmp esi, dword [esi + 0x360]
jne 0x10162358
test dword [esi + 8], 0x80000
jne 0x10162358
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x101622e2
mov bl, byte [edx]
test bl, bl
je 0x101622de
cmp bl, 0x23
jne 0x101622d8
cmp byte [edx + 1], bl
je 0x101622de
inc edx
cmp edx, 0xffffffff
jb 0x101622c8
cmp ecx, edx
jne 0x10162333
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x101622f3
mov ecx, str._Popup_
jmp 0x10162333
test eax, 0x400
je 0x1016232e
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10162320
test dl, dl
je 0x1016231c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10162320
add ecx, 2
add eax, 2
test dl, dl
jne 0x10162300
xor eax, eax
jmp 0x10162325
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x10162333
mov ecx, str._Untitled_
cmp dword [edi + 0x1e60], esi
lea eax, [esp + 0x10]
push eax
push 0
sete dl
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.1017e0d0
sub ebp, 1
jns 0x10162290
call fcn.1015cd60
mov ecx, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.10152a30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10162460
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x14
mov edx, dword [0x10450be0]
mov eax, ecx
push ebx
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov ebp, dword [edi + 0x1bec]
test al, 0x10
jne 0x101625c1
mov ebx, dword [ebp + 0x138]
test ebx, ebx
je 0x101624c1
cmp dword [edi + 0x1c24], ebx
jne 0x101625b7
mov esi, dword [edi + 0x1c58]
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
cmp byte [esi + edi + 0x130], al
je 0x101625b7
xor al, al
jmp 0x1016254b
cmp byte [edi + 0x130], 0
je 0x101625b7
test al, 8
je 0x101625b7
test byte [ebp + 0x13c], 1
jne 0x101624f7
cmp dword [edi + 0x1c24], esi
je 0x101625b7
cmp dword [edi + 0x1c50], ebp
jne 0x101625b7
lea esi, [ebp + 0x140]
mov ecx, ebp
push esi
call fcn.101542b0
mov ebx, eax
mov ecx, esi
mov edx, ebx
mov dword [ebp + 0x138], ebx
call fcn.101545e0
mov byte [esp + 0x17], al
test al, al
je 0x1016253b
cmp byte [edi + 0x420], 0
je 0x1016253b
mov edx, ebp
mov ecx, ebx
call fcn.10154390
mov ecx, ebp
call fcn.1015cf40
mov al, byte [esp + 0x17]
cmp dword [edi + 0x1c24], ebx
jne 0x101625b7
mov edx, dword [0x10450be0]
xor esi, esi
mov byte [edi + 0x1c32], al
cmp byte [edx + esi + 0x130], 0
mov ecx, dword [ebp + 0xe0]
mov eax, dword [ebp + 0xe8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esp + 0x18], eax
jne 0x10162573
xor al, al
jmp 0x1016258b
movss xmm1, dword [edx + 0x74]
movss xmm0, dword [edx + esi*4 + 0x48c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
mov dword [edi + 0x1c38], 0xffffffff
mov dword [edi + 0x1c3c], 0xffffffff
mov dword [edi + 0x1c40], 0xffffffff
mov dword [edi + 0x1c44], 0xffffffff
test al, al
jne 0x101625fb
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebp, ebp
or ebx, 0xffffffff
mov edx, 0x101f34f5
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x101625de
cmp byte [edx], al
jne 0x101625de
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x101f3710]
test al, al
jne 0x101625d0
not ebx
mov esi, ebp
cmp byte [edi + 0x1e9c], 0
jne 0x1016263f
call fcn.10162380
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1eb8], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x1eb4], ebx
mov byte [edi + 0x1e9c], 1
mov dword [edi + 0x1ea0], eax
mov dword [edi + 0x1ea8], esi
cmp ebx, dword [edi + 0x1c24]
jne 0x1016263f
mov byte [edi + 0x1c33], 1
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0x1b90]
mov dword [edi + 0x1ea4], eax
mov byte [edi + 0x1e9d], 1
test bl, 1
jne 0x1016268d
xor edx, edx
xor ecx, ecx
call fcn.1015e770
cmp dword [edi + 0x1f04], 0
je 0x1016268d
test dword [edi + 0x1ef8], 0x1000
je 0x1016268d
mov eax, dword [edi + 0x1bec]
mov byte [eax + 0xab], 1
mov byte [eax + 0xc8], 1
test bl, 0x12
jne 0x10162699
and dword [ebp + 0x13c], 0xfffffffe
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x10164af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10164b26
mov eax, dword [0x10450be0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10164b16
dec dword [eax + 0x3b4]
push ecx
call fcn.101a83f9
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10164b5a
mov eax, dword [0x10450be0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x10164b4a
dec dword [eax + 0x3b4]
push ecx
call fcn.101a83f9
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10164b8e
mov eax, dword [0x10450be0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x10164b7e
dec dword [eax + 0x3b4]
push ecx
call fcn.101a83f9
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10164bde
mov eax, dword [0x10450be0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x10164bce
dec dword [eax + 0x3b4]
push ecx
call fcn.101a83f9
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10164c12
mov eax, dword [0x10450be0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10164c02
dec dword [eax + 0x3b4]
push ecx
call fcn.101a83f9
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10164c46
mov eax, dword [0x10450be0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10164c36
dec dword [eax + 0x3b4]
push ecx
call fcn.101a83f9
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10167880
Function at 0x1016be90
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x38
mov eax, dword [0x102090c0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x10450be0]
lea eax, [esp + 0x24]
push esi
push edi
push eax
push dword [0x10453330]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
movd xmm1, eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x20]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x54], xmm1
movss dword [ebx + 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x20]
mov ecx, edi
sub ecx, dword [0x10453320]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x10453324]
call fcn.101c2030
mov edx, dword [0x1045332c]
mov ecx, dword [0x10453328]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.101c2030
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x5c], xmm1
mov dword [0x10453324], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x10453320], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x140], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x141], al
call esi
shr eax, 0xf
and al, 1
mov byte [ebx + 0x143], 0
push 0xa0
mov byte [ebx + 0x142], al
call esi
shr eax, 0xf
and al, 1
push 0xa1
mov byte [ebx + 0x1e4], al
call esi
mov ecx, dword [0x10450be0]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x1e5], al
cmp byte [ecx + 0x39b], 0
lea esi, [ecx + 0x128]
je 0x1016bfe8
cvttss2si eax, dword [esi]
mov dword [esp + 0x10], eax
cvttss2si eax, dword [ecx + 0x12c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [0x10453330]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1016c054
mov ecx, dword [0x10453330]
cmp eax, ecx
je 0x1016c015
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1016c054
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1016c054
lea eax, [esp + 0x18]
push eax
push dword [0x10453330]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1016c054
movd xmm0, dword [esp + 0x18]
movd xmm1, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [ebx + 0xf4], 0
je 0x1016c062
or eax, 0xffffffff
jmp 0x1016c06d
mov eax, dword [0x10450be0]
mov eax, dword [eax + 0x1e98]
cmp dword [0x10226c9c], eax
je 0x1016c07f
mov dword [0x10226c9c], eax
call fcn.1016bd60
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1019ba64
add esp, 0x38
ret
Function at 0x101916e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 8]
mov edi, edx
and edi, 7
je 0x10191708
cmp edx, edi
jge 0x101916f8
call fcn.101910c0
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
mov dword [esi + 0xc], eax
xor eax, eax
mov ecx, edx
test edx, edx
jle 0x1019172e
mov edx, dword [esi + 0xc]
push ebx
mov bl, dl
mov byte [esp + eax + 0xc], bl
sub ecx, 8
shr edx, 8
inc eax
mov dword [esi + 0xc], edx
mov bl, dl
test ecx, ecx
jg 0x10191716
pop ebx
mov dword [esi + 8], ecx
test ecx, ecx
js 0x101917bc
cmp eax, 4
jge 0x10191757
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x10191748
xor dl, dl
jmp 0x1019174d
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [esp + eax + 8], dl
inc eax
cmp eax, 4
jl 0x10191740
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [esp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x101917bc
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x101917bc
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x101917a0
push edi
mov ecx, esi
call fcn.101911e0
test eax, eax
je 0x101917bc
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.1019d290
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x10196fe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x18
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x10197146
cmp dword [ecx + 0x1c], 0xf
lea edx, [ecx + 8]
mov eax, dword [ebp + 4]
push ebx
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esp + 0x14], eax
mov esi, ecx
mov eax, dword [ecx + 4]
push edi
mov dword [esp + 0x20], eax
jbe 0x1019701e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x10197041
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x10197030
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
nop
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.10198ca0
push 0x24
push edi
call fcn.1019bd5d
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x24]
je 0x101970a1
cmp esi, dword [esp + 0x30]
jne 0x10197060
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jne 0x10197136
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
jmp 0x10197136
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0x2c]
jne 0x101970b7
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x101970bb
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
cmp esi, dword [esp + 0x30]
je 0x10197136
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x101970d2
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x101970f1
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x101970e0
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.10198ca0
push 0x24
push edi
call fcn.1019bd5d
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x24]
je 0x1019714d
cmp esi, dword [esp + 0x30]
jne 0x10197108
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov eax, dword [esp + 0x20]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [esp + 0x2c]
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov dword [eax], edi
mov dword [eax + 4], edi
cmp esi, dword [esp + 0x30]
jne 0x101970c4
jmp 0x10197136
Function at 0x10197350
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
mov edx, ebx
push ebp
push esi
push edi
cmp dword [ebx + 0x14], 0xf
mov edi, dword [ebx + 0x10]
jbe 0x10197368
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x10197384
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x10197373
push esi
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.10198500
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x101973ac
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [0x1051c3d8], 0x71c71c7
je 0x1019750b
push 0x24
call fcn.1019bd70
add esp, 4
mov edi, eax
push ebx
lea ecx, [edi + 8]
call fcn.10020ca0
mov dword [edi + 0x20], 0
mov ebp, dword [0x1051c3d8]
mov ebx, dword [0x1051c3ec]
mov eax, ebx
shr eax, 0x1f
lea ecx, [ebp + 1]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x101fb1c0]
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x101fb1c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1051c3d0]
comiss xmm1, xmm0
jbe 0x1019749d
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101bfd20
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101c1ec0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1019747e
cmp ebx, 0x200
jae 0x1019747c
shl ebx, 3
cmp ebx, ecx
jae 0x1019747e
mov ebx, ecx
push ebx
call fcn.10197690
push esi
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10198500
mov ebp, dword [0x1051c3d8]
mov edx, dword [eax]
jmp 0x101974a1
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 4]
inc ebp
mov dword [0x1051c3d8], ebp
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [0x1051c3e8]
mov ecx, dword [0x1051c3dc]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x1051c3d4]
jne 0x101974d2
mov dword [ecx + eax*8], edi
jmp 0x101974f3
cmp esi, edx
jne 0x101974ed
mov dword [ecx + eax*8], edi
mov eax, dword [esp + 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
cmp dword [ecx + eax*8 + 4], ebx
jne 0x101974f7
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov byte [eax + 4], 1
pop ebx
add esp, 0xc
ret 8
push str.unordered_map_set_too_long
call fcn.1019a7ba
int3
Function at 0x10199e1e
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 0x10199e45
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10199e48
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.10199dfa
pop esi
leave
ret 8

Function at 0x101a9e92
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x102090c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x101cd000
push esi
call fcn.101b5f1a
pop ecx
pop ecx
test eax, eax
jne 0x101a9ec0
xor al, al
jmp 0x101a9f3d
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.101a9bd3
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x101a9efa
push dword [ebp - 0x210]
call fcn.101a83f9
xor al, al
jmp 0x101a9f3b
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x101a9f00
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x101a9f20
push edx
call fcn.101a9dc9
pop ecx
test al, al
je 0x101a9eeb
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x101a9f2e
mov bl, 1
push dword [ebp - 0x210]
call fcn.101a83f9
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1019ba64
leave
ret

Function at 0x101acc9b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x101accda
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101accda
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101accda
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x101accda
cmp dword [ecx + 0x74], 0xe
jbe 0x101accda
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x101ad276
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1019c8c0
mov eax, dword [0x102090c0]
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.101b0f2d
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x101ad2b8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x101ad414
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.101c1900
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 + 0x10228a00]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.101b5762
mov ecx, dword [esi*4 + 0x10228a00]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x101ad40d
cmp eax, dword [ecx + edi + 0x24]
jne 0x101ad40d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101ad40d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101b5762
add esp, 0x14
test edx, edx
jl 0x101ad40d
jg 0x101ad383
test eax, eax
jb 0x101ad40d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x101ad40d
jl 0x101ad39d
cmp dword [ebp - 0x1008], eax
ja 0x101ad40d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x101ad3bb
test ebx, ebx
je 0x101ad3f4
cmp ecx, edi
jae 0x101ad3f4
mov al, byte [ecx]
cmp al, 0xd
jne 0x101ad3d5
lea eax, [edi - 1]
cmp ecx, eax
jae 0x101ad3e1
cmp byte [ecx + 1], 0xa
jne 0x101ad3e1
inc ecx
jmp 0x101ad3e1
movzx eax, al
movsx eax, byte [eax + 0x10209378]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x101ad3bb
cmp edx, ebx
jne 0x101ad3bb
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x101ad412
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1019ba64
leave
ret
Function at 0x101b3b8d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101ce728
push 0x101ce720
push str.FlsAlloc
push 0x1f
call fcn.101b39f8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101b3bc1
push dword [ebp + 8]
mov ecx, esi
call dword [0x101ca2f8]
call esi
jmp 0x101b3bc7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101b3c0b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101ce738
push 0x101ce730
push str.FlsGetValue
push 0x21
call fcn.101b39f8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101b3c42
push dword [ebp + 8]
mov ecx, esi
call dword [0x101ca2f8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x101b3c4a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101ce740
push 0x101ce738
push str.FlsSetValue
push 0x22
call fcn.101b39f8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101b3c84
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x101ca2f8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]