Function at 0x405520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x415e7d
mov eax, dword fs:[0]
push eax
mov eax, 0x18780
mov dword fs:[0], esp
call fcn.0040c6f0
mov eax, dword [0x41b0e0]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xbc]
mov dword [esp + 0x18788], eax
call fcn.0040afd0
xor eax, eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
xor ebx, ebx
mov dword [esp + 0x95], eax
push 9
mov word [esp + 0x9d], ax
mov edi, 0xf
push str.Check.ini
lea ecx, [esp + 0x14]
mov dword [esp + 0x1879c], ebx
mov byte [esp + 0x84], bl
mov byte [esp + 0xa3], al
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00402370
lea ecx, [esp + 0xc]
push ecx
lea edx, [esi + 0x1938]
push edx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1879c], 1
call fcn.0040b040
cmp dword [esp + 0x24], 0x10
mov byte [esp + 0x18794], bl
jb 0x405607
mov eax, dword [esp + 0x10]
push eax
call fcn.0040c1b1
add esp, 4
push ebp
push 0x20
lea ecx, [esp + 0x84]
push ecx
push 0x4176a4
push str.Install
lea ecx, [esp + 0xd0]
call fcn.0040af70
movzx eax, word [esi + 0x15876e]
movzx ecx, word [esi + 0x15876c]
xor edx, edx
mov dword [esp + 0xa1], edx
mov dword [esp + 0xa5], edx
mov dword [esp + 0xa9], edx
mov dword [esp + 0xad], edx
mov dword [esp + 0xb1], edx
mov dword [esp + 0xb5], edx
mov dword [esp + 0xb9], edx
push eax
movzx eax, word [esi + 0x158768]
mov word [esp + 0xc1], dx
push ecx
mov byte [esp + 0xc7], dl
movzx edx, word [esi + 0x15876a]
push edx
push eax
lea ecx, [esp + 0xb0]
push str.__02d__02d__02d__02d
push ecx
mov byte [esp + 0xb8], bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0x22
push str.http:__www.funad.co.kr_funtop_tcon
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00402370
push 0x10
push str._main.html_adid
lea ecx, [esp + 0x50]
mov byte [esp + 0x187a0], 2
call fcn.00402260
mov edi, dword [esp + 0x187a0]
mov eax, edi
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4056e7
sub eax, ebp
push eax
push edi
lea ecx, [esp + 0x50]
call fcn.00402260
mov edi, 0xf
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
push 0x41748c
add esi, 0x1954
lea edx, [esp + 0x30]
push esi
push edx
mov byte [esp + 0x187a4], 3
call fcn.004024f0
push str.check.php
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x187b0], 4
call fcn.004024f0
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x187a4], 5
call fcn.00402080
mov eax, dword [esp + 0x28]
mov esi, 0x10
cmp eax, esi
pop ebp
jb 0x405775
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0040c1b1
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov byte [esp + 0x18794], 3
jb 0x40579c
mov edx, dword [esp + 0x2c]
push edx
call fcn.0040c1b1
add esp, 4
lea ecx, [esp + 0xdc]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.0040ad70
push str.Mozilla_4.0___
lea ecx, [esp + 0xe0]
mov byte [esp + 0x18798], 6
call fcn.0040ad90
cmp dword [esp + 0x78], esi
mov ecx, dword [esp + 0x64]
jae 0x4057db
lea ecx, [esp + 0x64]
cmp dword [esp + 0x5c], esi
mov eax, dword [esp + 0x48]
jae 0x4057e9
lea eax, [esp + 0x48]
push ecx
push eax
push ebx
lea ecx, [esp + 0xe8]
call fcn.0040add0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x18794], 3
call fcn.0040ad80
cmp dword [esp + 0x78], esi
jb 0x40581f
mov eax, dword [esp + 0x64]
push eax
call fcn.0040c1b1
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x40583e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0040c1b1
add esp, 4
lea ecx, [esp + 0xbc]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x18794], 0xffffffff
call fcn.0040aff0
mov ecx, dword [esp + 0x1878c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18780]
pop ebx
call fcn.0040c0d7
add esp, 0x1878c
ret 4