Function at 0x4025a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x415b42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1909c
call fcn.0040c6f0
mov eax, dword [0x41b0e0]
mov dword [esp + 0x19098], eax
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
xor eax, eax
mov byte [esp + 0x1f0], 0
mov ecx, 0xff
lea edi, [esp + 0x1f1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
mov esi, str.http:__www.funad.co.kr_snqup_patch.ini
lea edi, [esp + 0x5f0]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, 0xf6
lea edi, [esp + 0x617]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0xe8], 0
mov ecx, 0x40
lea edi, [esp + 0xe9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xe8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x9f0]
call fcn.0040ad70
xor esi, esi
push str.Mozilla_4.0___
lea ecx, [esp + 0x9f4]
mov dword [esp + 0x190b8], esi
call fcn.0040ad90
mov ebx, 0xf
lea eax, [esp + 0x5f0]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov byte [esp + 0x70], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402691
sub eax, edx
push eax
lea ecx, [esp + 0x5f4]
push ecx
lea ecx, [esp + 0x74]
call fcn.00402370
lea eax, [esp + 0xe8]
mov byte [esp + 0x190b4], 1
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov byte [esp + 0x54], 0
lea edx, [eax + 1]
jmp 0x4026d0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4026d0
sub eax, edx
push eax
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x58]
call fcn.00402370
push 0xc
push str._version.ini
lea ecx, [esp + 0x58]
mov byte [esp + 0x190bc], 2
call fcn.00402260
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x54]
mov edi, 0x10
cmp eax, edi
jae 0x402718
lea ecx, [esp + 0x54]
cmp dword [esp + 0x84], edi
mov eax, dword [esp + 0x70]
jae 0x402729
lea eax, [esp + 0x70]
push ecx
push eax
push esi
lea ecx, [esp + 0x9fc]
call fcn.0040add0
lea ecx, [esp + 0x88]
call fcn.0040afd0
push 0xb
push str.version.ini
lea ecx, [esp + 0x20]
mov byte [esp + 0x190bc], 3
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
call fcn.00402370
lea eax, [esp + 0xe8]
mov byte [esp + 0x190b4], 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402788
sub eax, edx
push eax
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x3c]
call fcn.00402370
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x190bc], 5
call fcn.0040b040
cmp dword [esp + 0x4c], edi
jb 0x4027d4
mov eax, dword [esp + 0x38]
push eax
call fcn.0040c1b1
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], 0
mov byte [esp + 0x190b4], 3
jb 0x4027fc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040c1b1
add esp, 4
push 0x400
lea edx, [esp + 0x1f4]
push edx
push str.COUNT
push 0x4173a8
lea ecx, [esp + 0x98]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.0040af70
lea eax, [esp + 0x1f0]
push eax
call fcn.0040c6e8
mov edx, eax
xor eax, eax
mov byte [esp + 0xac], 0
mov ecx, ebx
lea edi, [esp + 0xad]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
add esp, 4
cmp edx, esi
mov dword [esp + 0x14], edx
mov dword [eax + 0xcd24], edx
jle 0x402907
lea edi, [eax + 0xccd0]
lea ebx, [eax + 0x2ccd]
jmp 0x402880
push esi
lea ecx, [esp + 0xac]
push str.URL_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x400
push ebx
push 0x41739c
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x98]
call fcn.0040af70
push 0x400
lea eax, [esp + 0x1f4]
push eax
push str.SIZE
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x98]
call fcn.0040af70
lea edx, [esp + 0x1f0]
push edx
call fcn.0040c6e8
add esp, 4
mov dword [edi], eax
mov eax, dword [esp + 0x14]
inc esi
add edi, 4
add ebx, 0x800
cmp esi, eax
jl 0x402880
mov ebx, 0xf
xor esi, esi
lea ecx, [esp + 0x88]
mov byte [esp + 0x190b4], 2
call fcn.0040aff0
mov eax, dword [esp + 0x68]
mov edi, 0x10
cmp eax, edi
jb 0x402935
mov eax, dword [esp + 0x54]
push eax
call fcn.0040c1b1
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov byte [esp + 0x54], 0
jb 0x402958
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0040c1b1
add esp, 4
lea ecx, [esp + 0x9f0]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov byte [esp + 0x70], 0
mov dword [esp + 0x190b4], 0xffffffff
call fcn.0040ad80
mov ecx, dword [esp + 0x190ac]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x190a4]
call fcn.0040c0d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret