Function at 0x10084f20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x101179e1
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x368], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38c]
xorps xmm0, xmm0
movq qword [esp + 0x124], xmm0
mov dword [esp + 0x12c], 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x384], 0
lea eax, [esp + 0x124]
push eax
call fcn.10092a60
mov eax, dword [esp + 0x128]
mov esi, dword [esp + 0x124]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp esi, eax
je 0x1008589e
xor eax, eax
push 0x206
push eax
mov word [esp + 0x174], ax
lea eax, [esp + 0x176]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x16c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add esi, 0x14
mov dword [esp + 0x11c], eax
mov dword [esp + 0xd0], esi
jmp 0x10085020
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x144], 0xf
mov dword [esp + 0x140], 0
mov byte [esp + 0x130], 0
mov byte [esp + 0x384], 1
cmp dword [esi], 8
jb 0x10085066
mov ecx, dword [esi - 0x14]
jmp 0x10085069
lea ecx, [esi - 0x14]
mov edx, dword [esi - 4]
lea eax, [esp + 0x130]
push eax
call fcn.100234e0
add esp, 4
cmp dword [esp + 0x140], 0
jne 0x10085093
mov byte [esp + 0x384], 0
jmp 0x10085842
xor eax, eax
mov dword [esp + 0x164], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0x15c], ax
lea ecx, [esp + 0x15c]
lea eax, [esi + 4]
mov dword [esp + 0x170], 0
push eax
mov dword [esp + 0x174], 7
mov dword [esp + 0x170], 0
call fcn.10004aa0
mov byte [esp + 0x384], 2
mov edx, 0x10132a70
lea ecx, [esp + 0x154]
call fcn.100212b0
mov edx, 0x10132a70
lea ecx, [esp + 0x154]
call fcn.10021320
mov eax, dword [esp + 0x164]
lea ecx, [esp + 0x11c]
cmp eax, dword [esp + 0x11c]
lea edx, [esp + 0x120]
mov dword [esp + 0x120], eax
cmovae edx, ecx
cmp dword [esp + 0x168], 8
lea ecx, [esp + 0x154]
cmovae ecx, dword [esp + 0x154]
mov eax, dword [edx]
test eax, eax
je 0x10085801
push eax
lea edx, [esp + 0x170]
call fcn.10020fc0
add esp, 4
test eax, eax
je 0x10085801
push 1
push ecx
lea eax, [esp + 0x128]
mov dword [esp + 0x128], 0x22
push eax
lea ecx, [esp + 0x160]
call fcn.10028050
mov esi, eax
cmp esi, 0xffffffff
je 0x1008530c
push esi
push 0
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x160]
call fcn.10022450
mov byte [esp + 0x384], 3
mov edx, 0x10132a6c
lea ecx, [esp + 0xd4]
call fcn.100212b0
mov edx, 0x10132a6c
lea ecx, [esp + 0xd4]
call fcn.10021320
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x160]
call fcn.10022450
mov byte [esp + 0x384], 4
lea edx, [esp + 0xd4]
push eax
lea ecx, [esp + 0x58]
call fcn.1009c410
add esp, 4
mov esi, eax
mov byte [esp + 0x384], 5
lea eax, [esp + 0x154]
cmp eax, esi
je 0x10085261
cmp dword [esp + 0x168], 8
jb 0x10085234
push dword [esp + 0x154]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x168], 7
push esi
lea ecx, [esp + 0x158]
mov dword [esp + 0x168], 0
mov word [esp + 0x158], ax
call fcn.1000b440
mov byte [esp + 0x384], 4
cmp dword [esp + 0x68], 8
jb 0x10085279
push dword [esp + 0x54]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov byte [esp + 0x384], 3
cmp dword [esp + 0x98], 8
jb 0x100852ae
push dword [esp + 0x84]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0x384], 2
cmp dword [esp + 0xe8], 8
jb 0x100852ec
push dword [esp + 0xd4]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x384], 6
lea edx, [esp + 0x154]
lea ecx, [esp + 0x6c]
call fcn.10027600
mov esi, eax
mov byte [esp + 0x384], 7
lea edx, [esp + 0x154]
lea ecx, [esp + 0x3c]
call fcn.10027600
mov byte [esp + 0x384], 8
cmp dword [eax + 0x14], 8
jb 0x10085382
mov eax, dword [eax]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x104]
push ecx
mov ecx, eax
call fcn.100234e0
add esp, 4
mov byte [esp + 0x384], 7
cmp dword [esp + 0x50], 8
jb 0x100853af
push dword [esp + 0x3c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov byte [esp + 0x384], 6
cmp dword [esp + 0x80], 8
jb 0x100853e1
push dword [esp + 0x6c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
cmp dword [esp + 0x114], eax
jne 0x100854ab
mov byte [esp + 0x384], 2
cmp dword [esp + 0x118], 0x10
jb 0x10085426
push dword [esp + 0x104]
call edi
add esp, 4
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x384], 1
cmp dword [esp + 0x168], 8
jb 0x10085462
push dword [esp + 0x154]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x168], 7
mov dword [esp + 0x164], 0
mov word [esp + 0x154], ax
mov byte [esp + 0x384], al
cmp dword [esp + 0x144], 0x10
jb 0x1008549f
push dword [esp + 0x130]
call edi
add esp, 4
mov esi, dword [esp + 0xd0]
jmp 0x10085858
xorps xmm0, xmm0
mov dword [esp + 0x150], eax
movq qword [esp + 0x148], xmm0
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov byte [esp + 0x384], 9
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x108]
call fcn.10028690
mov eax, dword [esp + 0x14c]
add esp, 4
mov ecx, dword [esp + 0x14c]
cmp eax, ecx
je 0x10085773
xorps xmm0, xmm0
movdqu xmmword [esp + 0xec], xmm0
movq qword [esp + 0xfc], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0xf4], eax
and eax, 0xffffff00
mov dword [esp + 0xf4], eax
and eax, 0xfffffeff
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov byte [esp + 0x384], 0xb
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x28]
call fcn.100e0730
mov byte [esp + 0x384], 0xc
lea ecx, [esp + 0xec]
push 0x1012d588
push str.name
call fcn.100e2f00
mov byte [esp + 0x384], 0xd
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.100e0c20
mov byte [esp + 0x384], 0xb
lea ecx, [esp + 0x24]
call fcn.100e0a10
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0xc]
push eax
call fcn.100e0730
mov byte [esp + 0x384], 0xe
lea ecx, [esp + 0xec]
push 0x10132a84
push 0x10132a80
call fcn.100e2f00
mov byte [esp + 0x384], 0xf
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.100e0c20
mov byte [esp + 0x384], 0xb
lea ecx, [esp + 0xc]
call fcn.100e0a10
mov esi, dword [esp + 0xd0]
mov byte [esp + 0xa4], 1
and dword [esp + 0xa4], 0xfffffeff
mov dword [esp + 0xa8], 0
mov eax, dword [esi + 0x1c]
cdq
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov byte [esp + 0x384], 0x10
lea ecx, [esp + 0xec]
push 0x10132a7e
push str.status
call fcn.100e2f00
mov byte [esp + 0x384], 0x11
lea ecx, [esp + 0x9c]
push ecx
mov ecx, eax
call fcn.100e0c20
mov byte [esp + 0x384], 0xb
lea ecx, [esp + 0x9c]
call fcn.100e0a10
mov byte [esp + 0xbc], 1
and dword [esp + 0xbc], 0xfffffeff
mov dword [esp + 0xc0], 0
mov eax, dword [esi + 0x20]
cdq
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
mov byte [esp + 0x384], 0x12
lea ecx, [esp + 0xec]
push 0x10132a99
push str.start
call fcn.100e2f00
mov byte [esp + 0x384], 0x13
lea ecx, [esp + 0xb4]
push ecx
mov ecx, eax
call fcn.100e0c20
mov byte [esp + 0x384], 0xb
lea ecx, [esp + 0xb4]
call fcn.100e0a10
mov ecx, dword [esp + 0xcc]
lea eax, [esp + 0xec]
push eax
call fcn.100e34b0
mov byte [esp + 0x384], 9
lea ecx, [esp + 0xec]
call fcn.100e0a10
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x14c]
jmp 0x1008577a
mov esi, dword [esp + 0xd0]
mov byte [esp + 0x384], 6
test eax, eax
je 0x100857c5
push dword [esp + 0xcc]
mov edx, ecx
push ecx
mov ecx, eax
call fcn.100293a0
mov eax, dword [esp + 0x150]
push eax
call edi
add esp, 0xc
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov byte [esp + 0x384], 2
cmp dword [esp + 0x118], 0x10
jb 0x100857e3
push dword [esp + 0x104]
call edi
add esp, 4
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x384], 1
cmp dword [esp + 0x168], 8
jb 0x1008581f
push dword [esp + 0x154]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x168], 7
mov dword [esp + 0x164], eax
mov word [esp + 0x154], ax
mov byte [esp + 0x384], al
cmp dword [esp + 0x144], 0x10
jb 0x10085858
push dword [esp + 0x130]
call edi
add esp, 4
add esi, 0x38
mov byte [esp + 0x130], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0xf
mov dword [esp + 0xd0], esi
lea eax, [esi - 0x14]
cmp eax, dword [esp + 0x128]
jne 0x10085020
mov eax, dword [esp + 0x128]
mov esi, dword [esp + 0x124]
mov dword [esp + 0x384], 0xffffffff
test esi, esi
je 0x100858e5
push dword [esp + 0xcc]
mov edx, eax
push ecx
mov ecx, esi
call fcn.1009ccc0
push esi
call edi
add esp, 0xc
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.10103694
add esp, 0x37c
ret 4