Function at 0x410fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449b79
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x120], 1
call fcn.004093d0
cmp eax, 0x11
je 0x41123c
cmp eax, 0x10
je 0x41123c
cmp eax, 0x13
je 0x41123c
cmp eax, 2
je 0x41123c
sub esp, 0x18
mov ecx, esp
push 0x46647c
call fcn.00423120
lea ecx, [ebp - 0x16c]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 4
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x12c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4110d0
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.00424030
mov dword [ebp - 0x120], 5
push esi
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x124]
lea ecx, [ebp - 0x154]
call fcn.00425520
mov dword [ebp - 0x120], 0xd
mov byte [ebp - 4], 6
lea edx, [ebp - 0x154]
cmp dword [ebp - 0x140], 0x10
mov ebx, dword [ebp - 0x154]
mov eax, dword [edi + 0x14]
cmovae edx, ebx
mov esi, dword [edi + 0x10]
sub eax, esi
mov ecx, dword [ebp - 0x144]
cmp ecx, eax
ja 0x411172
cmp dword [edi + 0x14], 0x10
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x411159
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.0042aeb0
mov eax, dword [ebp - 0x144]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x41118f
push ecx
push edx
mov byte [ebp - 0x11c], 0
push dword [ebp - 0x11c]
push ecx
mov ecx, edi
call fcn.004252a0
mov ebx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x140]
cmp eax, 0x10
jb 0x4111c5
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4111bb
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b4
push ecx
push ebx
call fcn.00429e16
add esp, 8
mov edx, dword [ebp - 0x128]
cmp edx, 0x10
jb 0x4111ff
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4111f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b4
push edx
push ecx
call fcn.00429e16
add esp, 8
mov edx, dword [ebp - 0x158]
cmp edx, 0x10
jb 0x411396
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41138c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b4
jmp 0x41138c
sub esp, 0x18
mov ecx, esp
push 0x46647c
call fcn.00423120
lea ecx, [ebp - 0x16c]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 1
call fcn.0040a750
push esi
push eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
push dword [ebp - 0x124]
call fcn.00425520
mov dword [ebp - 0x120], 3
mov byte [ebp - 4], 3
lea edx, [ebp - 0x13c]
cmp dword [ebp - 0x128], 0x10
mov ebx, dword [ebp - 0x13c]
mov eax, dword [edi + 0x14]
cmovae edx, ebx
mov esi, dword [edi + 0x10]
sub eax, esi
mov ecx, dword [ebp - 0x12c]
cmp ecx, eax
ja 0x4112e3
cmp dword [edi + 0x14], 0x10
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x4112ca
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.0042aeb0
mov eax, dword [ebp - 0x12c]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x411300
push ecx
push edx
mov byte [ebp - 0x11c], 0
push dword [ebp - 0x11c]
push ecx
mov ecx, edi
call fcn.004252a0
mov ebx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x128]
cmp eax, 0x10
jb 0x411336
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41132c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b4
push ecx
push ebx
call fcn.00429e16
add esp, 8
mov edx, dword [ebp - 0x140]
cmp edx, 0x10
jb 0x41136c
mov ecx, dword [ebp - 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411362
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b4
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
jmp 0x4111ff
push edx
push ecx
call fcn.00429e16
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004297a0
mov esp, ebp
pop ebp
ret
call fcn.0042eb25
int3