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

Disassembly:
movss xmm0, dword [0x10214384]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [0x10468558]
comiss xmm0, dword [edi + 0x1e6c]
ja 0x1017c297
cmp dword [edi + 0x1e68], 0
jne 0x1017c08e
or edx, 0xffffffff
mov esi, 0x1020d115
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x1017c066
cmp byte [esi], al
jne 0x1017c066
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 + 0x1020d340]
test al, al
jne 0x1017c058
not edx
mov ecx, edx
call fcn.101726b0
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 [0x10214394]
mov dword [edi + 0x1c74], eax
or eax, 1
mulss xmm2, dword [0x10214394]
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 [0x102143ec]
mulss xmm2, dword [0x102143ec]
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.1016d3a0
push 0xc1347
xor edx, edx
mov ecx, str.NavWindowingList
call fcn.101749f0
mov ebp, dword [edi + 0x1bb8]
sub ebp, 1
js 0x1017c281
nop dword [eax + eax]
mov eax, dword [edi + 0x1bc0]
mov esi, dword [eax + ebp*4]
cmp byte [esi + 0xa7], 0
je 0x1017c278
cmp esi, dword [esi + 0x360]
jne 0x1017c278
test dword [esi + 8], 0x80000
jne 0x1017c278
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x1017c202
mov bl, byte [edx]
test bl, bl
je 0x1017c1fe
cmp bl, 0x23
jne 0x1017c1f8
cmp byte [edx + 1], bl
je 0x1017c1fe
inc edx
cmp edx, 0xffffffff
jb 0x1017c1e8
cmp ecx, edx
jne 0x1017c253
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x1017c213
mov ecx, str._Popup_
jmp 0x1017c253
test eax, 0x400
je 0x1017c24e
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1017c240
test dl, dl
je 0x1017c23c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1017c240
add ecx, 2
add eax, 2
test dl, dl
jne 0x1017c220
xor eax, eax
jmp 0x1017c245
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x1017c253
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.10197820
sub ebp, 1
jns 0x1017c1b0
call fcn.10176c90
mov ecx, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.1016d420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1017c380
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x14
mov edx, dword [0x10468558]
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 0x1017c4e1
mov ebx, dword [ebp + 0x138]
test ebx, ebx
je 0x1017c3e1
cmp dword [edi + 0x1c24], ebx
jne 0x1017c4d7
mov esi, dword [edi + 0x1c58]
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
cmp byte [esi + edi + 0x130], al
je 0x1017c4d7
xor al, al
jmp 0x1017c46b
cmp byte [edi + 0x130], 0
je 0x1017c4d7
test al, 8
je 0x1017c4d7
test byte [ebp + 0x13c], 1
jne 0x1017c417
cmp dword [edi + 0x1c24], esi
je 0x1017c4d7
cmp dword [edi + 0x1c50], ebp
jne 0x1017c4d7
lea esi, [ebp + 0x140]
mov ecx, ebp
push esi
call fcn.1016eb20
mov ebx, eax
mov ecx, esi
mov edx, ebx
mov dword [ebp + 0x138], ebx
call fcn.1016ee50
mov byte [esp + 0x17], al
test al, al
je 0x1017c45b
cmp byte [edi + 0x420], 0
je 0x1017c45b
mov edx, ebp
mov ecx, ebx
call fcn.1016ec00
mov ecx, ebp
call fcn.10176e70
mov al, byte [esp + 0x17]
cmp dword [edi + 0x1c24], ebx
jne 0x1017c4d7
mov edx, dword [0x10468558]
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 0x1017c493
xor al, al
jmp 0x1017c4ab
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 0x1017c51b
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebp, ebp
or ebx, 0xffffffff
mov edx, 0x1020d129
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x1017c4fe
cmp byte [edx], al
jne 0x1017c4fe
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 + 0x1020d340]
test al, al
jne 0x1017c4f0
not ebx
mov esi, ebp
cmp byte [edi + 0x1e9c], 0
jne 0x1017c55f
call fcn.1017c2a0
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 0x1017c55f
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 0x1017c5ad
xor edx, edx
xor ecx, ecx
call fcn.101786a0
cmp dword [edi + 0x1f04], 0
je 0x1017c5ad
test dword [edi + 0x1ef8], 0x1000
je 0x1017c5ad
mov eax, dword [edi + 0x1bec]
mov byte [eax + 0xab], 1
mov byte [eax + 0xc8], 1
test bl, 0x12
jne 0x1017c5b9
and dword [ebp + 0x13c], 0xfffffffe
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x1017e370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1017e3a6
mov eax, dword [0x10468558]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1017e396
dec dword [eax + 0x3b4]
push ecx
call fcn.101c1bf9
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1017e3da
mov eax, dword [0x10468558]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1017e3ca
dec dword [eax + 0x3b4]
push ecx
call fcn.101c1bf9
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1017e40e
mov eax, dword [0x10468558]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1017e3fe
dec dword [eax + 0x3b4]
push ecx
call fcn.101c1bf9
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 0x1017e45e
mov eax, dword [0x10468558]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1017e44e
dec dword [eax + 0x3b4]
push ecx
call fcn.101c1bf9
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1017e492
mov eax, dword [0x10468558]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1017e482
dec dword [eax + 0x3b4]
push ecx
call fcn.101c1bf9
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1017e4c6
mov eax, dword [0x10468558]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1017e4b6
dec dword [eax + 0x3b4]
push ecx
call fcn.101c1bf9
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10181160
Function at 0x10185580
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x38
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x10468558]
lea eax, [esp + 0x24]
push esi
push edi
push eax
push dword [0x1046aca8]
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 [0x1046aca0]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x1046aca4]
call fcn.101db760
mov edx, dword [0x1046ac9c]
mov ecx, dword [0x1046ac98]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.101db760
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x5c], xmm1
mov dword [0x1046aca4], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1046aca0], 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 [0x10468558]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x1e5], al
cmp byte [ecx + 0x39b], 0
lea esi, [ecx + 0x128]
je 0x101856d8
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 [0x1046aca8]
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 0x10185744
mov ecx, dword [0x1046aca8]
cmp eax, ecx
je 0x10185705
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10185744
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10185744
lea eax, [esp + 0x18]
push eax
push dword [0x1046aca8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10185744
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 0x10185752
or eax, 0xffffffff
jmp 0x1018575d
mov eax, dword [0x10468558]
mov eax, dword [eax + 0x1e98]
cmp dword [0x1023fc74], eax
je 0x1018576f
mov dword [0x1023fc74], eax
call fcn.10185450
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b526a
add esp, 0x38
ret
Function at 0x101ab150
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 0x101ab178
cmp edx, edi
jge 0x101ab168
call fcn.101aab30
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 0x101ab19e
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 0x101ab186
pop ebx
mov dword [esi + 8], ecx
test ecx, ecx
js 0x101ab22c
cmp eax, 4
jge 0x101ab1c7
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x101ab1b8
xor dl, dl
jmp 0x101ab1bd
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [esp + eax + 8], dl
inc eax
cmp eax, 4
jl 0x101ab1b0
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 0x101ab22c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x101ab22c
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x101ab210
push edi
mov ecx, esi
call fcn.101aac50
test eax, eax
je 0x101ab22c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.101b6a90
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 0x101b0b90
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 0x101b0ba8
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x101b0bc4
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x101b0bb3
push esi
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.101b1d40
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x101b0bec
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 [0x105340e0], 0x71c71c7
je 0x101b0d4b
push 0x24
call fcn.101b5576
add esp, 4
mov edi, eax
push ebx
lea ecx, [edi + 8]
call fcn.10020a50
mov dword [edi + 0x20], 0
mov ebp, dword [0x105340e0]
mov ebx, dword [0x105340f4]
mov eax, ebx
shr eax, 0x1f
lea ecx, [ebp + 1]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10214d80]
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10214d80]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x105340d8]
comiss xmm1, xmm0
jbe 0x101b0cdd
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101d93f0
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101db5f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x101b0cbe
cmp ebx, 0x200
jae 0x101b0cbc
shl ebx, 3
cmp ebx, ecx
jae 0x101b0cbe
mov ebx, ecx
push ebx
call fcn.101b0ed0
push esi
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.101b1d40
mov ebp, dword [0x105340e0]
mov edx, dword [eax]
jmp 0x101b0ce1
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 4]
inc ebp
mov dword [0x105340e0], ebp
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [0x105340f0]
mov ecx, dword [0x105340e4]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x105340dc]
jne 0x101b0d12
mov dword [ecx + eax*8], edi
jmp 0x101b0d33
cmp esi, edx
jne 0x101b0d2d
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 0x101b0d37
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.101b3ffa
int3
Function at 0x101b365e
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 0x101b3685
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x101b3688
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.101b363a
pop esi
leave
ret 8

Function at 0x101b4c30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov edx, esi
sub edx, eax
mov ecx, edx
and ecx, 0xffffffe0
push edi
mov di, word [ebp + 0x10]
mov dword [ebp - 4], ecx
je 0x101b4c8f
mov ecx, dword [0x10222104]
shr ecx, 5
test cl, 1
je 0x101b4c8f
add dword [ebp - 4], eax
movsx ecx, di
vmovd xmm0, ecx
vpunpcklwd xmm0, xmm0, xmm0
vpshufd xmm0, xmm0, 0
vinsertf128 ymm1, ymm0, xmm0, 1
vpcmpeqw ymm0, ymm1, ymmword [eax]
vpmovmskb ecx, ymm0
test ecx, ecx
jne 0x101b4ce4
add eax, 0x20
cmp eax, dword [ebp - 4]
jne 0x101b4c75
and edx, 0x1f
vzeroupper
and edx, 0xfffffff0
je 0x101b4cc9
mov ecx, dword [0x10222104]
shr ecx, 1
test cl, 1
je 0x101b4cc9
movsx ecx, di
add edx, eax
movd xmm0, ecx
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [eax]
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x101b4cf5
add eax, 0x10
cmp eax, edx
jne 0x101b4cb3
cmp eax, esi
je 0x101b4cdc
lea ecx, [ecx]
cmp word [eax], di
je 0x101b4cdc
add eax, 2
cmp eax, esi
jne 0x101b4cd0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
vzeroupper
tzcnt ecx, ecx
pop edi
add eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
bsf ecx, ecx
pop edi
add eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x101c35be
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x102220c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x101e5fe0
push esi
call fcn.101cf515
pop ecx
pop ecx
test eax, eax
jne 0x101c35ec
xor al, al
jmp 0x101c3669
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.101c32ff
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x101c3626
push dword [ebp - 0x210]
call fcn.101c1bf9
xor al, al
jmp 0x101c3667
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x101c362c
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x101c364c
push edx
call fcn.101c34f5
pop ecx
test al, al
je 0x101c3617
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x101c365a
mov bl, 1
push dword [ebp - 0x210]
call fcn.101c1bf9
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101b526a
leave
ret
Function at 0x101c6239
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x101c6278
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101c6278
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101c6278
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x101c6278
cmp dword [ecx + 0x74], 0xe
jbe 0x101c6278
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x101c6814
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.101b60c0
mov eax, dword [0x102220c0]
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.101ca525
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x101c6856
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x101c69b2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.101db030
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 + 0x10241120]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.101ced5d
mov ecx, dword [esi*4 + 0x10241120]
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 0x101c69ab
cmp eax, dword [ecx + edi + 0x24]
jne 0x101c69ab
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 0x101c69ab
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101ced5d
add esp, 0x14
test edx, edx
jl 0x101c69ab
jg 0x101c6921
test eax, eax
jb 0x101c69ab
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x101c69ab
jl 0x101c693b
cmp dword [ebp - 0x1008], eax
ja 0x101c69ab
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x101c6959
test ebx, ebx
je 0x101c6992
cmp ecx, edi
jae 0x101c6992
mov al, byte [ecx]
cmp al, 0xd
jne 0x101c6973
lea eax, [edi - 1]
cmp ecx, eax
jae 0x101c697f
cmp byte [ecx + 1], 0xa
jne 0x101c697f
inc ecx
jmp 0x101c697f
movzx eax, al
movsx eax, byte [eax + 0x10222368]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x101c6959
cmp edx, ebx
jne 0x101c6959
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x101c69b0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.101b526a
leave
ret
Function at 0x101cd188
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101e7708
push 0x101e7700
push str.FlsAlloc
push 0x1f
call fcn.101ccff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101cd1bc
push dword [ebp + 8]
mov ecx, esi
call dword [0x101e32ec]
call esi
jmp 0x101cd1c2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101cd206
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101e7718
push 0x101e7710
push str.FlsGetValue
push 0x21
call fcn.101ccff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101cd23d
push dword [ebp + 8]
mov ecx, esi
call dword [0x101e32ec]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x101cd245
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101e7720
push 0x101e7718
push str.FlsSetValue
push 0x22
call fcn.101ccff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101cd27f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x101e32ec]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x101ce1f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10241120]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x101ce235
cmp byte [ebx], 0xa
jne 0x101ce235
or byte [edi + eax + 0x28], 4
jmp 0x101ce23a
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x101ce339
mov dl, byte [eax]
cmp dl, 0x1a
je 0x101ce31c
inc eax
cmp dl, 0xd
je 0x101ce266
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x101ce28c
cmp eax, ecx
jae 0x101ce29a
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x101ce24e
jmp 0x101ce339
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101ce317
cmp dword [ebp - 0x10], 0
je 0x101ce317
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10241120]
test byte [eax + edi + 0x28], 0x48
je 0x101ce2f1
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x101ce2dc
mov byte [esi], dl
jmp 0x101ce2ed
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10241120]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x101ce339
cmp byte [ebp - 1], 0xa
jne 0x101ce300
cmp esi, ebx
jne 0x101ce300
mov byte [esi], 0xa
jmp 0x101ce338
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.101ced7b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x101ce339
mov byte [esi], 0xd
jmp 0x101ce338
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10241120]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x101ce336
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x101ce339
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret