joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10161b40
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
cmp dword [ebx + 0x84], 0xffffffff
je 0x10161c14
push dword [ebx]
call fcn.10057170
mov esi, eax
add esp, 4
test esi, esi
js 0x10161c14
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10161b71
mov dword [eax], esi
push ebp
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x10161c0b
mov ecx, dword [ebx + 0x84]
push edi
cmp ecx, esi
jne 0x10161baa
test esi, esi
jle 0x10161be9
mov edx, ebp
lea ecx, [ebx + 4]
mov edi, esi
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub edi, 1
jne 0x10161b94
jmp 0x10161be9
mov eax, esi
mov byte [ecx + ebx + 0x64], 0x80
sub eax, ecx
cmp eax, 1
jle 0x10161bca
dec eax
push eax
lea eax, [ebx + 0x65]
add eax, ecx
push 0
push eax
call fcn.101a7620
add esp, 0xc
test esi, esi
jle 0x10161be9
mov edx, ebp
lea ecx, [ebx + 0x24]
mov edi, esi
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub edi, 1
jne 0x10161bd5
push esi
push ebp
push ebp
push dword [ebx]
call fcn.10057ac0
add esp, 0x10
pop edi
test eax, eax
jg 0x10161c0b
push esi
push ebp
call fcn.10001320
add esp, 8
xor eax, eax
pop ebp
pop esi
pop ebx
ret
pop ebp
pop esi
mov eax, 1
pop ebx
ret
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1016e330
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
xor ebp, ebp
push esi
test eax, eax
je 0x1016e348
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x1016e34d
mov ebx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x1016e425
mov edx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
inc edi
movzx eax, byte [edi - 1]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
cmp esi, 3
jb 0x1016e3b9
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
mov ecx, eax
shr ecx, 6
and ecx, 0x3f
and eax, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 2], cl
mov cl, byte [eax + ebx]
lea eax, [edx + 3]
jmp 0x1016e405
shl eax, 0x10
cmp esi, 2
jne 0x1016e3c9
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x1016e3ec
mov al, 0x3d
jmp 0x1016e3f5
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ebx]
mov ecx, dword [esp + 0x18]
mov byte [ecx + 2], al
mov cl, 0x3d
mov eax, dword [esp + 0x14]
add eax, 3
sub esi, 3
mov byte [eax], cl
add ebp, 4
lea edx, [eax + 1]
add edi, 3
test esi, esi
jg 0x1016e363
pop edi
pop esi
mov eax, ebp
mov byte [edx], 0
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x14]
pop esi
mov byte [eax], 0
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x10172600
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.101a6170
mov edx, dword [esp + 0x18]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x34]
or ecx, 0xffffffff
push ebp
mov ebp, dword [esp + 0x34]
cmp ebp, 1
push esi
mov esi, dword [edx]
setne al
add eax, ebx
mov dword [esp + 0x1c], esi
cmp eax, esi
jbe 0x10172639
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
cmp ebp, 1
je 0x10172704
mov ecx, dword [esp + 0x2c]
dec ecx
add ecx, esi
cmp dword [esp + 0x40], 0
mov dword [esp + 0x10], ecx
mov cl, byte [ecx]
mov byte [esp + 0xf], cl
movzx ebp, cl
je 0x10172670
sub esi, ebp
mov eax, 1
sub esi, ebx
dec esi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [eax + ebp]
mov ebx, esi
sub ebx, ecx
mov eax, esi
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, esi
shr ebx, 0x1f
dec ebx
cmp esi, eax
push edi
cmovb eax, esi
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x101726e7
mov esi, dword [esp + 0x14]
mov edx, ebp
shr edx, 0x1f
mov dword [esp + 0x1c], edx
mov ecx, ebp
lea esi, [esi - 1]
sub ecx, edi
mov eax, edi
shr ecx, 0x1f
inc edi
shr eax, 0x1f
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [esp + 0x13]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [esi + 1]
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x18]
jb 0x101726a7
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
not ebx
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x3c]
movzx ecx, bl
mov ebx, dword [esp + 0x40]
dec ecx
shr ecx, 0x1f
neg ecx
and eax, ecx
sub esi, eax
mov dword [edx], esi
pop edi
push dword [esp + 0x44]
push ecx
push ebx
push ebp
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push edx
call fcn.101722d0
add esp, 0x24
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10172c30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.101a6170
mov eax, dword [0x10286280]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x30]
test eax, eax
je 0x10172d41
movups xmm0, xmmword [edi + 0x10]
mov ebx, dword [esp + 0x50]
lea esi, [edi + 0x10]
dec eax
mov dword [esp + 0x10], ebx
movups xmmword [esp + 0x2c], xmm0
and byte [esp + 0x38], 0x7f
lea ecx, [esp + 0x2c]
push 1
mov dword [edi + 0x30], eax
push ecx
psrldq xmm0, 8
movd eax, xmm0
push 0
push 0
and al, 0x7f
mov byte [esp + 0x44], al
mov eax, dword [edi + 0x20]
push 0
push eax
mov dword [esp + 0x30], eax
call fcn.1006b0d0
add esp, 0x18
test eax, eax
je 0x10172d41
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push dword [esp + 0x18]
push eax
push ebp
push dword [esp + 0x28]
call fcn.1006bb40
add esp, 0x14
test eax, eax
je 0x10172d41
push ebx
push ebp
lea eax, [esp + 0x24]
push eax
push edi
call fcn.10173140
add esp, 0x10
test eax, eax
je 0x10172d41
lea eax, [esi + 0xf]
xor edx, edx
lea ecx, [esp + 0x1c]
cmp ecx, eax
ja 0x10172d13
lea eax, [esp + 0x2b]
cmp eax, esi
jb 0x10172d13
mov eax, ecx
sub esi, eax
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, 0x10
jl 0x10172d00
jmp 0x10172d23
movups xmm1, xmmword [esp + 0x1c]
movups xmm0, xmmword [esi]
xorps xmm1, xmm0
movups xmmword [esp + 0x1c], xmm1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
or ecx, dword [esp + 0x24]
or eax, dword [esp + 0x28]
or ecx, eax
je 0x10172d56
push ebx
push ebp
call fcn.10001320
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101a575e
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
mov eax, ebx
mov dword [edi + 0x2c], 0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a575e
add esp, 0x30
ret
Function at 0x101872a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x2c]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
movlpd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
push edi
mov edi, 0xff
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x10], eax
xor ebp, edx
xor edi, ebx
mov ebx, dword [esp + 0x14]
xor ecx, esi
xor ebx, dword [esp + 0x10]
mov eax, ebp
mov ebp, dword [esp + 0x38]
xor esi, ebx
xor edx, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov dword [ebp + 4], esi
mov esi, dword [esp + 0x18]
mov dword [ebp], edx
xor esi, eax
mov edx, dword [esp + 0x14]
mov dword [ebp + 8], esi
xor edx, ecx
mov dword [ebp + 0xc], edx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
shld dword [esp + 0x10], ebp, 0x11
xor dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], edi
shl dword [esp + 0x10], 0xd
shrd edi, ebx, 0x13
shl ebp, 0x11
xor ebp, eax
mov dword [esp + 0x14], 0
or dword [esp + 0x14], edi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
shr ebx, 0x13
or edi, ebx
mov dword [esp + 0x18], esi
sub dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [eax + 0x1c], edi
mov edi, esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ebx
jne 0x101872e5
push dword [esp + 0x40]
mov esi, dword [esp + 0x38]
push dword [esp + 0x40]
push esi
call fcn.1017bf20
push dword [esp + 0x54]
push dword [esp + 0x54]
push esi
call fcn.1017bf20
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x10189e00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x10286280]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov ebx, dword [esp + 0x228]
push ebp
push esi
push edi
mov edi, dword [esp + 0x230]
push edi
call fcn.1017ba30
push ebx
mov esi, eax
call fcn.101be621
add esp, 8
sub esi, 1
jne 0x10189e57
push 1
push ebx
push edi
call fcn.1018a530
mov ebp, dword [esp + 0x244]
add esp, 0xc
mov esi, eax
inc ebp
jmp 0x10189fde
push str.too_many_arguments
lea eax, [esi + 0x14]
push eax
push edi
call fcn.1017e320
mov ebp, dword [esp + 0x244]
mov eax, 1
add esp, 0xc
mov dword [esp + 0x10], eax
nop dword [eax]
dec esi
mov dword [esp + 0x14], esi
test eax, eax
je 0x10189fda
push ebp
push edi
call fcn.1017ca00
add esp, 8
cmp eax, 3
jne 0x10189f22
push ebp
push edi
call fcn.1017e170
mov esi, eax
add esp, 8
test esi, esi
jne 0x10189ede
push ebx
call fcn.101bb3d7
mov esi, eax
push ebx
push esi
call fcn.101beec4
push 0x1027e9e8
push edi
call fcn.1017bff0
xor eax, eax
add esp, 0x14
cmp esi, 0xffffffff
mov esi, dword [esp + 0x14]
setne al
jmp 0x10189fcd
lea eax, [esp + 0x18]
push eax
push edi
call fcn.1017e0d0
lea eax, [esp + 0x20]
push esi
push eax
call fcn.1017ed40
push ebx
push esi
push 1
push eax
call fcn.101b8e08
mov esi, eax
lea eax, [esp + 0x38]
add dword [esp + 0x40], esi
push eax
call fcn.1017ed60
xor eax, eax
add esp, 0x24
cmp eax, esi
mov esi, dword [esp + 0x14]
sbb eax, eax
neg eax
jmp 0x10189fcd
push 0
push ebp
push edi
call fcn.1017e1e0
add esp, 0xc
mov cl, byte [eax]
cmp cl, 0x2a
jne 0x10189f38
mov cl, byte [eax + 1]
movsx eax, cl
add eax, 0xffffffb4
cmp eax, 0x22
ja case.0x10189f4e.77
movzx eax, byte [eax + 0x1018a058]
jmp dword [eax*4 + 0x1018a044]
push ebx
push edi
call fcn.1018a650
add esp, 8
jmp 0x10189fcd
push 1
push ebx
push edi
call fcn.1018a530
add esp, 0xc
jmp 0x10189fcd
push 0
push ebx
push edi
call fcn.1018a530
add esp, 0xc
jmp 0x10189fcd
lea eax, [esp + 0x18]
push eax
push edi
call fcn.1017e0d0
add esp, 8
nop dword [eax + eax]
lea eax, [esp + 0x18]
push 0x200
push eax
call fcn.1017ed40
push ebx
push 0x200
push 1
push eax
call fcn.101b8e08
add dword [esp + 0x38], eax
add esp, 0x18
cmp eax, 0x200
je 0x10189f90
lea eax, [esp + 0x18]
push eax
call fcn.1017ed60
add esp, 4
mov eax, 1
inc ebp
mov dword [esp + 0x10], eax
test esi, esi
jne 0x10189e80
mov esi, dword [esp + 0x10]
push ebx
call fcn.101b879c
add esp, 4
test eax, eax
je 0x1018a00b
push 0
push 0
push edi
call fcn.1017e5d0
add esp, 0xc
jmp 0x1018a029
push str.invalid_format
push ebp
push edi
call fcn.1017dfa0
add esp, 0xc
jmp 0x1018a029
test esi, esi
jne 0x1018a020
push 0xfffffffffffffffe
push edi
call fcn.1017c5e0
push edi
call fcn.1017bfc0
add esp, 0xc
sub ebp, dword [esp + 0x238]
mov eax, ebp
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a575e
add esp, 0x21c
ret
Function at 0x1018cbc0
Capabilities:
Check http status code

Disassembly:
sub esp, 0xd8
mov eax, dword [0x10286280]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xe8]
lea eax, [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xec]
push eax
push edi
call fcn.1018c0d0
mov esi, eax
add esp, 8
test esi, esi
je 0x1018cc14
mov ecx, dword [esp + 0x10]
sub esi, edi
mov edx, dword [esp + 0x14]
mov al, 3
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov byte [ebp + 8], al
lea eax, [esi + 1]
jmp 0x1018cc33
push 0x10269c90
push edi
call fcn.101bc850
add esp, 8
test eax, eax
je 0x1018cc4c
movzx ebx, byte [eax]
or ebx, 0x20
cmp ebx, 0x6e
jne 0x1018cc4e
xor eax, eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a575e
add esp, 0xd8
ret
xor ebx, ebx
push ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.1018c080
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1018cceb
push 0x2e
push edi
call fcn.101a7f60
mov esi, eax
add esp, 8
test esi, esi
je 0x1018cc31
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1018cc80
sub ecx, edx
cmp ecx, 0xc8
ja 0x1018cc31
lea edx, [esp + 0x18]
mov ecx, edi
sub edx, edi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1018cca0
call fcn.101bc81c
sub esi, edi
push ebx
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + esi + 0x1c], al
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1018c080
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1018cc31
mov eax, edi
lea ecx, [esp + 0x18]
sub eax, ecx
add esi, eax
test esi, esi
je 0x1018cc31
movsd xmm0, qword [esp + 0x10]
sub esi, edi
mov al, 0x13
movsd qword [ebp], xmm0
mov byte [ebp + 8], al
lea eax, [esi + 1]
jmp 0x1018cc33
Function at 0x10190e30
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x10], al
mov esi, dword [edi]
cmp esi, dword [esp + 0x18]
je 0x10190fb3
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x24]
nop word [eax + eax]
mov cl, byte [esi + 5]
test cl, 0x18
je 0x10190f68
mov eax, dword [esi]
mov dword [edi], eax
movzx eax, byte [esi + 4]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.0x10190e87.11
movzx eax, byte [eax + 0x10190fe0]
jmp dword [eax*4 + 0x10190fb8]
push esi
push ebx
call fcn.1018e770
add esp, 8
jmp case.0x10190e87.11
lea eax, [esi + 0x10]
cmp dword [esi + 8], eax
je 0x10190eae
push esi
call fcn.1018ea60
add esp, 4
push 0x20
push esi
push ebx
call fcn.1019af60
add esp, 0xc
jmp case.0x10190e87.11
movzx eax, byte [esi + 6]
lea eax, [eax*4 + 0x10]
push eax
push esi
push ebx
call fcn.1019af60
add esp, 0xc
jmp case.0x10190e87.11
movzx eax, byte [esi + 6]
inc eax
shl eax, 4
push eax
push esi
push ebx
call fcn.1019af60
add esp, 0xc
jmp case.0x10190e87.11
push esi
push ebx
call fcn.101924d0
add esp, 8
jmp case.0x10190e87.11
push esi
push ebx
call fcn.10187580
add esp, 8
jmp case.0x10190e87.11
movzx eax, word [esi + 6]
test ax, ax
jne 0x10190f20
mov ecx, 0x10
jmp 0x10190f28
mov ecx, eax
shl ecx, 4
add ecx, 0x18
mov eax, dword [esi + 8]
add eax, ecx
push eax
push esi
push ebx
call fcn.1019af60
add esp, 0xc
jmp case.0x10190e87.11
push esi
push ebx
call fcn.10191fa0
movzx eax, byte [esi + 7]
add eax, 0x11
push eax
push esi
push ebx
call fcn.1019af60
add esp, 0x14
jmp case.0x10190e87.11
mov eax, dword [esi + 0xc]
add eax, 0x11
push eax
push esi
push ebx
call fcn.1019af60
add esp, 0xc
jmp case.0x10190e87.11
test cl, 7
jne 0x10190f7c
and cl, 0xc1
and al, 0x18
or cl, al
or cl, 1
mov byte [esi + 5], cl
jmp 0x10190f9f
movzx eax, cl
and cl, 0xf8
and eax, 7
or cl, byte [eax + 0x10269e80]
mov byte [esi + 5], cl
and cl, 7
cmp cl, 3
jne 0x10190f9f
cmp dword [ebp], 0
jne 0x10190f9f
mov dword [ebp], esi
mov edi, esi
mov esi, dword [edi]
mov al, byte [esp + 0x18]
cmp esi, dword [esp + 0x20]
jne 0x10190e60
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x10191cb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor eax, dword [esp + 0x10]
test esi, esi
je 0x10191cdf
push edi
mov edi, dword [esp + 0xc]
movzx edx, byte [edi + esi - 1]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub esi, 1
jne 0x10191cc4
pop edi
pop esi
ret
Function at 0x101b6c83
Capabilities:
Parse pe header

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

Function at 0x101b96cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.101a6170
mov eax, dword [0x10286280]
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.101b8c08
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x101b970e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x101b986a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.101a65e0
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 + 0x1028b3d8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.101c94d5
mov ecx, dword [esi*4 + 0x1028b3d8]
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 0x101b9863
cmp eax, dword [ecx + edi + 0x24]
jne 0x101b9863
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 0x101b9863
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101c94d5
add esp, 0x14
test edx, edx
jl 0x101b9863
jg 0x101b97d9
test eax, eax
jb 0x101b9863
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x101b9863
jl 0x101b97f3
cmp dword [ebp - 0x1008], eax
ja 0x101b9863
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x101b9811
test ebx, ebx
je 0x101b984a
cmp ecx, edi
jae 0x101b984a
mov al, byte [ecx]
cmp al, 0xd
jne 0x101b982b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x101b9837
cmp byte [ecx + 1], 0xa
jne 0x101b9837
inc ecx
jmp 0x101b9837
movzx eax, al
movsx eax, byte [eax + 0x10286530]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x101b9811
cmp edx, ebx
jne 0x101b9811
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x101b9868
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.101a575e
leave
ret
Function at 0x101baa7f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10286280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x1026fa80
push esi
call fcn.101ca5e3
pop ecx
pop ecx
test eax, eax
jne 0x101baaad
xor al, al
jmp 0x101bab2a
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.101ba7c0
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x101baae7
push dword [ebp - 0x210]
call fcn.101ab26e
xor al, al
jmp 0x101bab28
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x101baaed
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x101bab0d
push edx
call fcn.101ba9b6
pop ecx
test al, al
je 0x101baad8
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x101bab1b
mov bl, 1
push dword [ebp - 0x210]
call fcn.101ab26e
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101a575e
leave
ret

Function at 0x101c6e1b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10275890
push 0x10275888
push str.FlsAlloc
push 0x1f
call fcn.101c6c86
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101c6e4f
push dword [ebp + 8]
mov ecx, esi
call dword [0x101dc3cc]
call esi
jmp 0x101c6e55
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101c6e99
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x102758a0
push 0x10275898
push str.FlsGetValue
push 0x21
call fcn.101c6c86
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101c6ed0
push dword [ebp + 8]
mov ecx, esi
call dword [0x101dc3cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x101c6ed8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x102758a8
push 0x102758a0
push str.FlsSetValue
push 0x22
call fcn.101c6c86
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101c6f12
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x101dc3cc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x101c6fb0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.GetTempPath2W
push 0x1027577c
push str.GetTempPath2W
push 5
call fcn.101c6c86
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101c6fea
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x101dc3cc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetTempPathW]
Function at 0x101c87d3
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 + 0x1028b3d8]
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 0x101c8813
cmp byte [ebx], 0xa
jne 0x101c8813
or byte [edi + eax + 0x28], 4
jmp 0x101c8818
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 0x101c8917
mov dl, byte [eax]
cmp dl, 0x1a
je 0x101c88fa
inc eax
cmp dl, 0xd
je 0x101c8844
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x101c886a
cmp eax, ecx
jae 0x101c8878
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 0x101c882c
jmp 0x101c8917
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 0x101c88f5
cmp dword [ebp - 0x10], 0
je 0x101c88f5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1028b3d8]
test byte [eax + edi + 0x28], 0x48
je 0x101c88cf
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x101c88ba
mov byte [esi], dl
jmp 0x101c88cb
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1028b3d8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x101c8917
cmp byte [ebp - 1], 0xa
jne 0x101c88de
cmp esi, ebx
jne 0x101c88de
mov byte [esi], 0xa
jmp 0x101c8916
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.101c94f3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x101c8917
mov byte [esi], 0xd
jmp 0x101c8916
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1028b3d8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x101c8914
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x101c8917
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret