Function at 0x401460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458866
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x104
xor ebx, ebx
lea ecx, [esp + 0x89]
push ebx
push ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x90], 0
call fcn.0043e250
add esp, 0xc
push 0x104
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x84]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4014f4
sub eax, edx
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x30]
call fcn.00403c00
lea ecx, [esp + 0x28]
push ecx
mov edi, str._tkjsidfsd
lea esi, [esp + 0x6c]
mov dword [esp + 0x1a4], ebx
call fcn.00404920
add esp, 4
mov byte [esp + 0x1a0], 2
cmp dword [esp + 0x40], 0x10
jb 0x40154a
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043870c
add esp, 4
lea eax, [esp + 0x18]
mov esi, 0xf
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x8c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], 0
call fcn.00403810
lea esi, [esp + 0x64]
call fcn.00407260
cmp dword [esp + 0x64], 0x10
movzx edi, word [esp + 0x18]
mov eax, dword [esp + 0x50]
jae 0x4015a7
lea eax, [esp + 0x50]
push 0x45fef8
push eax
call fcn.00438f9e
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4015d0
push edi
push 0x45fefc
push esi
call fcn.00438baa
push esi
call fcn.00439023
add esp, 0x10
movzx ebx, word [esp + 0x1a]
push str.__:
lea edi, [esp + 0x4c]
call fcn.00407320
mov edi, eax
cmp dword [edi + 0x1c], 0x10
jb 0x4015f0
mov eax, dword [edi + 8]
jmp 0x4015f3
lea eax, [edi + 8]
push 0x45fef8
push eax
call fcn.00438f9e
mov esi, eax
add esp, 8
test esi, esi
je 0x40161c
push ebx
push 0x45fefc
push esi
call fcn.00438baa
push esi
call fcn.00439023
add esp, 0x10
movzx ebx, word [esp + 0x1e]
push str.__:
call fcn.00407320
mov edi, eax
cmp dword [edi + 0x1c], 0x10
jb 0x401638
mov eax, dword [edi + 8]
jmp 0x40163b
lea eax, [edi + 8]
push 0x45fef8
push eax
call fcn.00438f9e
mov esi, eax
add esp, 8
test esi, esi
je 0x401664
push ebx
push 0x45fefc
push esi
call fcn.00438baa
push esi
call fcn.00439023
add esp, 0x10
movzx ebx, word [esp + 0x20]
push 0x45fd1c
call fcn.00407320
mov edi, eax
cmp dword [edi + 0x1c], 0x10
jb 0x401680
mov eax, dword [edi + 8]
jmp 0x401683
lea eax, [edi + 8]
push 0x45fef8
push eax
call fcn.00438f9e
mov esi, eax
add esp, 8
test esi, esi
je 0x4016ac
push ebx
push 0x45fefc
push esi
call fcn.00438baa
push esi
call fcn.00439023
add esp, 0x10
movzx ebx, word [esp + 0x22]
push 0x45fd20
call fcn.00407320
mov edi, eax
cmp dword [edi + 0x1c], 0x10
jb 0x4016c8
mov eax, dword [edi + 8]
jmp 0x4016cb
lea eax, [edi + 8]
push 0x45fef8
push eax
call fcn.00438f9e
mov esi, eax
add esp, 8
test esi, esi
je 0x4016f4
push ebx
push 0x45fefc
push esi
call fcn.00438baa
push esi
call fcn.00439023
add esp, 0x10
movzx ebx, word [esp + 0x24]
push 0x45fd20
call fcn.00407320
mov edi, eax
cmp dword [edi + 0x1c], 0x10
jb 0x401710
mov eax, dword [edi + 8]
jmp 0x401713
lea eax, [edi + 8]
push 0x45fef8
push eax
call fcn.00438f9e
mov esi, eax
add esp, 8
test esi, esi
je 0x40173c
push ebx
push 0x45fefc
push esi
call fcn.00438baa
push esi
call fcn.00439023
add esp, 0x10
mov eax, dword [esp + 0x14]
push 0x45fd28
push eax
push 0x45fd24
call fcn.00407320
mov edi, eax
call fcn.00407320
mov edi, eax
call fcn.00407320
mov esi, 0x10
cmp dword [esp + 0x64], esi
mov dword [esp + 0x48], vtable.CLMLog.0
jb 0x40177e
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x80], esi
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
jb 0x4017a9
mov edx, dword [esp + 0x6c]
push edx
call fcn.0043870c
add esp, 4
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.00438866
mov esp, ebp
pop ebp
ret