Function at 0x40af02
Capabilities:
Download url
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x2260]
mov eax, 0x2260
call fcn.0046f280
push 0xffffffffffffffff
push 0x4a9bc7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4eafb0]
xor eax, ebp
mov dword [ebp + 0x225c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], ecx
call fcn.0046f200
pop ecx
lea ecx, [ebp + 0x213c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.0040298f
push 0xff
lea eax, [ebp + 0x215d]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x215c], bl
call fcn.0046ae40
add esp, 0xc
lea ecx, [ebp]
call fcn.0040bbb5
push str..ImageAutopatchAutoPatchURL.bin
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0040c04d
test eax, eax
jne 0x40aff6
push ebx
push str.error
push str.Failed_to_load_update_data
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.0040bc93
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x213c]
call fcn.004027c0
lea ecx, [ebp + 0x213c]
call fcn.004023b9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x225c]
xor ecx, ebp
call fcn.0046be30
add ebp, 0x2260
leave
ret
lea ecx, [ebp]
call fcn.0040bc2e
mov esi, 0x4ee728
mov edi, 0x4ee828
jmp 0x40b15a
lea eax, [ebp + 0x215c]
push eax
call fcn.0040bd69
lea eax, [ebp + 0x215c]
push str.UpUrl
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b036
push esi
jmp 0x40b14a
lea eax, [ebp + 0x215c]
push str.HomePage
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b057
push 0x4ee848
jmp 0x40b14a
lea eax, [ebp + 0x215c]
push str.PayUrl
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b078
push 0x4ee948
jmp 0x40b14a
lea eax, [ebp + 0x215c]
push 0x4c2380
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b099
push 0x4eea48
jmp 0x40b14a
lea eax, [ebp + 0x215c]
push 0x4c2378
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b0ba
push 0x4eeb48
jmp 0x40b14a
lea eax, [ebp + 0x215c]
push str.ExeName
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b0d8
push 0x4eeb88
jmp 0x40b14a
lea eax, [ebp + 0x215c]
push str.LunchVer
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b0f2
push edi
jmp 0x40b14a
lea eax, [ebp + 0x215c]
push str.GGUrl
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b110
push 0x4eeba8
jmp 0x40b14a
lea eax, [ebp + 0x215c]
push str.UpLuchUrl
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b12e
push 0x4eeca8
jmp 0x40b14a
lea eax, [ebp + 0x215c]
push str.LunchName
push eax
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
jne 0x40b152
push 0x4eeda8
lea ecx, [ebp]
call fcn.0040bd69
lea ecx, [ebp]
call fcn.0040bc2e
lea ecx, [ebp]
test eax, eax
je 0x40b00d
call fcn.0040bc11
push str.TITANONLINE2024
push edi
call fcn.0046e3e0
pop ecx
pop ecx
test eax, eax
je 0x40b198
mov ecx, dword [ebp - 0x10]
push ebx
push str.Patch
push str.MHAutoPatch_needs_to_be_updated_Please_wait...
call fcn.004143a0
call fcn.0040856f
jmp 0x40afa9
push dword [ebp - 0x14]
lea eax, [ebp + 0x215c]
push dword [ebp - 0x18]
push str._MyUpdata.txt_abc_d
push eax
call fcn.004059f9
add esp, 0x10
push esi
lea ecx, [ebp + 0x213c]
call fcn.0040309e
lea eax, [ebp + 0x215c]
push eax
lea ecx, [ebp + 0x213c]
call fcn.00403102
cmp dword [ebp + 0x2158], 0x10
mov eax, dword [ebp + 0x2144]
jae 0x40b1e5
lea eax, [ebp + 0x2144]
push ebx
push ebx
push str..ImageAutopatchMyUpdata.txt
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x40b228
xor esi, esi
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.0040bc93
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x213c]
call fcn.004027c0
lea ecx, [ebp + 0x213c]
call fcn.004023b9
mov eax, esi
jmp 0x40afd3
push 0x4c22cc
lea ecx, [ebp - 0x3c]
call fcn.00403282
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4eee14
mov byte [ebp - 4], 2
call fcn.004086ec
mov esi, 0x4eee30
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040770a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00402693
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004027c0
lea ecx, [ebp - 0x3c]
call fcn.004023b9
call fcn.004337f0
push eax
lea ecx, [ebp - 0x10]
call fcn.00406769
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00405889
cmp dword [eax + 0x3c], 0x10
jb 0x40b2a3
mov eax, dword [eax + 0x28]
jmp 0x40b2a6
add eax, 0x28
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00407b04
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00405f88
push eax
push 0x3f6
call fcn.0042e230
mov ecx, eax
call fcn.0041f4e0
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x40a4ac
call fcn.00426a90
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004047c4
xor esi, esi
inc esi
jmp 0x40b1f9