Function at 0x468cca
Capabilities:
Initialize winhttp library
Parse url
Prepare http request
Receive http response

Disassembly:
push ebp
lea ebp, [esp - 0x434]
sub esp, 0x434
push 0xffffffffffffffff
push 0x49d775
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4c7080]
xor eax, ebp
mov dword [ebp + 0x430], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x440]
mov ebx, dword [ebp + 0x43c]
push eax
mov dword [ebp - 0x28], ebx
call fcn.004183fd
push eax
lea ecx, [ebp]
call fcn.0046914e
xor eax, eax
push eax
push eax
push eax
push eax
push str.Conquer_Launcher
mov dword [ebp - 4], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x468f20
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.0046e020
add esp, 0xc
mov dword [ebp - 0x70], esi
cmp dword [ebp + 0x14], 7
lea eax, [ebp + 0x230]
mov dword [ebp - 0x60], eax
mov ecx, 0x100
lea eax, [ebp + 0x30]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x44], eax
lea eax, [ebp]
cmova eax, dword [ebp]
xor esi, esi
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x70]
push ecx
push esi
push esi
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x468f19
push esi
push dword [ebp - 0x58]
lea eax, [ebp + 0x230]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x468f19
xor ecx, ecx
mov edx, 0x800000
cmp dword [ebp - 0x64], 4
cmove ecx, edx
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
lea ecx, [ebp + 0x30]
push ecx
push 0x4b5974
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
jne 0x468df0
push dword [ebp - 0x24]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push edi
call esi
jmp 0x468f20
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ecx, eax
test ecx, ecx
je 0x468e10
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ecx, eax
xor eax, eax
lea edi, [ebp + 0x18]
stosd dword es:[edi], eax
push 0xf
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], edi
mov byte [ebp + 0x18], al
mov byte [ebp - 4], 1
test ecx, ecx
je 0x468edb
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x468ed8
xor eax, eax
lea ecx, [ebp - 0x1c]
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00417020
mov eax, dword [ebp - 0x1c]
push edi
push 0
push eax
lea esi, [eax + edi]
call fcn.0046e020
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x18], esi
call fcn.004609e3
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
push dword [ebp - 0x20]
lea ecx, [ebp + 0x18]
push dword [ebp - 0x1c]
call fcn.0041531c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x468ece
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
call fcn.00416bfd
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
ja 0x468e39
push 0xf
pop edi
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x28]
call esi
lea eax, [ebp + 0x18]
mov ecx, ebx
push eax
call fcn.0041431e
mov eax, dword [ebp + 0x2c]
cmp eax, edi
jbe 0x468f0c
inc eax
push eax
push dword [ebp + 0x18]
call fcn.00416bfd
pop ecx
pop ecx
and dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], edi
mov byte [ebp + 0x18], 0
jmp 0x468f2c
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x4a6999
mov ecx, ebx
call fcn.0041437c
lea ecx, [ebp]
call fcn.00469915
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x430]
xor ecx, ebp
call fcn.0046be79
add ebp, 0x434
leave
ret 8