joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10163c40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
mov eax, dword [0x10456c08]
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x1bec]
mov esi, 4
add edi, 0xe0
mov dword [esp + 0x10], ecx
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + ebp*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101f9d38]
sub esi, 1
jne 0x10163c70
mov esi, dword [edi + 4]
not ebx
cmp ebp, esi
jne 0x10163cb7
lea ecx, [ebp + 1]
test esi, esi
je 0x10163ca5
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10163caa
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100c2eb0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x101685e0
Capabilities:
Hash data with crc32

Disassembly:
movss xmm0, dword [0x10200da4]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [0x10456c08]
comiss xmm0, dword [edi + 0x1e6c]
ja 0x10168857
cmp dword [edi + 0x1e68], 0
jne 0x1016864e
or edx, 0xffffffff
mov esi, 0x101f9b11
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x10168626
cmp byte [esi], al
jne 0x10168626
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 + 0x101f9d38]
test al, al
jne 0x10168618
not edx
mov ecx, edx
call fcn.1015ec70
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 [0x10200db4]
mov dword [edi + 0x1c74], eax
or eax, 1
mulss xmm2, dword [0x10200db4]
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 [0x10200e0c]
mulss xmm2, dword [0x10200e0c]
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.10159960
push 0xc1347
xor edx, edx
mov ecx, str.NavWindowingList
call fcn.10160fa0
mov ebp, dword [edi + 0x1bb8]
sub ebp, 1
js 0x10168841
nop dword [eax + eax]
mov eax, dword [edi + 0x1bc0]
mov esi, dword [eax + ebp*4]
cmp byte [esi + 0xa7], 0
je 0x10168838
cmp esi, dword [esi + 0x360]
jne 0x10168838
test dword [esi + 8], 0x80000
jne 0x10168838
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x101687c2
mov bl, byte [edx]
test bl, bl
je 0x101687be
cmp bl, 0x23
jne 0x101687b8
cmp byte [edx + 1], bl
je 0x101687be
inc edx
cmp edx, 0xffffffff
jb 0x101687a8
cmp ecx, edx
jne 0x10168813
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x101687d3
mov ecx, str._Popup_
jmp 0x10168813
test eax, 0x400
je 0x1016880e
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10168800
test dl, dl
je 0x101687fc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10168800
add ecx, 2
add eax, 2
test dl, dl
jne 0x101687e0
xor eax, eax
jmp 0x10168805
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x10168813
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.10183e50
sub ebp, 1
jns 0x10168770
call fcn.10163240
mov ecx, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.101599e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10168940
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x14
mov edx, dword [0x10456c08]
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 0x10168aa1
mov ebx, dword [ebp + 0x138]
test ebx, ebx
je 0x101689a1
cmp dword [edi + 0x1c24], ebx
jne 0x10168a97
mov esi, dword [edi + 0x1c58]
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
cmp byte [esi + edi + 0x130], al
je 0x10168a97
xor al, al
jmp 0x10168a2b
cmp byte [edi + 0x130], 0
je 0x10168a97
test al, 8
je 0x10168a97
test byte [ebp + 0x13c], 1
jne 0x101689d7
cmp dword [edi + 0x1c24], esi
je 0x10168a97
cmp dword [edi + 0x1c50], ebp
jne 0x10168a97
lea esi, [ebp + 0x140]
mov ecx, ebp
push esi
call fcn.1015b0e0
mov ebx, eax
mov ecx, esi
mov edx, ebx
mov dword [ebp + 0x138], ebx
call fcn.1015b410
mov byte [esp + 0x17], al
test al, al
je 0x10168a1b
cmp byte [edi + 0x420], 0
je 0x10168a1b
mov edx, ebp
mov ecx, ebx
call fcn.1015b1c0
mov ecx, ebp
call fcn.10163420
mov al, byte [esp + 0x17]
cmp dword [edi + 0x1c24], ebx
jne 0x10168a97
mov edx, dword [0x10456c08]
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 0x10168a53
xor al, al
jmp 0x10168a6b
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 0x10168adb
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebp, ebp
or ebx, 0xffffffff
mov edx, 0x101f9b25
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x10168abe
cmp byte [edx], al
jne 0x10168abe
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 + 0x101f9d38]
test al, al
jne 0x10168ab0
not ebx
mov esi, ebp
cmp byte [edi + 0x1e9c], 0
jne 0x10168b1f
call fcn.10168860
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 0x10168b1f
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 0x10168b6d
xor edx, edx
xor ecx, ecx
call fcn.10164c50
cmp dword [edi + 0x1f04], 0
je 0x10168b6d
test dword [edi + 0x1ef8], 0x1000
je 0x10168b6d
mov eax, dword [edi + 0x1bec]
mov byte [eax + 0xab], 1
mov byte [eax + 0xc8], 1
test bl, 0x12
jne 0x10168b79
and dword [ebp + 0x13c], 0xfffffffe
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x1016a930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1016a966
mov eax, dword [0x10456c08]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1016a956
dec dword [eax + 0x3b4]
push ecx
call fcn.101ae6b9
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1016a99a
mov eax, dword [0x10456c08]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1016a98a
dec dword [eax + 0x3b4]
push ecx
call fcn.101ae6b9
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1016a9ce
mov eax, dword [0x10456c08]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1016a9be
dec dword [eax + 0x3b4]
push ecx
call fcn.101ae6b9
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 0x1016aa1e
mov eax, dword [0x10456c08]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1016aa0e
dec dword [eax + 0x3b4]
push ecx
call fcn.101ae6b9
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1016aa52
mov eax, dword [0x10456c08]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1016aa42
dec dword [eax + 0x3b4]
push ecx
call fcn.101ae6b9
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1016aa86
mov eax, dword [0x10456c08]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1016aa76
dec dword [eax + 0x3b4]
push ecx
call fcn.101ae6b9
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1016d720
Function at 0x10171bb0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x38
mov eax, dword [0x1020f0c0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x10456c08]
lea eax, [esp + 0x24]
push esi
push edi
push eax
push dword [0x10459358]
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 [0x10459350]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x10459354]
call fcn.101c8300
mov edx, dword [0x1045934c]
mov ecx, dword [0x10459348]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.101c8300
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x5c], xmm1
mov dword [0x10459354], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x10459350], 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 [0x10456c08]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x1e5], al
cmp byte [ecx + 0x39b], 0
lea esi, [ecx + 0x128]
je 0x10171d08
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 [0x10459358]
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 0x10171d74
mov ecx, dword [0x10459358]
cmp eax, ecx
je 0x10171d35
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10171d74
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10171d74
lea eax, [esp + 0x18]
push eax
push dword [0x10459358]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10171d74
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 0x10171d82
or eax, 0xffffffff
jmp 0x10171d8d
mov eax, dword [0x10456c08]
mov eax, dword [eax + 0x1e98]
cmp dword [0x1022ccbc], eax
je 0x10171d9f
mov dword [0x1022ccbc], eax
call fcn.10171a80
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101a1d25
add esp, 0x38
ret
Function at 0x101979e0
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 0x10197a08
cmp edx, edi
jge 0x101979f8
call fcn.101973c0
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 0x10197a2e
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 0x10197a16
pop ebx
mov dword [esi + 8], ecx
test ecx, ecx
js 0x10197abc
cmp eax, 4
jge 0x10197a57
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x10197a48
xor dl, dl
jmp 0x10197a4d
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [esp + eax + 8], dl
inc eax
cmp eax, 4
jl 0x10197a40
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 0x10197abc
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x10197abc
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x10197aa0
push edi
mov ecx, esi
call fcn.101974e0
test eax, eax
je 0x10197abc
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.101a3550
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 0x1019d2d0
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 0x1019d434
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 0x1019d30e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x1019d331
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x1019d320
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.1019ef90
push 0x24
push edi
call fcn.101a201e
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x24]
je 0x1019d391
cmp esi, dword [esp + 0x30]
jne 0x1019d350
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jne 0x1019d424
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
jmp 0x1019d424
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0x2c]
jne 0x1019d3a7
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x1019d3ab
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
cmp esi, dword [esp + 0x30]
je 0x1019d424
cmp dword [esi + 0x1c], 0xf
lea edi, [esi + 8]
mov ebx, dword [edi + 0x10]
jbe 0x1019d3c2
mov edi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1019d3e1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1019d3d0
and edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x18]
lea eax, [eax + edx*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.1019ef90
push 0x24
push edi
call fcn.101a201e
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x24]
je 0x1019d43b
cmp esi, dword [esp + 0x30]
jne 0x1019d3f6
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 edx, dword [esp + 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp esi, dword [esp + 0x30]
jne 0x1019d3b4
jmp 0x1019d424
Function at 0x1019d640
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 0x1019d658
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x1019d674
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1019d663
push esi
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.1019e7f0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1019d69c
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 [0x10522408], 0x71c71c7
je 0x1019d7fb
push 0x24
call fcn.101a2031
add esp, 4
mov edi, eax
push ebx
lea ecx, [edi + 8]
call fcn.10021970
mov dword [edi + 0x20], 0
mov ebp, dword [0x10522408]
mov ebx, dword [0x1052241c]
mov eax, ebx
shr eax, 0x1f
lea ecx, [ebp + 1]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x102017b0]
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x102017b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10522400]
comiss xmm1, xmm0
jbe 0x1019d78d
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101c5ff0
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101c8190
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1019d76e
cmp ebx, 0x200
jae 0x1019d76c
shl ebx, 3
cmp ebx, ecx
jae 0x1019d76e
mov ebx, ecx
push ebx
call fcn.1019d980
push esi
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1019e7f0
mov ebp, dword [0x10522408]
mov edx, dword [eax]
jmp 0x1019d791
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 4]
inc ebp
mov dword [0x10522408], ebp
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [0x10522418]
mov ecx, dword [0x1052240c]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x10522404]
jne 0x1019d7c2
mov dword [ecx + eax*8], edi
jmp 0x1019d7e3
cmp esi, edx
jne 0x1019d7dd
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 0x1019d7e7
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.101a0aaa
int3
Function at 0x101a010e
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 0x101a0135
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x101a0138
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.101a00ea
pop esi
leave
ret 8

Function at 0x101b0152
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1020f0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x101d2fe0
push esi
call fcn.101bc1dc
pop ecx
pop ecx
test eax, eax
jne 0x101b0180
xor al, al
jmp 0x101b01fd
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.101afe93
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x101b01ba
push dword [ebp - 0x210]
call fcn.101ae6b9
xor al, al
jmp 0x101b01fb
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x101b01c0
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x101b01e0
push edx
call fcn.101b0089
pop ecx
test al, al
je 0x101b01ab
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x101b01ee
mov bl, 1
push dword [ebp - 0x210]
call fcn.101ae6b9
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101a1d25
leave
ret

Function at 0x101b2f5b
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.101a2b80
mov eax, dword [0x1020f0c0]
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.101b71ef
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x101b3579
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x101b36d5
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.101c7bd0
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 + 0x1022ea20]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.101bba24
mov ecx, dword [esi*4 + 0x1022ea20]
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 0x101b36ce
cmp eax, dword [ecx + edi + 0x24]
jne 0x101b36ce
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 0x101b36ce
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101bba24
add esp, 0x14
test edx, edx
jl 0x101b36ce
jg 0x101b3644
test eax, eax
jb 0x101b36ce
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x101b36ce
jl 0x101b365e
cmp dword [ebp - 0x1008], eax
ja 0x101b36ce
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x101b367c
test ebx, ebx
je 0x101b36b5
cmp ecx, edi
jae 0x101b36b5
mov al, byte [ecx]
cmp al, 0xd
jne 0x101b3696
lea eax, [edi - 1]
cmp ecx, eax
jae 0x101b36a2
cmp byte [ecx + 1], 0xa
jne 0x101b36a2
inc ecx
jmp 0x101b36a2
movzx eax, al
movsx eax, byte [eax + 0x1020f378]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x101b367c
cmp edx, ebx
jne 0x101b367c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x101b36d3
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.101a1d25
leave
ret
Function at 0x101b9e4f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101d4708
push 0x101d4700
push str.FlsAlloc
push 0x1f
call fcn.101b9cba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101b9e83
push dword [ebp + 8]
mov ecx, esi
call dword [0x101d02ec]
call esi
jmp 0x101b9e89
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101b9ecd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101d4718
push 0x101d4710
push str.FlsGetValue
push 0x21
call fcn.101b9cba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101b9f04
push dword [ebp + 8]
mov ecx, esi
call dword [0x101d02ec]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x101b9f0c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101d4720
push 0x101d4718
push str.FlsSetValue
push 0x22
call fcn.101b9cba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101b9f46
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x101d02ec]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]