Function at 0x430aa8
Capabilities:
Check http status code
Get http content length
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f9b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x12c4
call fcn.004a1280
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0x10
push edi
jb 0x430ade
mov eax, dword [esi + 8]
jmp 0x430ae1
lea eax, [esi + 8]
push eax
mov eax, esi
call fcn.00431447
test eax, eax
jne 0x430b30
cmp dword [esi + 0x38], 0x10
jb 0x430af8
mov ecx, dword [esi + 0x24]
jmp 0x430afb
lea ecx, [esi + 0x24]
cmp dword [esi + 0x1c], 0x10
jb 0x430b06
mov eax, dword [esi + 8]
jmp 0x430b09
lea eax, [esi + 8]
push ecx
push eax
call fcn.0043146b
test eax, eax
je 0x430b30
mov eax, 0x190
mov ecx, dword [esp + 0x12d4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00431767
xor ebx, ebx
mov dword [esp + 0x12dc], ebx
cmp dword [esi + 0xe0], ebx
je 0x430b5f
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0xcc]
push eax
lea ecx, [esp + 0x50]
call fcn.00409cc4
cmp dword [esi + 0x6c], ebx
je 0x430bc9
lea eax, [esi + 0x58]
push eax
lea eax, [esp + 0x64]
push str.Cookie:
push eax
call fcn.00415803
add esp, 0xc
push 0x53a15c
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x12e8], 1
call fcn.00415771
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x12e8], 2
call fcn.00409cc4
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.004017de
push ebx
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x12e4], bl
call fcn.004017de
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
cmp dword [esi + 0x54], 0x10
mov edx, dword [esi + 0x50]
jb 0x430bdd
mov eax, dword [esi + 0x40]
jmp 0x430be0
lea eax, [esi + 0x40]
cmp dword [esp + 0x5c], 0x10
mov ecx, dword [esp + 0x48]
jae 0x430bef
lea ecx, [esp + 0x48]
push edx
push eax
push 0xffffffffffffffff
push ecx
push dword [esi + 0xf0]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x430cef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpSendRequest_failed_with_error_code__d_n
mov dword [esp + 0x18], eax
call fcn.00413df9
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
cmp eax, 0x2f0d
jne 0x430c68
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push 0x1f
push dword [esi + 0xf0]
mov dword [esp + 0x20], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [esp + 0x1c], 0x1100
lea eax, [esp + 0x1c]
push 4
push eax
push 0x1f
push dword [esi + 0xf0]
call edi
jmp 0x430bcf
cmp eax, 0x2f05
jne 0x430c9d
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x1f
push dword [esi + 0xf0]
mov dword [esp + 0x20], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [esp + 0x18], 0x2000
lea eax, [esp + 0x18]
jmp 0x430c56
cmp eax, 0x2f19
jne 0x430cd2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0x1f
push dword [esi + 0xf0]
mov dword [esp + 0x20], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [esp + 0xc], 0x80
lea eax, [esp + 0xc]
jmp 0x430c56
cmp eax, 0x2f0c
jne 0x4310ce
push 4
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], ebx
push 0x2f
jmp 0x430c5b
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
push 0x20000013
push dword [esi + 0xf0]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], 4
call edi
test eax, eax
je 0x4310ce
mov eax, dword [esp + 0x18]
cmp eax, 0xc8
je 0x430e28
cmp eax, 0xce
je 0x430e28
cmp eax, 0x12b
jbe 0x4310be
cmp eax, 0x131
jbe 0x430d58
cmp eax, 0x133
jne 0x4310be
push 0xfff
lea eax, [esp + 0x2d5]
push ebx
push eax
mov byte [esp + 0x2dc], bl
call fcn.0049d740
add esp, 0xc
push ebx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2d8]
push eax
push 0x21
push dword [esi + 0xf0]
mov dword [esp + 0x20], 0x1000
call edi
test eax, eax
je 0x4310be
lea eax, [esp + 0x2d0]
push eax
call fcn.0049db30
pop ecx
test eax, eax
jbe 0x4310be
sub esp, 0x1c
mov dword [esp + 0x3c], esp
mov edi, esp
sub esp, 0x1c
lea eax, [esp + 0x308]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00401644
sub esp, 0x1c
mov byte [esp + 0x1330], 6
lea eax, [esi + 4]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00403731
push edi
mov byte [esp + 0x1334], bl
call fcn.00433fe8
lea eax, [esp + 0x7c]
push eax
call fcn.00433f55
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x12e8], 7
call fcn.00401729
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.004017de
jmp 0x4310be
mov eax, dword [ebp + 0xc]
push ebx
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x20000005
mov dword [eax], ebx
mov dword [eax + 4], ebx
push dword [esi + 0xf0]
mov dword [esp + 0x30], 8
call edi
push 0xff
lea eax, [esp + 0xd5]
push ebx
push eax
mov byte [esp + 0xdc], bl
call fcn.0049d740
add esp, 0xc
push ebx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xd8]
push eax
push 1
push dword [esi + 0xf0]
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
je 0x431002
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0xd0]
push eax
call fcn.004017bb
cmp dword [esi + 0xc4], ebx
je 0x431002
mov ecx, dword [ebp + 0x10]
push ebx
push str.text_
call fcn.0040bf70
cmp eax, 0xffffffff
je 0x431002
push dword [ebp + 0x10]
lea ecx, [esp + 0x2c]
call fcn.00403731
push ebx
push 0x53a9ac
lea ecx, [esp + 0x30]
mov byte [esp + 0x12e4], 3
call fcn.0040bf70
cmp eax, 0xffffffff
je 0x430f2b
push eax
push ebx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x34]
call fcn.0040711c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x12e8], 4
call fcn.00401729
push ebx
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x12e4], 3
call fcn.004017de
cmp dword [esp + 0x40], 0x10
mov ecx, dword [esp + 0x2c]
jae 0x430f3a
lea ecx, [esp + 0x2c]
lea eax, [esi + 0xb0]
cmp dword [eax + 0x18], 0x10
jb 0x430f4b
mov eax, dword [eax + 4]
jmp 0x430f4e
add eax, 4
push ecx
push eax
push str.content_type_expect:__s__actual:__s_n
call fcn.00413df9
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.004176af
mov dword [esp + 0x14], eax
lea eax, [esi + 0xb0]
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x12ec], 5
call fcn.004176af
add esp, 0x10
push ebx
push dword [esp + 0x10]
mov ecx, eax
call fcn.00424fa9
push ebx
cmp eax, 0xffffffff
push 1
lea ecx, [esp + 0x84]
sete byte [esp + 0x1f]
call fcn.004017de
push ebx
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x12e4], 3
call fcn.004017de
push ebx
lea ecx, [esp + 0x2c]
push 1
cmp byte [esp + 0x1f], bl
je 0x430ff6
call fcn.004017de
mov esi, 0x1bc
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.004017de
mov eax, esi
jmp 0x430b19
mov byte [esp + 0x12e4], bl
call fcn.004017de
push 0xff
lea eax, [esp + 0x1d5]
push ebx
push eax
mov byte [esp + 0x1dc], bl
call fcn.0049d740
add esp, 0xc
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1d8]
push eax
push 0x2f
push dword [esi + 0xf0]
mov dword [esp + 0x34], 0xff
call edi
test eax, eax
je 0x4310be
lea eax, [esp + 0x1d0]
push str.filename
push eax
call fcn.004b6040
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x4310be
push str.filename
call fcn.0049db30
pop ecx
add edi, eax
jmp 0x43106d
inc edi
cmp byte [edi], 0x20
je 0x43106c
cmp byte [edi], 0x22
jne 0x431078
inc edi
cmp byte [edi], 0x2f
jne 0x43107e
inc edi
push edi
mov dword [esp + 0x10], ebx
call fcn.0049db30
pop ecx
test eax, eax
jbe 0x4310b5
mov eax, dword [esp + 0xc]
mov cl, byte [eax + edi]
cmp cl, 0x3b
je 0x4310b2
cmp cl, 0x22
je 0x4310b2
inc eax
push edi
mov dword [esp + 0x10], eax
call fcn.0049db30
pop ecx
cmp dword [esp + 0xc], eax
jb 0x43108d
jmp 0x4310b5
mov byte [eax + edi], bl
mov ecx, dword [ebp + 8]
push edi
call fcn.004017bb
mov byte [esi + 0x100], 1
mov esi, dword [esp + 0x18]
jmp 0x430fe3
mov esi, 0x190
jmp 0x430fe3