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

Disassembly:
movss xmm0, dword [0x101ecad4]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [0x10423820]
comiss xmm0, dword [edi + 0x1e5c]
ja 0x10128467
cmp dword [edi + 0x1e58], 0
jne 0x1012825e
or edx, 0xffffffff
mov esi, 0x101e5ad9
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x10128236
cmp byte [esi], al
jne 0x10128236
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 + 0x101e5cf8]
test al, al
jne 0x10128228
not edx
mov ecx, edx
call fcn.1011e810
mov dword [edi + 0x1e58], eax
mov eax, dword [edi + 0x1d40]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], 0x7f7fffff
mov dword [esp + 0x1c], 0x7f7fffff
mov ecx, dword [eax]
mov eax, dword [edi + 0x1c64]
or eax, 0x10
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [0x101ecae0]
mov dword [edi + 0x1c64], eax
or eax, 1
mulss xmm2, dword [0x101ecae0]
mov dword [edi + 0x1cb0], 0
movss dword [esp + 0x14], xmm1
mov dword [edi + 0x1cb4], 0
movss dword [esp + 0x10], xmm2
movups xmm0, xmmword [esp + 0x10]
movups xmmword [edi + 0x1ca0], xmm0
movss xmm1, dword [ecx + 0x10]
movss xmm2, dword [ecx + 0xc]
mulss xmm1, dword [0x101ecb34]
mulss xmm2, dword [0x101ecb34]
addss xmm1, dword [ecx + 8]
addss xmm2, dword [ecx + 4]
mov dword [edi + 0x1c64], eax
mov ecx, 1
mov dword [edi + 0x1c7c], 0x3f000000
movss dword [edi + 0x1c78], xmm1
mov dword [edi + 0x1c80], 0x3f000000
movss dword [edi + 0x1c74], xmm2
mov dword [edi + 0x1c68], 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.10119410
push 0xc1347
xor edx, edx
mov ecx, str.NavWindowingList
call fcn.10120b40
mov ebp, dword [edi + 0x1ba8]
sub ebp, 1
js 0x10128451
nop dword [eax + eax]
mov eax, dword [edi + 0x1bb0]
mov esi, dword [eax + ebp*4]
cmp byte [esi + 0x8b], 0
je 0x10128448
cmp esi, dword [esi + 0x324]
jne 0x10128448
test dword [esi + 8], 0x80000
jne 0x10128448
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x101283d2
mov bl, byte [edx]
test bl, bl
je 0x101283ce
cmp bl, 0x23
jne 0x101283c8
cmp byte [edx + 1], bl
je 0x101283ce
inc edx
cmp edx, 0xffffffff
jb 0x101283b8
cmp ecx, edx
jne 0x10128423
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x101283e3
mov ecx, str._Popup_
jmp 0x10128423
test eax, 0x400
je 0x1012841e
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10128410
test dl, dl
je 0x1012840c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10128410
add ecx, 2
add eax, 2
test dl, dl
jne 0x101283f0
xor eax, eax
jmp 0x10128415
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x10128423
mov ecx, str._Untitled_
cmp dword [edi + 0x1e50], esi
lea eax, [esp + 0x10]
push eax
push 0
sete dl
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.101432d0
sub ebp, 1
jns 0x10128380
call fcn.10122da0
mov ecx, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.10119490
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10128550
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x14
mov edx, dword [0x10423820]
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 + 0x1bdc]
test al, 0x10
jne 0x101286b1
mov ebx, dword [ebp + 0x118]
test ebx, ebx
je 0x101285b1
cmp dword [edi + 0x1c10], ebx
jne 0x101286a7
mov esi, dword [edi + 0x1c48]
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
cmp byte [esi + edi + 0x130], al
je 0x101286a7
xor al, al
jmp 0x1012863b
cmp byte [edi + 0x130], 0
je 0x101286a7
test al, 8
je 0x101286a7
test byte [ebp + 0x11c], 1
jne 0x101285e7
cmp dword [edi + 0x1c10], esi
je 0x101286a7
cmp dword [edi + 0x1c40], ebp
jne 0x101286a7
lea esi, [ebp + 0x120]
mov ecx, ebp
push esi
call fcn.1011ab80
mov ebx, eax
mov ecx, esi
mov edx, ebx
mov dword [ebp + 0x118], ebx
call fcn.1011ae90
mov byte [esp + 0x17], al
test al, al
je 0x1012862b
cmp byte [edi + 0x420], 0
je 0x1012862b
mov edx, ebp
mov ecx, ebx
call fcn.1011ac40
mov ecx, ebp
call fcn.10122f80
mov al, byte [esp + 0x17]
cmp dword [edi + 0x1c10], ebx
jne 0x101286a7
mov edx, dword [0x10423820]
xor esi, esi
mov byte [edi + 0x1c1d], al
cmp byte [edx + esi + 0x130], 0
mov ecx, dword [ebp + 0xc0]
mov eax, dword [ebp + 0xc8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esp + 0x18], eax
jne 0x10128663
xor al, al
jmp 0x1012867b
movss xmm1, dword [edx + 0x74]
movss xmm0, dword [edx + esi*4 + 0x48c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
mov dword [edi + 0x1c24], 0xffffffff
mov dword [edi + 0x1c28], 0xffffffff
mov dword [edi + 0x1c30], 0xffffffff
mov dword [edi + 0x1c34], 0xffffffff
test al, al
jne 0x101286eb
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebp, ebp
or ebx, 0xffffffff
mov edx, 0x101e5afd
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x101286ce
cmp byte [edx], al
jne 0x101286ce
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 + 0x101e5cf8]
test al, al
jne 0x101286c0
not ebx
mov esi, ebp
cmp byte [edi + 0x1e8c], 0
jne 0x1012872f
call fcn.10128470
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1ea8], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x1ea4], ebx
mov byte [edi + 0x1e8c], 1
mov dword [edi + 0x1e90], eax
mov dword [edi + 0x1e98], esi
cmp ebx, dword [edi + 0x1c10]
jne 0x1012872f
mov byte [edi + 0x1c1e], 1
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0x1b80]
mov dword [edi + 0x1e94], eax
mov byte [edi + 0x1e8d], 1
test bl, 1
jne 0x1012877d
xor edx, edx
xor ecx, ecx
call fcn.101248f0
cmp dword [edi + 0x1ef4], 0
je 0x1012877d
test dword [edi + 0x1ee8], 0x1000
je 0x1012877d
mov eax, dword [edi + 0x1bdc]
mov byte [eax + 0x8f], 1
mov byte [eax + 0xa8], 1
test bl, 0x12
jne 0x10128789
and dword [ebp + 0x11c], 0xfffffffe
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x1012a520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1012a556
mov eax, dword [0x10423820]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1012a546
dec dword [eax + 0x3b4]
push ecx
call fcn.1016c4c9
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1012a58a
mov eax, dword [0x10423820]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1012a57a
dec dword [eax + 0x3b4]
push ecx
call fcn.1016c4c9
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1012a5be
mov eax, dword [0x10423820]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1012a5ae
dec dword [eax + 0x3b4]
push ecx
call fcn.1016c4c9
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 0x1012a60e
mov eax, dword [0x10423820]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1012a5fe
dec dword [eax + 0x3b4]
push ecx
call fcn.1016c4c9
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1012a642
mov eax, dword [0x10423820]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1012a632
dec dword [eax + 0x3b4]
push ecx
call fcn.1016c4c9
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1012a676
mov eax, dword [0x10423820]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1012a666
dec dword [eax + 0x3b4]
push ecx
call fcn.1016c4c9
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1012d2b0
Function at 0x1012df10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xfc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10c]
push edi
movss dword [esp + 0x10], xmm3
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
mov eax, dword [0x10423820]
test eax, eax
je 0x1012df59
inc dword [eax + 0x3b4]
push ebx
call fcn.1016d425
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
mov ebp, eax
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x1012e007
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x1012e007
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x104236dc], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x104236e4], ebp
shl ecx, 8
add ecx, ebp
mov dword [0x104236e8], ebp
add edi, ecx
mov ecx, esi
mov dword [0x104236e0], edi
call fcn.10130570
cmp eax, esi
je 0x1012e007
cmp dword [0x104236e8], edi
ja 0x1012e007
mov ecx, eax
mov esi, eax
call fcn.10130570
cmp eax, esi
jne 0x1012dff2
mov esi, dword [esp + 0x118]
test esi, esi
je 0x1012e01f
mov ecx, 0x1e
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
jmp 0x1012e05f
push 0x78
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.101618e0
mov eax, 0xffff
mov byte [esp + 0x2c], 1
add esp, 0xc
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 1
mov dword [esp + 0x50], 0x7f7fffff
mov dword [esp + 0x5c], 0x3f800000
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x11c]
lea esi, [esp + 0x18]
movss xmm0, dword [esp + 0x10]
lea edi, [esp + 0x90]
mov ecx, 0x1e
test eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1e
mov byte [esp + 0x98], 1
lea esi, [esp + 0x90]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x20], ebx
movss dword [esp + 0x2c], xmm0
call fcn.1012dac0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 0x10
Function at 0x101315e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [0x10423820]
lea eax, [esp + 0x20]
push esi
push edi
push eax
push dword [0x10425f70]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
movd xmm1, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
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 [0x10425f68]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x10425f6c]
call fcn.101860a0
mov edx, dword [0x10425f64]
mov ecx, dword [0x10425f60]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.101860a0
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x5c], xmm1
mov dword [0x10425f6c], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x10425f68], 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 [0x10423820]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x1e5], al
cmp byte [ecx + 0x39b], 0
lea esi, [ecx + 0x128]
je 0x1013172d
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 [0x10425f70]
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 0x10131799
mov ecx, dword [0x10425f70]
cmp eax, ecx
je 0x1013175a
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10131799
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10131799
lea eax, [esp + 0x18]
push eax
push dword [0x10425f70]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10131799
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 0x101317a7
or eax, 0xffffffff
jmp 0x101317b2
mov eax, dword [0x10423820]
mov eax, dword [eax + 0x1e88]
cmp dword [0x10216628], eax
je 0x101317c4
mov dword [0x10216628], eax
call fcn.101314b0
pop edi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x10154b60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
sub esp, 0xc
mov ecx, dword [0x10217cb0]
push ebx
push esi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x104eee90]
cmp eax, dword [esi + 4]
jle 0x10154c05
push 0x104eee90
call fcn.1015fec1
add esp, 4
cmp dword [0x104eee90], 0xffffffff
jne 0x10154c05
mov eax, dword [0x1021663c]
movq xmm0, qword [str.ST_RgMCKY]
push edi
mov edi, dword [eax + 8]
mov ax, word [0x101ec5c8]
movq qword [esp + 0xe], xmm0
mov word [esp + 0x16], ax
test ah, ah
je 0x10154be4
xor ebx, ebx
mov eax, 0x4ec4ec4f
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0xe], cl
inc ebx
cmp ebx, 0xa
jl 0x10154bc3
mov eax, dword [edi]
lea ecx, [esp + 0xe]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x104eee90
mov dword [0x104eee8c], eax
call fcn.1015fe70
add esp, 4
pop edi
mov eax, dword [0x104eee94]
cmp eax, dword [esi + 4]
jle 0x10154c94
push 0x104eee94
call fcn.1015fec1
add esp, 4
cmp dword [0x104eee94], 0xffffffff
jne 0x10154c94
mov eax, dword [0x1021663c]
movq xmm0, qword [str.ST_RgTU_Y]
mov esi, dword [eax + 8]
mov ax, word [0x101ec5b8]
movq qword [esp + 0xa], xmm0
mov word [esp + 0x12], ax
test ah, ah
je 0x10154c74
xor ebx, ebx
mov eax, 0x4ec4ec4f
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0xa], cl
inc ebx
cmp ebx, 0xa
jl 0x10154c53
mov eax, dword [esi]
lea ecx, [esp + 0xa]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x104eee94
mov dword [0x104eee98], eax
call fcn.1015fe70
add esp, 4
mov ecx, dword [0x104eee8c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
pop esi
pop ebx
cmp eax, 6
ja case.default.0x10154cc9
jmp dword [eax*4 + 0x10154d80]
mov ecx, dword [0x104eee98]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
cmp eax, 3
ja case.default.0x10154cc9
jmp dword [eax*4 + 0x10154d9c]
mov eax, 1
add esp, 0xc
ret
mov eax, 2
add esp, 0xc
ret
mov eax, 3
add esp, 0xc
ret
mov eax, 4
add esp, 0xc
ret
mov ecx, dword [0x104eee98]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
sub eax, 0
je 0x10154d22
sub eax, 1
je 0x10154d19
sub eax, 1
jne case.default.0x10154cc9
mov eax, 7
add esp, 0xc
ret
mov eax, 6
add esp, 0xc
ret
mov eax, 5
add esp, 0xc
ret
mov eax, 8
add esp, 0xc
ret
mov eax, 9
add esp, 0xc
ret
mov ecx, dword [0x104eee98]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
sub eax, 0
je 0x10154d5d
sub eax, 1
jne case.default.0x10154cc9
mov eax, 0xb
add esp, 0xc
ret
mov eax, 0xa
add esp, 0xc
ret
mov eax, 0xc
add esp, 0xc
ret
mov eax, 0xd
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret
Function at 0x101562e0
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 0x10156308
cmp edx, edi
jge 0x101562f8
call fcn.10155ce0
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 0x1015632e
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 0x10156316
pop ebx
mov dword [esi + 8], ecx
test ecx, ecx
js 0x101563bc
cmp eax, 4
jge 0x10156357
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x10156348
xor dl, dl
jmp 0x1015634d
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [esp + eax + 8], dl
inc eax
cmp eax, 4
jl 0x10156340
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 0x101563bc
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x101563bc
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x101563a0
push edi
mov ecx, esi
call fcn.10155e00
test eax, eax
je 0x101563bc
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.10161360
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 0x1015b5a0
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 0x1015b5b8
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x1015b5d4
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1015b5c3
push esi
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.1015c750
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1015b5fc
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 [0x104eeeb4], 0x71c71c7
je 0x1015b75b
push 0x24
call fcn.1015fe37
add esp, 4
mov edi, eax
push ebx
lea ecx, [edi + 8]
call fcn.10021800
mov dword [edi + 0x20], 0
mov ebp, dword [0x104eeeb4]
mov ebx, dword [0x104eeec8]
mov eax, ebx
shr eax, 0x1f
lea ecx, [ebp + 1]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x101ed320]
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x101ed320]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x104eeeac]
comiss xmm1, xmm0
jbe 0x1015b6ed
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.10183d30
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10185f30
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1015b6ce
cmp ebx, 0x200
jae 0x1015b6cc
shl ebx, 3
cmp ebx, ecx
jae 0x1015b6ce
mov ebx, ecx
push ebx
call fcn.1015b8e0
push esi
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1015c750
mov ebp, dword [0x104eeeb4]
mov edx, dword [eax]
jmp 0x1015b6f1
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 4]
inc ebp
mov dword [0x104eeeb4], ebp
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [0x104eeec4]
mov ecx, dword [0x104eeeb8]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x104eeeb0]
jne 0x1015b722
mov dword [ecx + eax*8], edi
jmp 0x1015b743
cmp esi, edx
jne 0x1015b73d
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 0x1015b747
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.1015e97a
int3
Function at 0x1015dfde
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 0x1015e005
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1015e008
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.1015dfba
pop esi
leave
ret 8

Function at 0x1016df52
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101fb0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x1018ff60
push esi
call fcn.10179e50
pop ecx
pop ecx
test eax, eax
jne 0x1016df80
xor al, al
jmp 0x1016dffd
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.1016dc93
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x1016dfba
push dword [ebp - 0x210]
call fcn.1016c4c9
xor al, al
jmp 0x1016dffb
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1016dfc0
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x1016dfe0
push edx
call fcn.1016de89
pop ecx
test al, al
je 0x1016dfab
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1016dfee
mov bl, 1
push dword [ebp - 0x210]
call fcn.1016c4c9
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10160138
leave
ret

Function at 0x101708e9
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10160990
mov eax, dword [0x101fb0c0]
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.10174e62
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10170f06
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10171062
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10185970
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 + 0x10218350]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10179698
mov ecx, dword [esi*4 + 0x10218350]
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 0x1017105b
cmp eax, dword [ecx + edi + 0x24]
jne 0x1017105b
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 0x1017105b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10179698
add esp, 0x14
test edx, edx
jl 0x1017105b
jg 0x10170fd1
test eax, eax
jb 0x1017105b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1017105b
jl 0x10170feb
cmp dword [ebp - 0x1008], eax
ja 0x1017105b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10171009
test ebx, ebx
je 0x10171042
cmp ecx, edi
jae 0x10171042
mov al, byte [ecx]
cmp al, 0xd
jne 0x10171023
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1017102f
cmp byte [ecx + 1], 0xa
jne 0x1017102f
inc ecx
jmp 0x1017102f
movzx eax, al
movsx eax, byte [eax + 0x101fb368]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10171009
cmp edx, ebx
jne 0x10171009
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10171060
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10160138
leave
ret