Function at 0x402eeb
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45ad6e
call fcn.0044c66c
sub esp, 0x63c
mov eax, dword [0x464334]
push ebx
xor ebx, ebx
push esi
cmp eax, 0xffffffff
push edi
jne 0x402f26
push 0x1003
push 0x5000
call fcn.00434179
cmp eax, ebx
mov dword [0x464334], eax
jl 0x40328a
push 0x884
push eax
call fcn.004341c8
mov esi, eax
cmp esi, ebx
je 0x40328a
push 0xee5
push dword [0x464334]
call fcn.004341c8
push 1
mov dword [esi + 0x77c], eax
pop ecx
mov dword [eax + 0x1c], ecx
mov eax, dword [esi + 0x77c]
push dword [ebp + 8]
mov dword [eax + 0x28], ebx
mov eax, dword [esi + 0x77c]
mov dword [eax + 0x2c], ecx
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x77c]
mov dword [esi + 0x128], eax
mov eax, dword [ebp + 0x14]
add ecx, 0x2c
mov dword [esi + 0x12c], eax
mov eax, dword [ebp + 0x18]
push ecx
push eax
mov dword [esi + 4], eax
call fcn.004029a4
mov eax, dword [ebp + 0x1c]
push ebx
push 0xfffe
mov dword [esi + 8], eax
call fcn.0040bec2
lea edi, [esi + 0x780]
mov dword [esi + 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
movzx eax, ax
push eax
call fcn.00433297
lea eax, [esi + 0x781]
push 4
push eax
push edi
call fcn.0044c890
mov eax, dword [esi + 0x77c]
add eax, 0x2c
push eax
push dword [esi + 8]
push ebx
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00431937
add esp, 0x2c
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x40327e
lea ecx, [ebp - 0x14]
push ecx
push str.SECRET_NATIVE_RECT
push eax
call fcn.00431d3f
add esp, 0xc
cmp dword [ebp - 0x14], 0xc
mov edi, eax
mov dword [ebp - 0x18], edi
jbe 0x40303c
sub dword [ebp - 0x14], 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0xc]
push eax
push dword [esi + 0xc]
call fcn.0040c037
test eax, eax
je 0x403267
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x544]
push eax
push 0x3c
push dword [esi + 0xc]
call fcn.0040c26d
cmp dword [ebp - 0x10], 0xf
jb 0x4030ba
push 6
xor edi, edi
lea eax, [esi + 0x144]
pop ecx
mov edx, dword [ebp + edi - 0x544]
add edi, 4
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x403062
lea eax, [esi + 0x15c]
mov dword [ebp + 0xc], 6
mov dword [ebp + 0x1c], eax
lea eax, [ebp + edi - 0x544]
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 0x1c]
lea edi, [edi + eax + 1]
call fcn.00404693
add dword [ebp + 0x1c], 0x105
dec dword [ebp + 0xc]
pop ecx
jne 0x403084
mov edi, dword [ebp - 0x18]
push 1
push dword [esi + 0x14]
call fcn.00431aa2
push 1
push dword [esi + 0x14]
call fcn.00404d16
lea eax, [ebp - 0x544]
push ebx
push eax
push dword [esi + 0x14]
call fcn.00431a90
push ebx
push dword [esi + 0x14]
call fcn.00431a61
add esp, 0x24
cmp ax, 0x3d0b
lea eax, [ebp - 0x10]
push eax
jbe 0x4031ca
lea eax, [ebp - 0x130]
push eax
push 0x69
push dword [esi + 0xc]
call fcn.0040c26d
cmp dword [ebp - 0x10], ebx
je 0x4031ec
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0043b5a6
cmp eax, 0xffffffff
mov dword [ebp + 0x1c], eax
jne 0x403147
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x544]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4031ec
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x648]
push eax
call fcn.0043b758
mov eax, dword [ebp + 0x1c]
inc eax
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x544]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x544]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add eax, ecx
push ebx
push ebx
lea eax, [ebp + eax - 0x130]
push eax
call fcn.0043b5a6
mov ecx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x4031af
add eax, ecx
add eax, dword [ebp + 0x1c]
mov byte [ebp + eax - 0x130], bl
mov eax, dword [ebp + 0x1c]
add ecx, eax
lea eax, [ebp + ecx - 0x130]
push eax
lea eax, [ebp - 0x544]
push eax
call fcn.0043b505
jmp 0x4031ec
push ebx
push 0x1e
push dword [esi + 0xc]
call fcn.0040c26d
cmp dword [ebp - 0x10], ebx
je 0x4031ec
lea eax, [ebp - 0x544]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [ebp + 8]
lea eax, [ebp - 0x544]
push eax
call fcn.00407b22
mov dword [esi + 0x13c], eax
push 0x44
mov dword [0x469188], esi
call fcn.0044c87d
pop ecx
mov dword [ebp + 0x1c], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x40322d
push dword [ebp + 8]
lea ecx, [ebp - 0x544]
push ecx
push esi
mov ecx, eax
call fcn.00407d7c
jmp 0x40322f
xor eax, eax
push dword [esi + 0x77c]
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x140], eax
push esi
call fcn.004093e2
push dword [esi + 0x77c]
push dword [edi]
push dword [ebp + 0x14]
push 0xb
push dword [ebp + 0x18]
push esi
call fcn.004438e7
cmp eax, ebx
mov dword [esi + 0x134], eax
jne 0x403291
push ebx
push 0x2b
push edi
push dword [esi + 0x14]
call fcn.00431d77
push dword [esi + 0x14]
call fcn.00431a30
add esp, 0x14
push esi
push dword [0x464334]
call fcn.004342a3
xor eax, eax
jmp 0x40343f
movzx ecx, word [edi + 4]
push dword [esi + 0x77c]
mov dword [esi + 0x120], ecx
mov ecx, dword [edi + 4]
shr ecx, 0x10
push esi
mov dword [esi + 0x124], ecx
push dword [edi + 8]
push eax
call fcn.004454af
push eax
mov dword [esi + 0x130], eax
push dword [esi + 0x134]
call fcn.00444095
lea eax, [ebp - 0x10]
mov dword [esi + 0x138], ebx
push eax
push ebx
push 0x14
push dword [esi + 0xc]
call fcn.0040c26d
cmp dword [ebp - 0x10], 1
jne 0x40342e
lea eax, [esi + 0x144]
mov edi, str.Global
push eax
push ebx
push str.Number1
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [esi + 0x148]
push eax
push ebx
push str.Number2
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [esi + 0x14c]
push eax
push ebx
push str.Number3
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [esi + 0x150]
push eax
push ebx
push str.Number4
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [esi + 0x154]
push eax
push ebx
push str.Number5
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [esi + 0x158]
push eax
push ebx
push str.Number6
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x15c]
push eax
push str.String1
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x261]
push eax
push str.String2
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x366]
push eax
push str.String3
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x46b]
push eax
push str.String4
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x570]
push eax
push str.String5
push edi
push dword [esi + 0x13c]
call fcn.00407c53
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x675]
push eax
push str.String6
push edi
push dword [esi + 0x13c]
call fcn.00407c53
mov edi, dword [ebp - 0x18]
push ebx
push 0x2b
push edi
push dword [esi + 0x14]
call fcn.00431d77
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18