Function at 0x101407d0
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
mov eax, dword [0x10411ce0]
xor eax, esp
mov dword [esp + 0x158], eax
mov eax, dword [ebp + 0x34]
push ebx
mov ebx, dword [ebp + 0x30]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], esi
mov dword [esi + 8], eax
push edi
test eax, eax
jne 0x10140821
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.102d6d23
mov esp, ebp
pop ebp
ret 0x30
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10140837
push 0
push 0
push 1
push eax
call fcn.100e9fb0
add esp, 0x10
push 0x3c
lea eax, [esp + 0x38]
mov dword [esi + 0x2c], 0
xorps xmm0, xmm0
mov dword [esp + 0x114], 0
push 0
push eax
movdqu xmmword [esp + 0x120], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], 0
call fcn.102dad40
add esp, 0xc
mov dword [esp + 0x28], 0
lea eax, [esp + 0x9c]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
push 0x64
push 0
push eax
movq qword [esp + 0x114], xmm0
mov dword [esp + 0xa4], 0
call fcn.102dad40
movzx eax, byte [ebp + 0x2c]
add esp, 0xc
cmp byte [ebp + 0x28], 0
mov edi, dword [ebp + 0x24]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], 2
je 0x1014090d
mov dword [esi + 0x34], 0x18e
mov dword [esi + 0x3c], 0xe8c00
jmp 0x10140914
mov dword [esi + 0x3c], 0x3042
push 0
lea eax, [esp + 0x108]
mov dword [esp + 0x108], 0x10481
push eax
push 0
push 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
call fcn.100e9f20
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x9c], 0x10481
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x144]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], 0
test edi, edi
jg 0x10140af2
cmp edi, 0xffffffff
jne 0x10140a89
test ebx, ebx
je 0x10140a17
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x10140a17
lea edi, [esi + 0x50]
mov edx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x101409d3
lea ecx, [edi - 2]
jmp 0x101409f0
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x101409f0
mov eax, dword [str..tmp]
mov dword [ecx], eax
mov eax, dword [0x103d5610]
mov dword [ecx + 4], eax
mov ax, word [0x103d5614]
mov word [ecx + 8], ax
jmp 0x10140a35
lea edi, [esi + 0x50]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
push 0
push str.stats
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0
push 0x208
add esi, 0x25c
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], 0x10481
mov dword [esp + eax*8 + 0x144], 0x100ec950
mov dword [esp + eax*8 + 0x148], ecx
inc eax
mov dword [esp + 0xb0], eax
jmp 0x10140af2
imul eax, dword [ebp + 0x20], 0x3e8
mov dword [esp + 0xb0], 1
cmp edi, 0xfffffffe
jne 0x10140ac7
mov dword [esp + 0x34], eax
lea eax, [esi + 0x25c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x10481
mov dword [esp + 0x144], 0x100ec6e0
jmp 0x10140aeb
mov dword [esp + 0x114], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x110], 0x10481
mov dword [esp + 0x144], 0x100ea360
mov dword [esp + 0x148], eax
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x18]
call fcn.101405f0
mov eax, dword [ebp + 0x1c]
mov ecx, 0xf0
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
test ebx, ebx
je 0x10140b30
mov eax, dword [ebx + 0x14]
test eax, eax
cmovg ecx, eax
mov dword [esp + 0xcc], ecx
movdqa xmm0, xmmword [0x103d56c0]
xor eax, eax
mov dword [esp + 0xec], 0x1f
mov dword [esp + 0xf0], 0x1f
mov dword [esp + 0xd0], 0
mov dword [esp + 0xc0], eax
movdqu xmmword [esp + 0xdc], xmm0
test ebx, ebx
je 0x10140b81
cmp byte [ebx + 0x19], al
mov ecx, 2
cmovne eax, ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10140be1
push eax
call fcn.102d8a4f
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x10140be1
mov ebx, eax
lea esp, [esp]
push 0x103d5624
push ebx
call fcn.102d79c0
mov edi, eax
add esp, 8
test edi, edi
je 0x10140bb7
mov byte [edi], 0
push 0x103d5628
push ebx
call fcn.102d79c0
add esp, 8
test eax, eax
je 0x10140bcc
mov byte [eax], 0
test edi, edi
je 0x10140bd5
lea ebx, [edi + 1]
jmp 0x10140ba0
push dword [esp + 0x10]
call fcn.102d6d32
add esp, 4
push 0
lea eax, [esp + 0x9c]
push eax
push 0
push 0
call fcn.100e9fb0
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x10140c07
mov ecx, dword [esp + 0xf4]
mov dword [esi + 0x2c], ecx
cmp byte [ebp + 0x2c], 0
je 0x10140d65
cmp dword [esi + 0x2c], 0
je 0x10140d65
mov edi, dword [esi + 0x20]
xorps xmm0, xmm0
mov esi, dword [esi + 0x24]
mov eax, edi
mov ecx, esi
cdq
imul ecx, edi
sub eax, edx
mov ebx, eax
movq qword [esp + 0x128], xmm0
sar ebx, 1
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], edi
add ecx, 0x400
mov dword [esp + 0x138], ebx
push ecx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], 0
call fcn.102d6fbe
mov dword [esp + 0x128], eax
add esp, 4
mov eax, esi
cdq
sub eax, edx
sar eax, 1
imul eax, ebx
lea esi, [eax + 0x400]
push esi
call fcn.102d6fbe
add esp, 4
mov dword [esp + 0x128], eax
push esi
call fcn.102d6fbe
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x12c], eax
xor edi, edi
mov eax, dword [esi]
lea ecx, [esp + 0x134]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [esp + 0x138]
push ecx
push esi
call dword [eax + 0x24]
cmp dword [esi + 0x4c], 0
jne 0x10140cdc
inc edi
cmp edi, 0x64
jl 0x10140cb2
push dword [esp + 0x124]
call fcn.102d6d32
add esp, 4
push dword [esp + 0x128]
call fcn.102d6d32
add esp, 4
push dword [esp + 0x12c]
call fcn.102d6d32
mov eax, dword [esi + 0x2c]
add esp, 4
test eax, eax
je 0x10140d1f
push 0
push 0
push 1
push eax
call fcn.100e9fb0
add esp, 0x10
push 0
lea eax, [esp + 0x9c]
mov dword [esp + 0xf8], 0
push eax
push 0
push 0
mov dword [esi + 0x2c], 0
call fcn.100e9fb0
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x10140d57
mov eax, dword [esp + 0xf4]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov ecx, dword [esp + 0x164]
xor eax, eax
pop edi
test edx, edx
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.102d6d23
mov esp, ebp
pop ebp
ret 0x30