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

Disassembly:
sub esp, 0x14
mov edx, dword [0x10453c48]
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 0x10166841
mov ebx, dword [ebp + 0x138]
test ebx, ebx
je 0x10166741
cmp dword [edi + 0x1c24], ebx
jne 0x10166837
mov esi, dword [edi + 0x1c58]
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
cmp byte [esi + edi + 0x130], al
je 0x10166837
xor al, al
jmp 0x101667cb
cmp byte [edi + 0x130], 0
je 0x10166837
test al, 8
je 0x10166837
test byte [ebp + 0x13c], 1
jne 0x10166777
cmp dword [edi + 0x1c24], esi
je 0x10166837
cmp dword [edi + 0x1c50], ebp
jne 0x10166837
lea esi, [ebp + 0x140]
mov ecx, ebp
push esi
call fcn.10158530
mov ebx, eax
mov ecx, esi
mov edx, ebx
mov dword [ebp + 0x138], ebx
call fcn.10158860
mov byte [esp + 0x17], al
test al, al
je 0x101667bb
cmp byte [edi + 0x420], 0
je 0x101667bb
mov edx, ebp
mov ecx, ebx
call fcn.10158610
mov ecx, ebp
call fcn.101612c0
mov al, byte [esp + 0x17]
cmp dword [edi + 0x1c24], ebx
jne 0x10166837
mov edx, dword [0x10453c48]
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 0x101667f3
xor al, al
jmp 0x1016680b
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 0x1016687b
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebp, ebp
or ebx, 0xffffffff
mov edx, 0x101fad1d
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x1016685e
cmp byte [edx], al
jne 0x1016685e
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 + 0x101faf38]
test al, al
jne 0x10166850
not ebx
mov esi, ebp
cmp byte [edi + 0x1e9c], 0
jne 0x101668bf
call fcn.10166600
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 0x101668bf
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 0x1016690d
xor edx, edx
xor ecx, ecx
call fcn.10162ae0
cmp dword [edi + 0x1f04], 0
je 0x1016690d
test dword [edi + 0x1ef8], 0x1000
je 0x1016690d
mov eax, dword [edi + 0x1bec]
mov byte [eax + 0xab], 1
mov byte [eax + 0xc8], 1
test bl, 0x12
jne 0x10166919
and dword [ebp + 0x13c], 0xfffffffe
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x10168a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10168a46
mov eax, dword [0x10453c48]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10168a36
dec dword [eax + 0x3b4]
push ecx
call fcn.101acb3c
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10168a7a
mov eax, dword [0x10453c48]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x10168a6a
dec dword [eax + 0x3b4]
push ecx
call fcn.101acb3c
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10168aae
mov eax, dword [0x10453c48]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x10168a9e
dec dword [eax + 0x3b4]
push ecx
call fcn.101acb3c
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 0x10168afe
mov eax, dword [0x10453c48]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x10168aee
dec dword [eax + 0x3b4]
push ecx
call fcn.101acb3c
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10168b32
mov eax, dword [0x10453c48]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10168b22
dec dword [eax + 0x3b4]
push ecx
call fcn.101acb3c
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10168b66
mov eax, dword [0x10453c48]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10168b56
dec dword [eax + 0x3b4]
push ecx
call fcn.101acb3c
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1016b810
Function at 0x1016fe10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x38
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x10453c48]
lea eax, [esp + 0x24]
push esi
push edi
push eax
push dword [0x10456398]
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 [0x10456390]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x10456394]
call fcn.101c7440
mov edx, dword [0x1045638c]
mov ecx, dword [0x10456388]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.101c7440
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x5c], xmm1
mov dword [0x10456394], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x10456390], 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 [0x10453c48]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x1e5], al
cmp byte [ecx + 0x39b], 0
lea esi, [ecx + 0x128]
je 0x1016ff68
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 [0x10456398]
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 0x1016ffd4
mov ecx, dword [0x10456398]
cmp eax, ecx
je 0x1016ff95
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1016ffd4
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1016ffd4
lea eax, [esp + 0x18]
push eax
push dword [0x10456398]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1016ffd4
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 0x1016ffe2
or eax, 0xffffffff
jmp 0x1016ffed
mov eax, dword [0x10453c48]
mov eax, dword [eax + 0x1e98]
cmp dword [0x10229c6c], eax
je 0x1016ffff
mov dword [0x10229c6c], eax
call fcn.1016fce0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101a0143
add esp, 0x38
ret
Function at 0x10195b70
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 0x10195b98
cmp edx, edi
jge 0x10195b88
call fcn.10195530
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 0x10195bbe
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 0x10195ba6
pop ebx
mov dword [esi + 8], ecx
test ecx, ecx
js 0x10195c4c
cmp eax, 4
jge 0x10195be7
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x10195bd8
xor dl, dl
jmp 0x10195bdd
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [esp + eax + 8], dl
inc eax
cmp eax, 4
jl 0x10195bd0
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 0x10195c4c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x10195c4c
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x10195c30
push edi
mov ecx, esi
call fcn.10195650
test eax, eax
je 0x10195c4c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.101a1ab0
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 0x1019b450
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 0x1019b5b6
cmp dword [ecx + 0x1c], 0x10
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
jb 0x1019b48e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x1019b4b1
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x1019b4a0
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.1019d2e0
push 0x24
push edi
call fcn.101a043c
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x24]
je 0x1019b511
cmp esi, dword [esp + 0x30]
jne 0x1019b4d0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x2c]
jne 0x1019b5a6
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
jmp 0x1019b5a6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0x2c]
jne 0x1019b527
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x1019b52b
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
cmp esi, dword [esp + 0x30]
je 0x1019b5a6
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x1019b542
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x1019b561
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x1019b550
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.1019d2e0
push 0x24
push edi
call fcn.101a043c
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x24]
je 0x1019b5bd
cmp esi, dword [esp + 0x30]
jne 0x1019b578
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 0x1019b534
jmp 0x1019b5a6
Function at 0x1019bbe0
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], 0x10
mov edi, dword [ebx + 0x10]
jb 0x1019bbf8
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x1019bc14
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1019bc03
push esi
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.1019cb90
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1019bc3c
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 [0x1051f440], 0x71c71c7
je 0x1019bd9b
push 0x24
call fcn.101a044f
add esp, 4
mov edi, eax
push ebx
lea ecx, [edi + 8]
call fcn.10020b00
mov dword [edi + 0x20], 0
mov ebp, dword [0x1051f440]
mov ebx, dword [0x1051f454]
mov eax, ebx
shr eax, 0x1f
lea ecx, [ebp + 1]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10202a70]
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10202a70]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1051f438]
comiss xmm1, xmm0
jbe 0x1019bd2d
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101c5b60
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101c72d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1019bd0e
cmp ebx, 0x200
jae 0x1019bd0c
shl ebx, 3
cmp ebx, ecx
jae 0x1019bd0e
mov ebx, ecx
push ebx
call fcn.1019be20
push esi
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1019cb90
mov ebp, dword [0x1051f440]
mov edx, dword [eax]
jmp 0x1019bd31
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 4]
inc ebp
mov dword [0x1051f440], ebp
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [0x1051f450]
mov ecx, dword [0x1051f444]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x1051f43c]
jne 0x1019bd62
mov dword [ecx + eax*8], edi
jmp 0x1019bd83
cmp esi, edx
jne 0x1019bd7d
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 0x1019bd87
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.1019ecc1
int3
Function at 0x1019be20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push ebp
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [esp + 0x18]
push edi
cmp ecx, eax
ja 0x1019bfdf
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x1051f43c]
push eax
mov dword [esp + 0x20], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x1051f444
lea eax, [esi + esi]
push eax
call fcn.10023e20
mov edi, dword [0x1051f43c]
lea eax, [esi - 1]
mov ecx, dword [esp + 0x1c]
mov dword [0x1051f450], eax
mov dword [0x1051f454], esi
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x1019bfb5
nop dword [eax]
cmp dword [edi + 0x1c], 0x10
lea ebx, [edi + 8]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jb 0x1019bea9
mov edx, dword [ebx]
mov dword [esp + 0x14], edx
xor esi, esi
mov ebp, 0x811c9dc5
cmp dword [ebx + 0x10], esi
jbe 0x1019bed6
mov ecx, dword [esp + 0x14]
nop dword [eax]
movzx edx, byte [esi + ecx]
inc esi
xor edx, ebp
imul ebp, edx, 0x1000193
cmp esi, dword [ebx + 0x10]
jb 0x1019bec0
mov ecx, dword [esp + 0x1c]
and ebp, dword [0x1051f450]
mov edx, dword [0x1051f444]
lea edx, [edx + ebp*8]
mov dword [esp + 0x14], edx
cmp dword [edx], ecx
jne 0x1019bef7
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x1019bfab
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x1019bf08
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x1019bf12
mov ecx, dword [ebx]
mov ebp, dword [ebx + 0x10]
push edx
push eax
mov edx, ebp
call fcn.1002f620
test al, al
je 0x1019bf4d
mov ecx, dword [esi]
mov eax, dword [esp + 0x10]
cmp ecx, edi
je 0x1019bf44
mov ebx, dword [edi + 4]
mov dword [ebx], eax
mov esi, dword [eax + 4]
mov dword [esi], ecx
mov edx, dword [ecx + 4]
mov dword [edx], edi
mov dword [ecx + 4], esi
mov dword [eax + 4], ebx
mov dword [edi + 4], edx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], edi
jmp 0x1019bfa7
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
je 0x1019bf85
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x1019bf66
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x1019bf70
mov ecx, dword [ebx]
push edx
push eax
mov edx, ebp
call fcn.1002f620
test al, al
jne 0x1019bfbf
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x1019bf55
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
mov edx, dword [eax + 4]
mov dword [edx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov dword [esi + 4], edx
mov dword [eax + 4], ebx
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx], edi
mov ecx, dword [esp + 0x1c]
mov edi, eax
cmp eax, ecx
jne 0x1019be90
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x1019bfa7
push str.invalid_hash_bucket_count
call fcn.1019ecc1
int3
Function at 0x1019e329
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1019e305
pop esi
leave
ret 8

Function at 0x101ae5e0
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1020c0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x101d1090
push esi
call fcn.101ba7cd
pop ecx
pop ecx
test eax, eax
jne 0x101ae60e
xor al, al
jmp 0x101ae68b
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.101ae323
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x101ae648
push dword [ebp - 0x210]
call fcn.101acb3c
xor al, al
jmp 0x101ae689
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x101ae64e
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x101ae66e
push edx
call fcn.101ae516
pop ecx
test al, al
je 0x101ae639
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x101ae67c
mov bl, 1
push dword [ebp - 0x210]
call fcn.101acb3c
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101a0143
leave
ret
Function at 0x101b1949
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.101a10d0
mov eax, dword [0x1020c0c0]
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.101b581d
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x101b198b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x101b1ae7
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.101c6c30
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 + 0x1022ba70]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.101ba029
mov ecx, dword [esi*4 + 0x1022ba70]
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 0x101b1ae0
cmp eax, dword [edi + ecx + 0x24]
jne 0x101b1ae0
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 0x101b1ae0
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101ba029
add esp, 0x14
test edx, edx
jl 0x101b1ae0
jg 0x101b1a56
test eax, eax
jb 0x101b1ae0
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x101b1ae0
jl 0x101b1a70
cmp dword [ebp - 0x1008], eax
ja 0x101b1ae0
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x101b1a8e
test ebx, ebx
je 0x101b1ac7
cmp ecx, edi
jae 0x101b1ac7
mov al, byte [ecx]
cmp al, 0xd
jne 0x101b1aa8
lea eax, [edi - 1]
cmp ecx, eax
jae 0x101b1ab4
cmp byte [ecx + 1], 0xa
jne 0x101b1ab4
inc ecx
jmp 0x101b1ab4
movzx eax, al
movsx eax, byte [eax + 0x1020c340]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x101b1a8e
cmp edx, ebx
jne 0x101b1a8e
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x101b1ae5
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.101a0143
leave
ret
Function at 0x101b800e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101b7e7f

Function at 0x101b844d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101d2778
push 0x101d2770
push str.FlsAlloc
push 0x1e
call fcn.101b82ba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101b8481
push dword [ebp + 8]
mov ecx, esi
call dword [0x101ce304]
call esi
jmp 0x101b8487
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101b84cb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101d2788
push 0x101d2780
push str.FlsGetValue
push 0x20
call fcn.101b82ba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101b8502
push dword [ebp + 8]
mov ecx, esi
call dword [0x101ce304]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]