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

Disassembly:
movss xmm0, dword [0x10214354]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [0x10468548]
comiss xmm0, dword [edi + 0x1e6c]
ja 0x1017c837
cmp dword [edi + 0x1e68], 0
jne 0x1017c62e
or edx, 0xffffffff
mov esi, 0x1020d0f9
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x1017c606
cmp byte [esi], al
jne 0x1017c606
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 + 0x1020d2f8]
test al, al
jne 0x1017c5f8
not edx
mov ecx, edx
call fcn.10172c60
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 [0x10214364]
mov dword [edi + 0x1c74], eax
or eax, 1
mulss xmm2, dword [0x10214364]
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 [0x102143b4]
mulss xmm2, dword [0x102143b4]
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.1016d950
push 0xc1347
xor edx, edx
mov ecx, str.NavWindowingList
call fcn.10174f90
mov ebp, dword [edi + 0x1bb8]
sub ebp, 1
js 0x1017c821
nop dword [eax + eax]
mov eax, dword [edi + 0x1bc0]
mov esi, dword [eax + ebp*4]
cmp byte [esi + 0xa7], 0
je 0x1017c818
cmp esi, dword [esi + 0x360]
jne 0x1017c818
test dword [esi + 8], 0x80000
jne 0x1017c818
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x1017c7a2
mov bl, byte [edx]
test bl, bl
je 0x1017c79e
cmp bl, 0x23
jne 0x1017c798
cmp byte [edx + 1], bl
je 0x1017c79e
inc edx
cmp edx, 0xffffffff
jb 0x1017c788
cmp ecx, edx
jne 0x1017c7f3
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x1017c7b3
mov ecx, str._Popup_
jmp 0x1017c7f3
test eax, 0x400
je 0x1017c7ee
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1017c7e0
test dl, dl
je 0x1017c7dc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1017c7e0
add ecx, 2
add eax, 2
test dl, dl
jne 0x1017c7c0
xor eax, eax
jmp 0x1017c7e5
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x1017c7f3
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.10197dd0
sub ebp, 1
jns 0x1017c750
call fcn.10177230
mov ecx, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.1016d9d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1017c920
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x14
mov edx, dword [0x10468548]
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 0x1017ca81
mov ebx, dword [ebp + 0x138]
test ebx, ebx
je 0x1017c981
cmp dword [edi + 0x1c24], ebx
jne 0x1017ca77
mov esi, dword [edi + 0x1c58]
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
cmp byte [esi + edi + 0x130], al
je 0x1017ca77
xor al, al
jmp 0x1017ca0b
cmp byte [edi + 0x130], 0
je 0x1017ca77
test al, 8
je 0x1017ca77
test byte [ebp + 0x13c], 1
jne 0x1017c9b7
cmp dword [edi + 0x1c24], esi
je 0x1017ca77
cmp dword [edi + 0x1c50], ebp
jne 0x1017ca77
lea esi, [ebp + 0x140]
mov ecx, ebp
push esi
call fcn.1016f0d0
mov ebx, eax
mov ecx, esi
mov edx, ebx
mov dword [ebp + 0x138], ebx
call fcn.1016f400
mov byte [esp + 0x17], al
test al, al
je 0x1017c9fb
cmp byte [edi + 0x420], 0
je 0x1017c9fb
mov edx, ebp
mov ecx, ebx
call fcn.1016f1b0
mov ecx, ebp
call fcn.10177410
mov al, byte [esp + 0x17]
cmp dword [edi + 0x1c24], ebx
jne 0x1017ca77
mov edx, dword [0x10468548]
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 0x1017ca33
xor al, al
jmp 0x1017ca4b
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 0x1017cabb
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebp, ebp
or ebx, 0xffffffff
mov edx, 0x1020d10d
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x1017ca9e
cmp byte [edx], al
jne 0x1017ca9e
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 + 0x1020d2f8]
test al, al
jne 0x1017ca90
not ebx
mov esi, ebp
cmp byte [edi + 0x1e9c], 0
jne 0x1017caff
call fcn.1017c840
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 0x1017caff
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 0x1017cb4d
xor edx, edx
xor ecx, ecx
call fcn.10178c40
cmp dword [edi + 0x1f04], 0
je 0x1017cb4d
test dword [edi + 0x1ef8], 0x1000
je 0x1017cb4d
mov eax, dword [edi + 0x1bec]
mov byte [eax + 0xab], 1
mov byte [eax + 0xc8], 1
test bl, 0x12
jne 0x1017cb59
and dword [ebp + 0x13c], 0xfffffffe
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x1017e910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1017e946
mov eax, dword [0x10468548]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1017e936
dec dword [eax + 0x3b4]
push ecx
call fcn.101c2129
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1017e97a
mov eax, dword [0x10468548]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1017e96a
dec dword [eax + 0x3b4]
push ecx
call fcn.101c2129
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1017e9ae
mov eax, dword [0x10468548]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1017e99e
dec dword [eax + 0x3b4]
push ecx
call fcn.101c2129
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 0x1017e9fe
mov eax, dword [0x10468548]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1017e9ee
dec dword [eax + 0x3b4]
push ecx
call fcn.101c2129
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1017ea32
mov eax, dword [0x10468548]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1017ea22
dec dword [eax + 0x3b4]
push ecx
call fcn.101c2129
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1017ea66
mov eax, dword [0x10468548]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1017ea56
dec dword [eax + 0x3b4]
push ecx
call fcn.101c2129
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10181700
Function at 0x10185b20
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 [0x10468548]
lea eax, [esp + 0x24]
push esi
push edi
push eax
push dword [0x1046ac98]
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 [0x1046ac90]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x1046ac94]
call fcn.101dbc90
mov edx, dword [0x1046ac8c]
mov ecx, dword [0x1046ac88]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.101dbc90
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x5c], xmm1
mov dword [0x1046ac94], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1046ac90], 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 [0x10468548]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x1e5], al
cmp byte [ecx + 0x39b], 0
lea esi, [ecx + 0x128]
je 0x10185c78
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 [0x1046ac98]
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 0x10185ce4
mov ecx, dword [0x1046ac98]
cmp eax, ecx
je 0x10185ca5
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10185ce4
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10185ce4
lea eax, [esp + 0x18]
push eax
push dword [0x1046ac98]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10185ce4
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 0x10185cf2
or eax, 0xffffffff
jmp 0x10185cfd
mov eax, dword [0x10468548]
mov eax, dword [eax + 0x1e98]
cmp dword [0x1023fc74], eax
je 0x10185d0f
mov dword [0x1023fc74], eax
call fcn.101859f0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b579a
add esp, 0x38
ret
Function at 0x101ab680
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 0x101ab6a8
cmp edx, edi
jge 0x101ab698
call fcn.101ab060
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 0x101ab6ce
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 0x101ab6b6
pop ebx
mov dword [esi + 8], ecx
test ecx, ecx
js 0x101ab75c
cmp eax, 4
jge 0x101ab6f7
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x101ab6e8
xor dl, dl
jmp 0x101ab6ed
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [esp + eax + 8], dl
inc eax
cmp eax, 4
jl 0x101ab6e0
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 0x101ab75c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x101ab75c
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x101ab740
push edi
mov ecx, esi
call fcn.101ab180
test eax, eax
je 0x101ab75c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.101b6fc0
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 0x101b10c0
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 0x101b10d8
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x101b10f4
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x101b10e3
push esi
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.101b2270
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x101b111c
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 0x101b127b
push 0x24
call fcn.101b5aa6
add esp, 4
mov edi, eax
push ebx
lea ecx, [edi + 8]
call fcn.10020f00
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 + 0x10214cf0]
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10214cf0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x105340d8]
comiss xmm1, xmm0
jbe 0x101b120d
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101d9920
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.101dbb20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x101b11ee
cmp ebx, 0x200
jae 0x101b11ec
shl ebx, 3
cmp ebx, ecx
jae 0x101b11ee
mov ebx, ecx
push ebx
call fcn.101b1400
push esi
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.101b2270
mov ebp, dword [0x105340e0]
mov edx, dword [eax]
jmp 0x101b1211
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 0x101b1242
mov dword [ecx + eax*8], edi
jmp 0x101b1263
cmp esi, edx
jne 0x101b125d
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 0x101b1267
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.101b452a
int3
Function at 0x101b3b8e
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 0x101b3bb5
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x101b3bb8
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.101b3b6a
pop esi
leave
ret 8

Function at 0x101b5160
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 0x101b51bf
mov ecx, dword [0x10222104]
shr ecx, 5
test cl, 1
je 0x101b51bf
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 0x101b5214
add eax, 0x20
cmp eax, dword [ebp - 4]
jne 0x101b51a5
and edx, 0x1f
vzeroupper
and edx, 0xfffffff0
je 0x101b51f9
mov ecx, dword [0x10222104]
shr ecx, 1
test cl, 1
je 0x101b51f9
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 0x101b5225
add eax, 0x10
cmp eax, edx
jne 0x101b51e3
cmp eax, esi
je 0x101b520c
lea ecx, [ecx]
cmp word [eax], di
je 0x101b520c
add eax, 2
cmp eax, esi
jne 0x101b5200
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 0x101c3aee
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.101cfa42
pop ecx
pop ecx
test eax, eax
jne 0x101c3b1c
xor al, al
jmp 0x101c3b99
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.101c382f
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x101c3b56
push dword [ebp - 0x210]
call fcn.101c2129
xor al, al
jmp 0x101c3b97
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x101c3b5c
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x101c3b7c
push edx
call fcn.101c3a25
pop ecx
test al, al
je 0x101c3b47
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x101c3b8a
mov bl, 1
push dword [ebp - 0x210]
call fcn.101c2129
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101b579a
leave
ret
Function at 0x101c6769
Capabilities:
Parse pe header

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

Function at 0x101c6d44
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.101b65f0
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.101caa55
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x101c6d86
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x101c6ee2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.101db560
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.101cf28a
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 0x101c6edb
cmp eax, dword [ecx + edi + 0x24]
jne 0x101c6edb
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 0x101c6edb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101cf28a
add esp, 0x14
test edx, edx
jl 0x101c6edb
jg 0x101c6e51
test eax, eax
jb 0x101c6edb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x101c6edb
jl 0x101c6e6b
cmp dword [ebp - 0x1008], eax
ja 0x101c6edb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x101c6e89
test ebx, ebx
je 0x101c6ec2
cmp ecx, edi
jae 0x101c6ec2
mov al, byte [ecx]
cmp al, 0xd
jne 0x101c6ea3
lea eax, [edi - 1]
cmp ecx, eax
jae 0x101c6eaf
cmp byte [ecx + 1], 0xa
jne 0x101c6eaf
inc ecx
jmp 0x101c6eaf
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 0x101c6e89
cmp edx, ebx
jne 0x101c6e89
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x101c6ee0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.101b579a
leave
ret
Function at 0x101cd6b5
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.101cd520
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101cd6e9
push dword [ebp + 8]
mov ecx, esi
call dword [0x101e32ec]
call esi
jmp 0x101cd6ef
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101cd733
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.101cd520
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101cd76a
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 0x101cd772
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.101cd520
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101cd7ac
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 0x101ce722
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 0x101ce762
cmp byte [ebx], 0xa
jne 0x101ce762
or byte [edi + eax + 0x28], 4
jmp 0x101ce767
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 0x101ce866
mov dl, byte [eax]
cmp dl, 0x1a
je 0x101ce849
inc eax
cmp dl, 0xd
je 0x101ce793
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x101ce7b9
cmp eax, ecx
jae 0x101ce7c7
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 0x101ce77b
jmp 0x101ce866
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 0x101ce844
cmp dword [ebp - 0x10], 0
je 0x101ce844
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10241120]
test byte [eax + edi + 0x28], 0x48
je 0x101ce81e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x101ce809
mov byte [esi], dl
jmp 0x101ce81a
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 0x101ce866
cmp byte [ebp - 1], 0xa
jne 0x101ce82d
cmp esi, ebx
jne 0x101ce82d
mov byte [esi], 0xa
jmp 0x101ce865
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.101cf2a8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x101ce866
mov byte [esi], 0xd
jmp 0x101ce865
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10241120]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x101ce863
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x101ce866
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret