joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4071e0
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
push 0x200
call sub.MFC42.DLL_operatornew
push 0x100
mov dword [ebx + 0x1ac], eax
call sub.MFC42.DLL_operatornew
mov edx, eax
mov edi, 0x40b888
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov dword [ebx + 0x1b0], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x202
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
test eax, eax
je 0x407253
mov ecx, dword [ebx + 0x1ac]
push 0x40b870
push ecx
call esi
add esp, 8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [ebx + 0x190], eax
jne 0x40728e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebx + 0x1ac]
push eax
push 0x40b858
push edx
call esi
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
mov eax, ebx
pop esi
pop ebx
ret
mov dword [ebx + 0x194], eax
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4072a0
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4072bb
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
jmp 0x4072bf
mov eax, dword [esp + 8]
push edi
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edi, [esi + 0x198]
push eax
mov word [edi], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x19c], eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x190]
push 0x10
push edi
push ecx
mov word [esi + 0x19a], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
pop edi
jne 0x407329
mov edx, dword [esi + 0x1ac]
push 0x40b8a0
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x407380
Capabilities:
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x408
push ebx
push ebp
push esi
push edi
push 0x40b2b8
mov ebp, ecx
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
mov ebx, dword [sym.imp.WS2_32.dll_send]
add esp, 8
mov esi, eax
push esi
push 0x400
lea ecx, [esp + 0x18]
push 1
push ecx
call edi
add esp, 0x10
test eax, eax
je 0x4073d4
push 0
push eax
mov eax, dword [ebp + 0x190]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
cmp eax, 0x400
jge 0x4073ad
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x408
ret 8

Function at 0x43b656
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
mov edi, edi
call fcn.0043b695
add edi, 1
dec edi
xor dword [ebx], edx
add edi, eax
sub eax, 0xc4ba08de
and edi, edi
add ebx, 1
or eax, eax
inc edi
cmp ebx, esi
jne fcn.0043b656
and edi, edi
sub edi, 0x80bc41c0
ret
Function at 0x465c04
Capabilities:
Encode data using xor

Disassembly:
pushfd
lea esp, [esp + 0x28]
jne 0x4425b1
sub eax, ecx
stc
clc
btr ax, di
xor edx, edx
rcr ax, cl
sbb eax, ecx
sal al, cl
aas
mov eax, edx
cmc
shr al, cl
add edi, 1
dec al
mov al, byte [edi]
call fcn.00464558
xor byte [esi - 0xa3a0cca], al
in al, 0x1f
sub al, 0x7f
xchg esi, eax
test byte [0x2a30c767], 0x86
xor dword [esi + 0x19b356e5], ecx
jne 0x465c24
sub ebx, dword [eax + 0x772c7d98]
pop esp
inc edi
wait
push es
mov eax, dword [0x226c9646]
shr dword [edi + esi*2], 0xe9
vpmulhuw ymm4, ymm1, ymm1
sub al, 0xca
lodsd eax, dword [esi]
sbb bh, dh
push ds
mov al, dl
xor eax, 0x24cdad52
daa
or ecx, 0xc61d3a37
or bh, byte [edi - 0xff542c6]
into
mov ecx, 0xf7e3da2
pop edi
std
inc edi
cmp dword [ecx + 0x544e4202], edi
sbb eax, 0xef9446fa
shl byte [edi], 0xf5
aad 0x55
mov eax, dword [0x8f3c8b75]
Function at 0x10001100
Capabilities:
Create directory

Disassembly:
sub esp, 0x3c
mov eax, dword [0x1005c0e4]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
mov esi, dword [esp + 0x44]
push dword [esi + 8]
call fcn.100277ae
add esp, 4
test eax, eax
jns 0x10001185
lea eax, [esp + 0xc]
push eax
push dword [esi + 8]
call fcn.1001bbf0
add esp, 8
test eax, eax
js 0x10001173
push 0
call fcn.10027818
sub eax, dword [esp + 0x30]
add esp, 4
cmp eax, 0x258
jle 0x10001173
push dword [esi + 8]
call fcn.1003419f
add esp, 4
test eax, eax
jne 0x10001173
push esi
call sym.fontconfig.dll_FcAtomicLock
add esp, 4
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10023cd9
add esp, 0x3c
ret
xor eax, eax
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10023cd9
add esp, 0x3c
ret
push dword [esi + 4]
call fcn.1003412a
mov ecx, dword [esp + 0x40]
add esp, 4
mov eax, 1
pop esi
xor ecx, esp
call fcn.10023cd9
add esp, 0x3c
ret

Function at 0x100011d0
Capabilities:
Move file

Disassembly:
push esi
mov esi, dword [esp + 8]
push dword [esi]
call fcn.1003412a
push dword [esi]
push dword [esi + 4]
call fcn.10027700
xor ecx, ecx
add esp, 0xc
test eax, eax
setns cl
mov eax, ecx
pop esi
ret
Function at 0x10002760
Capabilities:
Read file via mapping

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [edi + 0x14], 0x28
jl 0x1000296a
call fcn.10003910
mov esi, dword [0x1005cb80]
test esi, esi
je 0x100027ab
mov ecx, dword [edi]
cmp dword [esi + 0x10], ecx
jne 0x100027a4
mov ax, word [esi + 0x14]
cmp ax, word [edi + 4]
jne 0x100027a4
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x20]
jne 0x100027a4
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi + 0x24]
je 0x10002809
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x10002785
xor ecx, ecx
mov edx, 0x1005cbc0
xor eax, eax
lock cmpxchg dword [edx], ecx
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
xor ecx, ecx
mov ebp, 0x1005cb78
xor eax, eax
lock cmpxchg dword [ebp], ecx
mov edx, eax
test edx, edx
jne 0x10002864
push 0x1004334c
call fcn.10029698
add esp, 4
test eax, eax
je 0x10002856
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.100174e0
add esp, 8
test eax, eax
je 0x10002856
mov edx, dword [esp + 0x1c]
neg edx
sbb edx, edx
add edx, 2
jmp 0x1000285b
mov ecx, 1
lea eax, [esi + 4]
lock xadd dword [eax], ecx
xor ecx, ecx
mov edx, 0x1005cbc0
xor eax, eax
lock cmpxchg dword [edx], ecx
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esi]
test esi, esi
je 0x100027c1
push dword [esp + 0x20]
push esi
push dword [esp + 0x1c]
call fcn.10001ac0
add esp, 0xc
test eax, eax
jne 0x10002958
push esi
call sym.fontconfig.dll_FcDirCacheUnload
add esp, 4
jmp 0x100027bf
mov edx, 3
mov ecx, edx
xor eax, eax
lock cmpxchg dword [ebp], ecx
mov ebp, dword [esp + 0x18]
cmp edx, 3
jne 0x10002878
push ebp
call sym.fontconfig.dll_FcDirCacheCreateUUID
add esp, 4
jmp 0x10002880
xor eax, eax
cmp edx, 1
sete al
test eax, eax
je 0x100028c8
cmp dword [edi + 0x14], 0x400
jl 0x100028c8
push 0
push 0
push 0
push 2
push 0
push ebp
call fcn.10027c4a
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x100028cc
push dword [edi + 0x14]
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test esi, esi
jne 0x10002908
push dword [edi + 0x14]
call fcn.100274ed
mov esi, eax
add esp, 4
test esi, esi
je 0x1000296a
push dword [edi + 0x14]
push esi
push ebp
call fcn.10034a15
add esp, 0xc
cmp eax, dword [edi + 0x14]
je 0x10002903
push esi
call fcn.100274d2
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebx, 1
cmp dword [esi], 0xfc02fc04
jne 0x1000295f
cmp dword [esi + 4], 8
jl 0x1000295f
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x14]
jne 0x1000295f
push esi
call fcn.10001890
add esp, 4
test eax, eax
je 0x1000295f
push dword [esp + 0x20]
push esi
push dword [esp + 0x1c]
call fcn.10001ac0
add esp, 0xc
test eax, eax
je 0x1000295f
push edi
push esi
call fcn.100015a0
add esp, 8
test eax, eax
je 0x1000295f
test ebx, ebx
je 0x10002958
mov dword [esi], 0xfc02fc05
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
push esi
test ebx, ebx
jne 0x100028f4
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x1000ab80
Capabilities:
Create directory

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov ecx, esi
push edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ab90
sub ecx, edx
je 0x1000ac18
push esi
call sym.fontconfig.dll_FcStrDirname
mov edi, eax
add esp, 4
test edi, edi
je 0x1000ac18
push 0
push edi
call fcn.10034209
add esp, 8
test eax, eax
je 0x1000abd6
push 0
push edi
call fcn.10034209
add esp, 8
cmp eax, 0xffffffff
jne 0x1000ac07
push edi
call fcn.1000ab80
add esp, 4
test eax, eax
je 0x1000ac07
push esi
call fcn.100277ae
add esp, 4
test eax, eax
jne 0x1000ac07
push 0x1ed
push esi
call fcn.10034293
add esp, 8
test eax, eax
jne 0x1000ac07
push edi
lea esi, [eax + 1]
call sym.fontconfig.dll_FcStrFree
add esp, 4
mov eax, esi
pop edi
pop esi
pop ecx
ret
push edi
xor esi, esi
call sym.fontconfig.dll_FcStrFree
add esp, 4
mov eax, esi
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x1001aa30
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
test edx, edx
je 0x1001aa51
mov cl, byte [edx]
test cl, cl
je 0x1001aa51
ror eax, 0x1f
lea edx, [edx + 1]
movzx ecx, cl
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x1001aa40
ret

Function at 0x1001ace5
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x18
mov eax, dword [ecx]
inc eax
push esi
cmp eax, 0xa
ja case.0x1001acb4.0
jmp dword [eax*4 + 0x1001ae68]
movsd xmm1, qword [ecx + 8]
xorps xmm0, xmm0
comisd xmm0, xmm1
jbe 0x1001acd0
xorps xmm1, xmmword [0x10043aa0]
movsd xmm0, qword [0x100501f8]
minsd xmm0, xmm1
pop esi
add esp, 0x18
jmp fcn.10023f20
mov edx, dword [ecx + 8]
test dl, 1
je 0x1001acf2
and edx, 0xfffffffe
add edx, ecx
xor ecx, ecx
test edx, edx
je 0x1001ad11
mov al, byte [edx]
test al, al
je 0x1001ad11
nop
ror ecx, 0x1f
lea edx, [edx + 1]
movzx eax, al
xor ecx, eax
mov al, byte [edx]
test al, al
jne 0x1001ad00
mov eax, ecx
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
xorps xmm3, xmm3
movsd xmm2, qword [0x10043aa0]
movsd xmm0, qword [eax]
comisd xmm3, xmm0
jbe 0x1001ad3b
xorps xmm0, xmm2
movsd xmm4, qword [0x100501f8]
movaps xmm1, xmm4
minsd xmm1, xmm0
movsd xmm0, qword [eax + 8]
comisd xmm3, xmm0
movsd qword [esp + 4], xmm1
jbe 0x1001ad5e
xorps xmm0, xmm2
movaps xmm1, xmm4
minsd xmm1, xmm0
movsd xmm0, qword [eax + 0x10]
comisd xmm3, xmm0
movsd qword [esp + 0xc], xmm1
jbe 0x1001ad79
xorps xmm0, xmm2
movaps xmm1, xmm4
minsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
movsd xmm1, qword [eax + 0x18]
comisd xmm3, xmm1
jbe 0x1001ad94
xorps xmm1, xmm2
minsd xmm4, xmm1
movaps xmm0, xmm4
call fcn.10023f20
movsd xmm0, qword [esp + 0x14]
mov esi, eax
call fcn.10023f20
movsd xmm0, qword [esp + 0xc]
xor esi, eax
call fcn.10023f20
movsd xmm0, qword [esp + 4]
xor esi, eax
call fcn.10023f20
xor eax, esi
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
test al, 1
je 0x1001adda
and eax, 0xfffffffe
add eax, ecx
mov eax, dword [eax + 4]
pop esi
add esp, 0x18
ret
mov esi, dword [ecx + 8]
xor edx, edx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1001ae05
mov al, byte [ecx]
test al, al
je 0x1001ae05
ror edx, 0x1f
lea ecx, [ecx + 1]
movzx eax, al
xor edx, eax
mov al, byte [ecx]
test al, al
jne 0x1001adf4
mov esi, dword [esi + 0x18]
xor ecx, ecx
test esi, esi
je 0x1001ae25
mov al, byte [esi]
test al, al
je 0x1001ae25
ror ecx, 0x1f
lea esi, [esi + 1]
movzx eax, al
xor ecx, eax
mov al, byte [esi]
test al, al
jne 0x1001ae14
xor ecx, edx
mov eax, ecx
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
test al, 1
je 0x1001ae3a
and eax, 0xfffffffe
add eax, ecx
pop esi
add esp, 0x18
mov dword [esp + 4], eax
jmp sym.fontconfig.dll_FcLangSetHash
mov eax, dword [ecx + 8]
test al, 1
je 0x1001ae53
and eax, 0xfffffffe
add eax, ecx
pop esi
add esp, 0x18
mov dword [esp + 4], eax
jmp fcn.1001b700
xor eax, eax
pop esi
add esp, 0x18
ret
Function at 0x1001ade2
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x18
mov eax, dword [ecx]
inc eax
push esi
cmp eax, 0xa
ja case.0x1001acb4.0
jmp dword [eax*4 + 0x1001ae68]
movsd xmm1, qword [ecx + 8]
xorps xmm0, xmm0
comisd xmm0, xmm1
jbe 0x1001acd0
xorps xmm1, xmmword [0x10043aa0]
movsd xmm0, qword [0x100501f8]
minsd xmm0, xmm1
pop esi
add esp, 0x18
jmp fcn.10023f20
mov edx, dword [ecx + 8]
test dl, 1
je 0x1001acf2
and edx, 0xfffffffe
add edx, ecx
xor ecx, ecx
test edx, edx
je 0x1001ad11
mov al, byte [edx]
test al, al
je 0x1001ad11
nop
ror ecx, 0x1f
lea edx, [edx + 1]
movzx eax, al
xor ecx, eax
mov al, byte [edx]
test al, al
jne 0x1001ad00
mov eax, ecx
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
xorps xmm3, xmm3
movsd xmm2, qword [0x10043aa0]
movsd xmm0, qword [eax]
comisd xmm3, xmm0
jbe 0x1001ad3b
xorps xmm0, xmm2
movsd xmm4, qword [0x100501f8]
movaps xmm1, xmm4
minsd xmm1, xmm0
movsd xmm0, qword [eax + 8]
comisd xmm3, xmm0
movsd qword [esp + 4], xmm1
jbe 0x1001ad5e
xorps xmm0, xmm2
movaps xmm1, xmm4
minsd xmm1, xmm0
movsd xmm0, qword [eax + 0x10]
comisd xmm3, xmm0
movsd qword [esp + 0xc], xmm1
jbe 0x1001ad79
xorps xmm0, xmm2
movaps xmm1, xmm4
minsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
movsd xmm1, qword [eax + 0x18]
comisd xmm3, xmm1
jbe 0x1001ad94
xorps xmm1, xmm2
minsd xmm4, xmm1
movaps xmm0, xmm4
call fcn.10023f20
movsd xmm0, qword [esp + 0x14]
mov esi, eax
call fcn.10023f20
movsd xmm0, qword [esp + 0xc]
xor esi, eax
call fcn.10023f20
movsd xmm0, qword [esp + 4]
xor esi, eax
call fcn.10023f20
xor eax, esi
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
test al, 1
je 0x1001adda
and eax, 0xfffffffe
add eax, ecx
mov eax, dword [eax + 4]
pop esi
add esp, 0x18
ret
mov esi, dword [ecx + 8]
xor edx, edx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1001ae05
mov al, byte [ecx]
test al, al
je 0x1001ae05
ror edx, 0x1f
lea ecx, [ecx + 1]
movzx eax, al
xor edx, eax
mov al, byte [ecx]
test al, al
jne 0x1001adf4
mov esi, dword [esi + 0x18]
xor ecx, ecx
test esi, esi
je 0x1001ae25
mov al, byte [esi]
test al, al
je 0x1001ae25
ror ecx, 0x1f
lea esi, [esi + 1]
movzx eax, al
xor ecx, eax
mov al, byte [esi]
test al, al
jne 0x1001ae14
xor ecx, edx
mov eax, ecx
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
test al, 1
je 0x1001ae3a
and eax, 0xfffffffe
add eax, ecx
pop esi
add esp, 0x18
mov dword [esp + 4], eax
jmp sym.fontconfig.dll_FcLangSetHash
mov eax, dword [ecx + 8]
test al, 1
je 0x1001ae53
and eax, 0xfffffffe
add eax, ecx
pop esi
add esp, 0x18
mov dword [esp + 4], eax
jmp fcn.1001b700
xor eax, eax
pop esi
add esp, 0x18
ret
Function at 0x1001ae2e
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x18
mov eax, dword [ecx]
inc eax
push esi
cmp eax, 0xa
ja case.0x1001acb4.0
jmp dword [eax*4 + 0x1001ae68]
movsd xmm1, qword [ecx + 8]
xorps xmm0, xmm0
comisd xmm0, xmm1
jbe 0x1001acd0
xorps xmm1, xmmword [0x10043aa0]
movsd xmm0, qword [0x100501f8]
minsd xmm0, xmm1
pop esi
add esp, 0x18
jmp fcn.10023f20
mov edx, dword [ecx + 8]
test dl, 1
je 0x1001acf2
and edx, 0xfffffffe
add edx, ecx
xor ecx, ecx
test edx, edx
je 0x1001ad11
mov al, byte [edx]
test al, al
je 0x1001ad11
nop
ror ecx, 0x1f
lea edx, [edx + 1]
movzx eax, al
xor ecx, eax
mov al, byte [edx]
test al, al
jne 0x1001ad00
mov eax, ecx
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
xorps xmm3, xmm3
movsd xmm2, qword [0x10043aa0]
movsd xmm0, qword [eax]
comisd xmm3, xmm0
jbe 0x1001ad3b
xorps xmm0, xmm2
movsd xmm4, qword [0x100501f8]
movaps xmm1, xmm4
minsd xmm1, xmm0
movsd xmm0, qword [eax + 8]
comisd xmm3, xmm0
movsd qword [esp + 4], xmm1
jbe 0x1001ad5e
xorps xmm0, xmm2
movaps xmm1, xmm4
minsd xmm1, xmm0
movsd xmm0, qword [eax + 0x10]
comisd xmm3, xmm0
movsd qword [esp + 0xc], xmm1
jbe 0x1001ad79
xorps xmm0, xmm2
movaps xmm1, xmm4
minsd xmm1, xmm0
movsd qword [esp + 0x14], xmm1
movsd xmm1, qword [eax + 0x18]
comisd xmm3, xmm1
jbe 0x1001ad94
xorps xmm1, xmm2
minsd xmm4, xmm1
movaps xmm0, xmm4
call fcn.10023f20
movsd xmm0, qword [esp + 0x14]
mov esi, eax
call fcn.10023f20
movsd xmm0, qword [esp + 0xc]
xor esi, eax
call fcn.10023f20
movsd xmm0, qword [esp + 4]
xor esi, eax
call fcn.10023f20
xor eax, esi
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
test al, 1
je 0x1001adda
and eax, 0xfffffffe
add eax, ecx
mov eax, dword [eax + 4]
pop esi
add esp, 0x18
ret
mov esi, dword [ecx + 8]
xor edx, edx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1001ae05
mov al, byte [ecx]
test al, al
je 0x1001ae05
ror edx, 0x1f
lea ecx, [ecx + 1]
movzx eax, al
xor edx, eax
mov al, byte [ecx]
test al, al
jne 0x1001adf4
mov esi, dword [esi + 0x18]
xor ecx, ecx
test esi, esi
je 0x1001ae25
mov al, byte [esi]
test al, al
je 0x1001ae25
ror ecx, 0x1f
lea esi, [esi + 1]
movzx eax, al
xor ecx, eax
mov al, byte [esi]
test al, al
jne 0x1001ae14
xor ecx, edx
mov eax, ecx
pop esi
add esp, 0x18
ret
mov eax, dword [ecx + 8]
test al, 1
je 0x1001ae3a
and eax, 0xfffffffe
add eax, ecx
pop esi
add esp, 0x18
mov dword [esp + 4], eax
jmp sym.fontconfig.dll_FcLangSetHash
mov eax, dword [ecx + 8]
test al, 1
je 0x1001ae53
and eax, 0xfffffffe
add eax, ecx
pop esi
add esp, 0x18
mov dword [esp + 4], eax
jmp fcn.1001b700
xor eax, eax
pop esi
add esp, 0x18
ret
Function at 0x1002c90e
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1005c0e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x10052cc4
push esi
call fcn.1003a1d8
pop ecx
pop ecx
test eax, eax
jne 0x1002c93c
xor al, al
jmp 0x1002c9b9
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.1002c64f
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x1002c976
push dword [ebp - 0x210]
call fcn.100274d2
xor al, al
jmp 0x1002c9b7
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1002c97c
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x1002c99c
push edx
call fcn.1002c845
pop ecx
test al, al
je 0x1002c967
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1002c9aa
mov bl, 1
push dword [ebp - 0x210]
call fcn.100274d2
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10023cd9
leave
ret

Function at 0x100334db
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1003351a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003351a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003351a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1003351a
cmp dword [ecx + 0x74], 0xe
jbe 0x1003351a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10034539
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 + 0x1005db58]
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 0x10034579
cmp byte [ebx], 0xa
jne 0x10034579
or byte [edi + eax + 0x28], 4
jmp 0x1003457e
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 0x1003467d
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10034660
inc eax
cmp dl, 0xd
je 0x100345aa
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100345d0
cmp eax, ecx
jae 0x100345de
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 0x10034592
jmp 0x1003467d
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 0x1003465b
cmp dword [ebp - 0x10], 0
je 0x1003465b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1005db58]
test byte [eax + edi + 0x28], 0x48
je 0x10034635
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10034620
mov byte [esi], dl
jmp 0x10034631
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1005db58]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1003467d
cmp byte [ebp - 1], 0xa
jne 0x10034644
cmp esi, ebx
jne 0x10034644
mov byte [esi], 0xa
jmp 0x1003467c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10037dab
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1003467d
mov byte [esi], 0xd
jmp 0x1003467c
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1005db58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1003467a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1003467d
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10034686
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1005db58]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100346cc
cmp word [ebx], dx
jne 0x100346cc
or byte [eax + edi + 0x28], 4
jmp 0x100346d1
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10034834
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10034814
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10034712
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10034748
cmp eax, edx
jae 0x10034756
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100346ed
jmp 0x10034834
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003480f
cmp dword [ebp - 0x18], 0
je 0x1003480f
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1005db58]
test byte [eax + edi + 0x28], 0x48
je 0x100347e5
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100347a9
mov word [esi], cx
jmp 0x100347e0
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1005db58]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1005db58]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1005db58]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10034834
pop eax
cmp word [ebp - 4], ax
jne 0x100347f5
cmp esi, ebx
jne 0x100347f5
mov word [esi], ax
jmp 0x10034831
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10037dab
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10034834
push 0xd
pop eax
jmp 0x100347f0
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1005db58]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1003482e
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10034834
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret