Function at 0x4026b0
Capabilities:
Check http status code
Create http request
Get http content length

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44743b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4551b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov esi, ecx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
mov edi, 7
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], bx
call fcn.004019a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], ebx
jne 0x402765
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
cmp dword [ebp - 0x1c], 8
jb 0x402740
mov eax, dword [ebp - 0x30]
push eax
call fcn.00431474
add esp, 4
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], bx
jb 0x4029e8
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00431474
add esp, 4
jmp 0x4029e8
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x78], vtable.RC::RCInternetSession.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x74], edi
push 4
lea edx, [ebp - 0x70]
push edx
push 2
push edi
mov dword [ebp - 0x70], 0xbb8
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 0x70]
push eax
push 3
push edi
mov dword [ebp - 0x70], 5
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], vtable.RC::RCHttpFile.0
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 3
push edi
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x8c], ebx
call fcn.0040dfb0
test al, al
jne 0x402841
cmp edi, ebx
je 0x4027e2
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edi, edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
lea ecx, [ebp - 0x84]
mov word [esi + 4], bx
call fcn.0040de10
cmp edi, ebx
je 0x402806
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x1c], 8
jb 0x402818
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00431474
add esp, 4
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], bx
jb 0x4029e8
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00431474
add esp, 4
jmp 0x4029e8
mov eax, dword [ebp - 0x80]
cmp eax, ebx
mov dword [ebp - 0x70], 4
je 0x40286a
push ebx
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x8c], 0xc8
je 0x4028e2
cmp edi, ebx
je 0x402883
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edi, edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
lea ecx, [ebp - 0x84]
mov word [esi + 4], bx
call fcn.0040de10
cmp edi, ebx
je 0x4028a7
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x1c], 8
jb 0x4028b9
mov eax, dword [ebp - 0x30]
push eax
call fcn.00431474
add esp, 4
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], bx
jb 0x4029e8
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00431474
add esp, 4
jmp 0x4029e8
cmp eax, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x70], 4
je 0x402915
push ebx
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x88]
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x88]
cmp eax, ebx
jne 0x40292c
cmp edi, ebx
je 0x4029b7
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x74], ebx
jmp 0x4029b7
cmp eax, 0x500000
mov byte [ebp - 4], 4
jbe 0x40293b
xor al, al
jmp 0x40294c
lea edx, [ebp - 0x50]
push edx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00402a10
cmp al, bl
mov dword [ebp - 4], 3
je 0x4029af
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], bx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x402975
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
push ecx
push edx
push eax
call fcn.0042e624
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.00410440
lea eax, [ebp - 0x6c]
push eax
call fcn.00401910
lea ecx, [ebp - 0x6c]
call fcn.00401940
jmp 0x4029c5
lea ecx, [ebp - 0x78]
call fcn.00410440
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
lea ecx, [ebp - 0x84]
call fcn.0040de10
lea ecx, [ebp - 0x78]
call fcn.00410420
lea ecx, [ebp - 0x34]
call fcn.00401940
lea ecx, [ebp - 0x50]
call fcn.00402d80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00431b07
mov esp, ebp
pop ebp
ret 4