Function at 0x408bc0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452f6c
mov eax, dword fs:[0]
push eax
mov eax, 0x22b0
call fcn.0043b2c0
mov eax, dword [0x46ae20]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22bc], ecx
push 0
call fcn.004090e0
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x2278]
call fcn.00404d40
mov dword [ebp - 4], 0
mov byte [ebp - 0x225c], 0
push 0xff
push 0
lea eax, [ebp - 0x225b]
push eax
call fcn.00437e00
add esp, 0xc
lea ecx, [ebp - 0x215c]
call fcn.00414430
mov byte [ebp - 4], 1
push str..ImageAutopatchAutoPatchURL.bin
lea ecx, [ebp - 0x215c]
call fcn.00414a40
test eax, eax
jne 0x408ca1
push 0
push str.error
push str.Failed_to_load_update_data
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x2284], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x215c]
call fcn.004144d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2278]
call fcn.00404df0
mov eax, dword [ebp - 0x2284]
jmp 0x4090bc
lea ecx, [ebp - 0x215c]
call fcn.00414cf0
test eax, eax
jne 0x408e87
lea ecx, [ebp - 0x225c]
push ecx
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
push str.UpUrl
lea edx, [ebp - 0x225c]
push edx
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408cf0
push 0x46e3c8
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
push str.HomePage
lea eax, [ebp - 0x225c]
push eax
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408d1a
push 0x46e4e8
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
push str.PayUrl
lea ecx, [ebp - 0x225c]
push ecx
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408d47
push 0x46e5e8
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
push 0x457ff0
lea edx, [ebp - 0x225c]
push edx
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408d74
push 0x46e6e8
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
push str.Line
lea eax, [ebp - 0x225c]
push eax
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408da1
push 0x46e7e8
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
push str.ExeName
lea ecx, [ebp - 0x225c]
push ecx
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408dce
push 0x46e828
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
push str.LunchVer
lea edx, [ebp - 0x225c]
push edx
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408dfb
push 0x46e4c8
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
push str.GGUrl
lea eax, [ebp - 0x225c]
push eax
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408e28
push 0x46e848
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
push str.UpLuchUrl
lea ecx, [ebp - 0x225c]
push ecx
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408e55
push 0x46e948
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
push str.LunchName
lea edx, [ebp - 0x225c]
push edx
call fcn.00438a40
add esp, 8
test eax, eax
jne 0x408e82
push 0x46ea48
lea ecx, [ebp - 0x215c]
call fcn.00414ad0
jmp 0x408ca1
jmp 0x408ca1
lea ecx, [ebp - 0x215c]
call fcn.00414a70
push str.DST_Zenith
push 0x46e4c8
call fcn.00438a40
add esp, 8
test eax, eax
je 0x408efa
push 0
push str.Patch
push str.MHAutoPatch_needs_to_be_updated_Please_wait...
mov ecx, dword [ebp - 0x22bc]
call fcn.0041a5c5
call fcn.0040a680
mov dword [ebp - 0x2288], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x215c]
call fcn.004144d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2278]
call fcn.00404df0
mov eax, dword [ebp - 0x2288]
jmp 0x4090bc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push str._MyUpdata.txt_abc_d
lea edx, [ebp - 0x225c]
push edx
call fcn.0040ec70
add esp, 0x10
push 0x46e3c8
lea ecx, [ebp - 0x2278]
call fcn.00406bf0
lea eax, [ebp - 0x225c]
push eax
lea ecx, [ebp - 0x2278]
call fcn.0040a8d0
push 0
push 0
push str..ImageAutopatchMyUpdata.txt
lea ecx, [ebp - 0x2278]
call fcn.00404e10
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x408f93
mov dword [ebp - 0x228c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x215c]
call fcn.004144d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2278]
call fcn.00404df0
mov eax, dword [ebp - 0x228c]
jmp 0x4090bc
push 0x457f3c
lea ecx, [ebp - 0x22a8]
call fcn.00404d70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22a8]
push ecx
lea edx, [ebp - 0x22b0]
push edx
mov ecx, 0x46eabc
call fcn.0040aac0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [0x46eadc], ecx
mov dword [0x46eae0], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22a8]
call fcn.00404df0
lea ecx, [ebp - 0x2280]
call fcn.00411090
mov byte [ebp - 4], 3
mov ecx, 0x46eadc
call fcn.0040abe0
add eax, 0x1c
mov ecx, eax
call fcn.00404e10
push eax
lea eax, [ebp - 0x2280]
push eax
call fcn.00412620
add esp, 8
lea ecx, [ebp - 0x2280]
call fcn.0040a850
push eax
push 0x3f6
call fcn.0040f700
mov ecx, eax
call fcn.0041efc1
push 0
push 0
push 0
push 0
push 0
push 0x40a310
call fcn.00422a5e
mov dword [ebp - 0x227c], eax
mov dword [ebp - 0x22b4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2280]
call fcn.004110d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x215c]
call fcn.004144d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2278]
call fcn.00404df0
mov eax, dword [ebp - 0x22b4]
jmp 0x4090bc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0043876f
mov esp, ebp
pop ebp
ret