joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10072210
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x101beeb8]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100722ac
mov edi, dword [ebp + 8]
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ecx, ecx
and eax, 0xfffffffc
je 0x10072260
mov edx, dword [0x101beeb0]
mov ebx, dword [eax + edx*8 + 4]
cmp ebx, dword [0x101beeb4]
jne 0x10072260
mov ecx, dword [eax + edx*8]
mov dword [esi], ecx
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
call fcn.100bdc70
mov eax, dword [eax]
mov dword [esi + 0x10], eax
test eax, eax
je 0x10072282
lock inc dword [eax + 4]
push 8
call fcn.10145ba4
add esp, 4
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [esi + 0x14], eax
test eax, eax
je 0x100722a0
lock inc dword [eax]
mov dword [esi + 0x18], esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x101beeb8
call fcn.10145c47
add esp, 4
cmp dword [0x101beeb8], 0xffffffff
jne 0x10072235
mov dword [0x101beeb4], 0
mov dword [0x101beeb0], 0xffffffff
mov ecx, 0x101beeb0
push 0
call fcn.1007a5a0
push 0x101beeb8
call fcn.10145cbd
add esp, 4
jmp 0x10072235
Function at 0x1007e430
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov edi, esp
push 0x1c9
push str....._base_files_file_util_win.cc
push str.PathExists
push edi
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push 0
push edi
call fcn.100bcee0
test byte [0x101bacd0], 0x19
jne 0x1007e4d5
cmp byte [esi + 0xb], 0
jns 0x1007e49f
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
test byte [0x101bacd0], 0x19
jne 0x1007e510
cmp esi, 0xffffffff
setne bl
lea ecx, [esp + 0x20]
call fcn.100bd410
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x1c]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
cmp byte [esi + 0xb], 0
js 0x1007e49d
jmp 0x1007e49f
mov dword [esp + 4], 0
mov dword [esp], 0
sub esp, 0x18
movq xmm0, qword [esp + 0x18]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x1007e4b1

Function at 0x1007e560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.10149430
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x1007e661
push ebx
call fcn.10163aa4
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.10060680
mov dword [ebp - 0x228], 0xffffffff
mov dword [ebp - 0x224], 0xffffffff
mov dword [ebp - 0x220], 0xffffffff
movzx eax, byte [ebp - 0x229]
test al, al
jns 0x1007e5fc
mov edi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x230]
lea ebx, [ebp - 0x228]
mov ecx, ebx
push eax
push edi
call fcn.10060680
mov ecx, ebx
call fcn.10061ca0
mov edi, dword [ebp + 8]
cmp byte [edi + 0xb], 0
jns 0x1007e625
push dword [edi]
call fcn.10145bd4
add esp, 4
mov eax, dword [ebp - 0x220]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x228]
movsd qword [edi], xmm0
mov byte [ebp - 0x21d], 0
mov word [ebp - 0x228], 0
cmp byte [ebp - 0x229], 0
jns 0x1007e661
push dword [ebp - 0x234]
call fcn.10145bd4
add esp, 4
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1007f1e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov edi, esp
push 0x38a
push str....._base_files_file_util_win.cc
push 0x101a0ee7
push edi
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push 0
push edi
call fcn.100bcee0
test byte [0x101bacd0], 0x19
jne 0x1007f323
cmp byte [esi + 0xb], 0
jns 0x1007f253
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x101a0e20]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, 0xffffffff
test eax, eax
je 0x1007f29a
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp edi, 0xffffffff
je 0x1007f29e
call fcn.10065990
jmp 0x1007f2a0
xor edi, edi
jmp 0x1007f2e6
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x1007f2e6
lea eax, [edi + 1]
cmp eax, 2
jb 0x1007f2e6
mov eax, dword [ebp + 0xc]
mov dword [esp], 0xffffffff
push 0
lea ecx, [esp + 4]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp]
cmp ecx, ebx
mov edx, 0xffffffff
cmove edx, ecx
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, edx
lea eax, [edi + 1]
cmp eax, 2
jb 0x1007f2fc
call fcn.10065990
push edi
call fcn.100849b0
add esp, 4
test byte [0x101bacd0], 0x19
jne 0x1007f365
lea ecx, [esp + 0x20]
call fcn.100bd410
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.101465a3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x1c]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
cmp byte [esi + 0xb], 0
js 0x1007f251
jmp 0x1007f253
mov dword [esp + 4], 0
mov dword [esp], 0
sub esp, 0x18
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x1007f305
Function at 0x1007f3b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x280
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x278], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x260], xmm0
movdqa xmmword [esp + 0x250], xmm0
movdqa xmmword [esp + 0x240], xmm0
movdqa xmmword [esp + 0x230], xmm0
lea ebx, [esp + 0x28]
push 0x3c3
push str....._base_files_file_util_win.cc
push 0x101a0ef1
push ebx
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x230]
push 0
push 0
push ebx
call fcn.100bcee0
test byte [0x101bacd0], 0x19
jne 0x1007f539
lea eax, [esp + 0x2a]
push 0x206
push 0xff
push eax
call fcn.10149430
add esp, 0xc
mov word [esp + 0x28], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xfffffefb
cmp esi, 0xfffffefc
jb 0x1007f503
push ebx
call fcn.10163aa4
add esp, 4
lea edi, [esp + 0xc]
mov ecx, edi
push eax
push ebx
call fcn.10060680
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
movzx eax, byte [esp + 0x17]
test al, al
jns 0x1007f4ac
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ebx, [esp + 0x18]
mov ecx, ebx
push eax
push edi
call fcn.10060680
mov ecx, ebx
call fcn.10061ca0
mov edi, dword [ebp + 8]
cmp byte [edi + 0xb], 0
jns 0x1007f4d3
push dword [edi]
call fcn.10145bd4
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [edi + 8], eax
movq xmm0, qword [esp + 0x18]
movq qword [edi], xmm0
mov byte [esp + 0x23], 0
mov word [esp + 0x18], 0
cmp byte [esp + 0x17], 0
jns 0x1007f503
push dword [esp + 0xc]
call fcn.10145bd4
add esp, 4
test byte [0x101bacd0], 0x19
jne 0x1007f571
cmp esi, 0xfffffefc
setae bl
lea ecx, [esp + 0x230]
call fcn.100bd410
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x14]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
jmp 0x1007f42f
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
sub esp, 0x18
movq xmm0, qword [esp + 0x40]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x1007f50c
Function at 0x1007f5c0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov edi, esp
push 0x3d3
push str....._base_files_file_util_win.cc
push 0x101a0f06
push edi
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push 0
push edi
call fcn.100bcee0
test byte [0x101bacd0], 0x19
jne 0x1007f664
cmp byte [esi + 0xb], 0
jns 0x1007f62f
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
test byte [0x101bacd0], 0x19
jne 0x1007f69f
test esi, esi
setne bl
lea ecx, [esp + 0x20]
call fcn.100bd410
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x1c]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
cmp byte [esi + 0xb], 0
js 0x1007f62d
jmp 0x1007f62f
mov dword [esp + 4], 0
mov dword [esp], 0
sub esp, 0x18
movq xmm0, qword [esp + 0x18]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x1007f641
Function at 0x1007f880
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2b8
mov ebx, edx
mov edi, ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x2a4]
push 0x294
push 0xff
push esi
call fcn.10149430
add esp, 0xc
mov ecx, esi
push 0
push 0
mov dword [ebp - 0x2c4], ebx
push ebx
push 3
push 0
push edi
call fcn.1009c2d0
mov dword [ebp - 0x2b0], 0xffffffff
mov dword [ebp - 0x2ac], 0xffffffff
mov dword [ebp - 0x2a8], 0xffffffff
lea eax, [ebp - 0x2b0]
mov ecx, esi
push eax
call fcn.1009c5a0
movzx eax, byte [ebp - 0x2a5]
mov ecx, eax
test al, al
jns 0x1007f909
mov ecx, dword [ebp - 0x2ac]
test ecx, ecx
je 0x1007fa76
movzx ecx, byte [ebp + 8]
xor cl, 1
mov byte [ebp - 0x2bd], cl
xor edi, edi
jmp 0x1007f93a
mov edi, esi
test ecx, ecx
je 0x1007fa78
cmp byte [ebp - 0x2a4], 0
je 0x1007f98d
mov ebx, dword [ebp - 0x2a0]
test bl, 1
je 0x1007f981
mov ecx, ebx
and ecx, 0x10
shr ecx, 4
xor esi, esi
test byte [ebp - 0x2bd], cl
jne 0x1007fa10
mov ecx, ebx
and ecx, 0xfffffffe
lea edx, [ebp - 0x2b0]
test al, al
jns 0x1007f979
mov edx, dword [ebp - 0x2b0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
jne 0x1007f9c0
movzx eax, byte [ebp - 0x2a5]
lea ecx, [ebp - 0x2b0]
test al, al
jns 0x1007f99d
mov ecx, dword [ebp - 0x2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
test eax, eax
jne 0x1007fa10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor esi, esi
cmp ecx, 2
je 0x1007fa10
mov esi, eax
jmp 0x1007fa10
xor esi, esi
cmp byte [ebp + 8], 0
je 0x1007fa10
lea ecx, [ebp - 0x2b0]
mov edx, dword [ebp - 0x2c4]
push 1
call fcn.1007f880
add esp, 4
mov esi, eax
test eax, eax
jne 0x1007fa10
cmp byte [ebp - 0x2a5], 0
lea eax, [ebp - 0x2b0]
jns 0x1007f9f9
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, 0
test eax, eax
je 0x1007f9aa
nop dword [eax]
test edi, edi
cmovne esi, edi
lea ecx, [ebp - 0x2a4]
lea eax, [ebp - 0x2bc]
push eax
call fcn.1009c5a0
cmp byte [ebp - 0x2a5], 0
jns 0x1007fa3e
push dword [ebp - 0x2b0]
call fcn.10145bd4
add esp, 4
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2a8], eax
movsd xmm0, qword [ebp - 0x2bc]
movsd qword [ebp - 0x2b0], xmm0
movzx eax, byte [ebp - 0x2a5]
mov ecx, eax
test al, al
jns 0x1007f930
mov ecx, dword [ebp - 0x2ac]
jmp 0x1007f930
xor esi, esi
test al, al
jns 0x1007fa8a
push dword [ebp - 0x2b0]
call fcn.10145bd4
add esp, 4
lea ecx, [ebp - 0x2a4]
call fcn.1009c520
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, esi
add esp, 0x2b8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10083dd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, edx
mov ebx, ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x10083e2a
mov eax, dword [0x101bac64]
cmp eax, 0xffffffff
jne 0x10083e10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x101bac64
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x10083e1b
mov eax, dword [0x101bac64]
mov ebx, 0x100000
test eax, eax
jne 0x10083e2a
jmp 0x10083e25
mov dword [0x101bac64], 0
mov ebx, 0x80000
push 0x10
call fcn.10145ba4
add esp, 4
mov esi, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x101c1e84]
bt ecx, eax
mov dword [ebp - 0x24], ebx
jae 0x10083e5a
push edi
call fcn.10069180
add esp, 4
jmp 0x10083e66
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x101c9e84], 1
mov dword [esi], edi
mov ebx, dword [ebp + 8]
test ebx, ebx
setne byte [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push 0
push 0x10000
push esi
push 0x10084320
mov ebx, dword [ebp - 0x24]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test eax, eax
je 0x10083eae
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10083f44
mov dword [ebx], edi
jmp 0x10083f4b
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x10083f64
mov edi, eax
cmp eax, 0x5af
je 0x10083f64
cmp edi, 0xe
je 0x10083f64
mov eax, dword [0x101bfb98]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10083f6a
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.10073d20
add esp, 8
cmp byte [ebp - 0x11], 0
jns 0x10083f11
push dword [ebp - 0x1c]
call fcn.10145bd4
add esp, 4
test esi, esi
mov edi, dword [ebp - 0x20]
je 0x10083f4b
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x101c1e84]
bt edx, ecx
jae 0x10083f39
push eax
call fcn.10069280
add esp, 4
push esi
call fcn.10145bd4
add esp, 4
jmp 0x10083f4b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
call fcn.10090cc0
push 0x101bfb98
call fcn.10145c47
add esp, 4
cmp dword [0x101bfb98], 0xffffffff
jne 0x10083ef3
push 0x101bfb98
call fcn.10145cbd
add esp, 4
jmp 0x10083ef3
Function at 0x10085c10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x6c], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov edi, esp
push 0x5a
push str....._base_system_sys_info_win.cc
push str.AmountOfFreeDiskSpace
push edi
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push 0
push edi
call fcn.100bcee0
test byte [0x101bacd0], 0x19
jne 0x10085d15
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
cmp byte [esi + 0xb], 0
jns 0x10085cae
mov esi, dword [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10085ce3
mov eax, dword [esp + 4]
cmp eax, 0x7fffffff
mov esi, 0x7fffffff
cmovb esi, eax
mov edi, 0xffffffff
test eax, eax
js 0x10085ced
mov edi, dword [esp]
jmp 0x10085ced
mov edi, 0xffffffff
mov esi, 0xffffffff
test byte [0x101bacd0], 0x19
jne 0x10085d4d
lea ecx, [esp + 0x20]
call fcn.100bd410
mov ecx, dword [esp + 0x6c]
xor ecx, ebp
call fcn.101465a3
mov eax, edi
mov edx, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x18]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
jmp 0x10085c77
mov dword [esp + 4], 0
mov dword [esp], 0
sub esp, 0x18
movq xmm0, qword [esp + 0x18]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x10085cf6
Function at 0x100927c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x100927cf
pop ebp
jmp fcn.100922a0
cmp dword [ebp + 0x10], 0
jne 0x100927e9
push 0
push 0
push 0x100d63a0
push 0x101ce654
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
xor eax, eax
pop ebp
ret
Function at 0x10098510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x10098531
call fcn.10065990
mov dword [esi], 0
test edi, edi
je 0x10098555
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x10098584
cmp ebx, 2
jae 0x100985a4
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
push eax
call fcn.1005b2a0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
movzx eax, byte [edi + 0x18]
mov byte [esi + 0x18], al
movzx eax, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.10065990
push dword [esi]
call fcn.100849b0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x1009854e
mov dword [esi], edi
mov edi, eax
call fcn.10065990
mov eax, edi
jmp 0x1009854e

Function at 0x10098600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.1009d400
mov edi, dword [ebx]
mov dword [ebx], 0
lea ebx, [edi + 1]
cmp ebx, 2
jae 0x10098627
cmp dword [esi], edi
jne 0x10098630
jmp 0x1009864a
call fcn.10065990
cmp dword [esi], edi
je 0x1009864a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x10098679
cmp ebx, 2
jae 0x10098699
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call fcn.1005cf00
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
movzx eax, byte [edi + 0x18]
mov byte [esi + 0x18], al
movzx eax, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.10065990
push dword [esi]
call fcn.100849b0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x10098643
mov dword [esi], edi
mov edi, eax
call fcn.10065990
mov eax, edi
jmp 0x10098643
Function at 0x1009c100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x101b9014]
xor ecx, ebp
mov dword [esp + 0x78], ecx
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x5e], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movzx ecx, byte [eax + 0xf]
mov dword [esp + 0x18], ecx
movzx edx, byte [eax + 0xe]
movzx esi, byte [eax + 0xd]
movzx ebx, byte [eax + 0xc]
movzx edi, byte [eax + 0xb]
movzx ecx, byte [eax + 0xa]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [eax + 9]
mov dword [esp + 0x10], ecx
movzx ecx, byte [eax + 8]
mov dword [esp + 0x14], ecx
movzx ecx, word [eax + 6]
mov dword [esp + 8], ecx
movzx ecx, word [eax + 4]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x20]
push dword [esp + 0x18]
push edx
push esi
push ebx
push edi
mov edi, ecx
push dword [esp + 0x30]
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [eax]
push str._08lX__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push 0x27
push ecx
call fcn.1009c240
add esp, 0x38
test eax, eax
js 0x1009c22c
mov esi, dword [ebp + 8]
push 0x50
call fcn.10145ba4
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0x80000028
mov dword [esi + 4], 0x26
lea ecx, [eax + 0x4c]
cmp ecx, edi
setbe cl
cmp eax, edi
ja 0x1009c1e5
test cl, cl
je 0x1009c22f
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [eax + 0x3c], xmm0
movaps xmm0, xmmword [esp + 0x50]
movups xmmword [eax + 0x30], xmm0
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x20]
movaps xmm1, xmmword [esp + 0x30]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
mov word [eax + 0x4c], 0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.101465a3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3