Function at 0x45b940
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b7de1
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x368], eax
push esi
push edi
mov eax, dword [0x4df5dc]
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 + 0x130], xmm0
mov dword [esp + 0x138], 0
mov dword [esp + 0xd0], eax
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x384], 0
lea eax, [esp + 0x130]
push eax
call fcn.00469c20
mov eax, dword [esp + 0x134]
mov esi, dword [esp + 0x130]
cmp esi, eax
je 0x45c234
xor eax, eax
push 0x206
push eax
mov word [esp + 0x174], ax
lea eax, [esp + 0x176]
push eax
call fcn.00492dc0
add esp, 0xc
lea eax, [esp + 0x16c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [esp + 0x11c], eax
lea edi, [esi + 0x14]
lea ebx, [ebx]
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x150], 0xf
mov dword [esp + 0x14c], 0
mov byte [esp + 0x13c], 0
mov byte [esp + 0x384], 1
cmp dword [edi], 8
jb 0x45ba76
mov ecx, dword [edi - 0x14]
jmp 0x45ba79
lea ecx, [edi - 0x14]
mov edx, dword [edi - 4]
lea eax, [esp + 0x13c]
push eax
call fcn.004329d0
add esp, 4
cmp dword [esp + 0x14c], 0
jne 0x45baa3
mov byte [esp + 0x384], 0
jmp 0x45c1dc
xor eax, eax
mov dword [esp + 0x164], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0x15c], ax
lea ecx, [esp + 0x15c]
lea eax, [edi + 4]
mov dword [esp + 0x170], 0
push eax
mov dword [esp + 0x174], 7
mov dword [esp + 0x170], 0
call fcn.00402030
mov byte [esp + 0x384], 2
mov edx, 0x4c8124
lea ecx, [esp + 0x154]
call fcn.00406cd0
mov edx, 0x4c8124
lea ecx, [esp + 0x154]
call fcn.00406d40
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 0x45c198
push eax
lea edx, [esp + 0x170]
call fcn.00406ab0
add esp, 4
test eax, eax
je 0x45c198
push 1
push ecx
lea eax, [esp + 0x128]
mov dword [esp + 0x128], 0x22
push eax
lea ecx, [esp + 0x160]
call fcn.00433b40
mov esi, eax
cmp esi, 0xffffffff
je 0x45bd16
push esi
push 0
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x160]
call fcn.00401ec0
mov byte [esp + 0x384], 3
mov edx, 0x4c5afc
lea ecx, [esp + 0xd4]
call fcn.00406cd0
mov edx, 0x4c5afc
lea ecx, [esp + 0xd4]
call fcn.00406d40
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x160]
call fcn.00401ec0
mov byte [esp + 0x384], 4
lea edx, [esp + 0xd4]
push eax
lea ecx, [esp + 0x28]
call fcn.00471a30
add esp, 4
mov esi, eax
mov byte [esp + 0x384], 5
lea eax, [esp + 0x154]
cmp eax, esi
je 0x45bc71
cmp dword [esp + 0x168], 8
jb 0x45bc44
push dword [esp + 0x154]
call fcn.0048e056
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.004056b0
mov byte [esp + 0x384], 4
cmp dword [esp + 0x38], 8
jb 0x45bc8c
push dword [esp + 0x24]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov byte [esp + 0x384], 3
cmp dword [esp + 0x50], 8
jb 0x45bcbe
push dword [esp + 0x3c]
call fcn.0048e056
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], 2
cmp dword [esp + 0xe8], 8
jb 0x45bcf6
push dword [esp + 0xd4]
call fcn.0048e056
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 + 0x54]
call fcn.00434ab0
mov esi, eax
mov byte [esp + 0x384], 7
lea edx, [esp + 0x154]
lea ecx, [esp + 0x6c]
call fcn.00434ab0
mov byte [esp + 0x384], 8
cmp dword [eax + 0x14], 8
jb 0x45bd8c
mov eax, dword [eax]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x104]
push ecx
mov ecx, eax
call fcn.004329d0
add esp, 4
mov byte [esp + 0x384], 7
cmp dword [esp + 0x80], 8
jb 0x45bdbf
push dword [esp + 0x6c]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
mov byte [esp + 0x384], 6
cmp dword [esp + 0x68], 8
jb 0x45bdf4
push dword [esp + 0x54]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
cmp dword [esp + 0x114], eax
je 0x45c159
xorps xmm0, xmm0
mov dword [esp + 0x12c], eax
movq qword [esp + 0x124], xmm0
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov byte [esp + 0x384], 9
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x108]
call fcn.004846f0
mov esi, dword [esp + 0x128]
add esp, 4
mov eax, dword [esp + 0x128]
cmp esi, eax
je 0x45c11c
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], 0xf
lea ecx, [esp + 0x13c]
mov edx, dword [esp + 0x14c]
mov byte [esp + 0x8c], 4
or dword [esp + 0x8c], 0x100
cmp dword [esp + 0x150], 0x10
mov dword [esp + 0x90], 0
cmovae ecx, dword [esp + 0x13c]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
call fcn.00421420
mov dword [esp + 0x84], eax
mov byte [esp + 0x384], 0x10
lea ecx, [esp + 0xec]
push 0x4c8120
push str.name
call fcn.00423570
mov byte [esp + 0x384], 0x11
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x384], 0xf
lea ecx, [esp + 0x84]
call fcn.004222f0
push esi
lea ecx, [esp + 0x10]
call fcn.004220b0
mov byte [esp + 0x384], 0x12
lea ecx, [esp + 0xec]
push 0x4c8138
push str.file
call fcn.00423570
mov byte [esp + 0x384], 0x13
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x384], 0xf
lea ecx, [esp + 0xc]
call fcn.004222f0
mov eax, dword [edi + 0x1c]
cdq
mov byte [esp + 0xbc], 1
and dword [esp + 0xbc], 0xfffffeff
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
mov byte [esp + 0x384], 0x14
lea ecx, [esp + 0xec]
push 0x4c8132
push str.status
call fcn.00423570
mov byte [esp + 0x384], 0x15
lea ecx, [esp + 0xb4]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x384], 0xf
lea ecx, [esp + 0xb4]
call fcn.004222f0
mov eax, dword [edi + 0x20]
cdq
mov byte [esp + 0xa4], 1
and dword [esp + 0xa4], 0xfffffeff
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov byte [esp + 0x384], 0x16
lea ecx, [esp + 0xec]
push 0x4c814d
push str.start
call fcn.00423570
mov byte [esp + 0x384], 0x17
lea ecx, [esp + 0x9c]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x384], 0xf
lea ecx, [esp + 0x9c]
call fcn.004222f0
mov ecx, dword [esp + 0xd0]
lea eax, [esp + 0xec]
push eax
call fcn.004239e0
mov byte [esp + 0x384], 9
lea ecx, [esp + 0xec]
call fcn.004222f0
mov eax, dword [esp + 0x128]
mov byte [esp + 0x384], 6
test esi, esi
je 0x45c159
push eax
push esi
call fcn.0040c0a0
push esi
call fcn.0048e056
add esp, 4
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov byte [esp + 0x384], 2
cmp dword [esp + 0x118], 0x10
jb 0x45c17a
push dword [esp + 0x104]
call fcn.0048e056
add esp, 4
mov byte [esp + 0x104], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0xf
mov byte [esp + 0x384], 1
cmp dword [esp + 0x168], 8
jb 0x45c1b9
push dword [esp + 0x154]
call fcn.0048e056
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 + 0x150], 0x10
jb 0x45c1f5
push dword [esp + 0x13c]
call fcn.0048e056
add esp, 4
add edi, 0x38
mov byte [esp + 0x13c], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0xf
lea eax, [edi - 0x14]
cmp eax, dword [esp + 0x134]
jne 0x45ba30
mov eax, dword [esp + 0x134]
mov esi, dword [esp + 0x130]
mov dword [esp + 0x384], 0xffffffff
test esi, esi
je 0x45c27e
push dword [esp + 0xd0]
mov edx, eax
push ecx
mov ecx, esi
call fcn.0043a800
push esi
call fcn.0048e056
add esp, 0xc
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 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.0048d894
add esp, 0x37c
ret 4