Function at 0x4203b0
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x45516f
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x1b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f7c0]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1dc]
mov ebp, ecx
xor ebx, ebx
push 0x38
lea ecx, [esp + 0x64]
push ebx
push ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ebx
call fcn.0043b8e0
mov edi, 1
mov esi, 0x10
add esp, 0xc
mov dword [esp + 0x5c], 0x3c
mov dword [esp + 0x70], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x94], edi
cmp dword [ebp + 0x14], esi
jb 0x42044b
mov eax, dword [ebp]
jmp 0x42044d
mov eax, ebp
lea edx, [esp + 0x5c]
push edx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4204f9
push 0x17
push str.InternetCrackUrl_failed
lea ecx, [esp + 0xb8]
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.00405990
mov dword [esp + 0x1d4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0xf0]
call fcn.00420190
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
mov byte [esp + 0x1e0], 2
mov dword [esp + 0x20], 0x45fa10
mov dword [esp + 0x24], 0x45f9e4
mov dword [esp + 0x28], 0x5c
call fcn.0041ec60
add esp, 0xc
push 0x46a5c8
lea eax, [esp + 0x108]
push eax
call fcn.0043be1d
mov eax, dword [esp + 0x68]
cmp eax, 3
je 0x4205c9
cmp eax, 4
je 0x4205c9
push 0xe
push str.Invalid_scheme
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.00405990
mov dword [esp + 0x1d4], 3
cmp dword [esp + 0xe0], esi
jb 0x42055c
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x24], ecx
jmp 0x420567
lea edx, [esp + 0xcc]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
call fcn.0043afd2
mov dword [esp + 0x38], vtable.HttpConnection::exception.0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x1a8]
push eax
mov byte [esp + 0x1e0], 4
mov dword [esp + 0x38], 0x45faa8
mov dword [esp + 0x3c], 0x45fa8c
mov dword [esp + 0x40], 0x5f
call fcn.0041ece0
add esp, 0xc
push 0x46a5b8
lea ecx, [esp + 0x1a4]
push ecx
call fcn.0043be1d
cmp byte [ebp + 0x1c], bl
jne 0x42067a
cmp eax, 3
jne 0x42067a
push str.Http_is_disabled
lea ecx, [esp + 0xd0]
call fcn.00406ab0
mov dword [esp + 0x1d4], 5
cmp dword [esp + 0xe0], esi
jb 0x42060d
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x24], edx
jmp 0x420618
lea eax, [esp + 0xcc]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0043afd2
mov dword [esp + 0x38], vtable.HttpConnection::exception.0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1a8]
push ecx
mov byte [esp + 0x1e0], 6
mov dword [esp + 0x38], 0x45fb48
mov dword [esp + 0x3c], 0x45fb1c
mov dword [esp + 0x40], 0x62
call fcn.0041ece0
add esp, 0xc
push 0x46a5b8
lea edx, [esp + 0x1a4]
push edx
call fcn.0043be1d
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
mov esi, 0xf
lea ecx, [esp + 0x18c]
mov dword [esp + 0x1a0], esi
mov dword [esp + 0x19c], ebx
mov byte [esp + 0x18c], bl
call fcn.00405990
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0x154]
mov dword [esp + 0x1dc], 7
mov dword [esp + 0x168], esi
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
call fcn.00405990
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x170]
mov byte [esp + 0x1dc], 8
mov dword [esp + 0x184], esi
mov dword [esp + 0x180], ebx
mov byte [esp + 0x170], bl
call fcn.00405990
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x1d4], 9
cmp eax, ebx
jbe 0x42076b
push eax
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.00405990
lea eax, [esp + 0xcc]
mov byte [esp + 0x1d4], 0xa
mov dword [esp + 0x20], edi
jmp 0x4207ac
push edi
push 0x45faa4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
call fcn.00405990
lea eax, [esp + 0xe8]
mov dword [esp + 0x1d4], 0xb
mov dword [esp + 0x20], 2
push eax
lea ecx, [esp + 0x134]
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
call fcn.00406af0
mov dword [esp + 0x1d4], 0xc
test byte [esp + 0x20], 2
mov edi, 0x10
je 0x420818
and dword [esp + 0x20], 0xfffffffd
cmp dword [esp + 0xfc], edi
jb 0x420803
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0043a71e
add esp, 4
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
test byte [esp + 0x20], 1
mov byte [esp + 0x1d4], 0xe
je 0x42085a
and dword [esp + 0x20], 0xfffffffe
cmp dword [esp + 0xe0], edi
jb 0x420845
mov edx, dword [esp + 0xcc]
push edx
call fcn.0043a71e
add esp, 4
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
mov eax, dword [esp + 0x94]
cmp eax, ebx
jbe 0x4208c7
push eax
mov eax, dword [esp + 0x94]
push eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.00405990
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1e0], 0xf
call fcn.00404560
cmp dword [esp + 0xc4], edi
jb 0x4208c7
mov edx, dword [esp + 0xb0]
push edx
call fcn.0043a71e
add esp, 4
cmp dword [ebp + 0x38], edi
lea eax, [ebp + 0x24]
jb 0x4208d1
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], 1
mov byte [esp + 0x1d4], 0x10
cmp edi, ebx
jne 0x42098e
push 0x13
push str.InternetOpen_failed
lea ecx, [esp + 0xb8]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.00405990
mov byte [esp + 0x1d4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0xf0]
call fcn.00420190
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
mov byte [esp + 0x1e0], 0x12
mov dword [esp + 0x20], 0x45fbc8
mov dword [esp + 0x24], 0x45fbac
mov dword [esp + 0x28], 0x72
call fcn.0041ec60
add esp, 0xc
push 0x46a5c8
lea eax, [esp + 0x108]
push eax
call fcn.0043be1d
mov edx, dword [esp + 0x168]
mov eax, 0x10
cmp dword [esp + 0x17c], eax
jae 0x4209aa
lea edx, [esp + 0x168]
mov ecx, dword [esp + 0x14c]
cmp dword [esp + 0x160], eax
jae 0x4209c1
lea ecx, [esp + 0x14c]
cmp dword [esp + 0x198], eax
mov eax, dword [esp + 0x184]
jae 0x4209d8
lea eax, [esp + 0x184]
push ebx
push ebx
push 3
push edx
push ecx
mov ecx, dword [esp + 0x88]
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [esp + 0x38], edi
mov byte [esp + 0x3c], 1
mov byte [esp + 0x1d4], 0x13
cmp edi, ebx
jne 0x420a81
push str.InternetConnect_failed
lea ecx, [esp + 0xb4]
call fcn.00406ab0
mov byte [esp + 0x1d4], 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0xf0]
call fcn.00420190
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
mov byte [esp + 0x1e0], 0x15
mov dword [esp + 0x20], 0x45fc70
mov dword [esp + 0x24], 0x45fc2c
mov dword [esp + 0x28], 0x79
call fcn.0041ec60
add esp, 0xc
push 0x46a5c8
lea eax, [esp + 0x108]
push eax
call fcn.0043be1d
cmp dword [esp + 0x144], 0x10
mov eax, dword [esp + 0x130]
mov dword [esp + 0x54], 0x45fbc4
mov dword [esp + 0x58], ebx
jae 0x420aa5
lea eax, [esp + 0x130]
xor ecx, ecx
cmp dword [esp + 0x68], 4
push ebx
setne cl
lea edx, [esp + 0x58]
dec ecx
and ecx, 0x800000
or ecx, 0x4400200
push ecx
push edx
push ebx
push ebx
push eax
mov eax, dword [ebp + 0x20]
push eax
call fcn.0041e780
add esp, 4
push eax
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [esp + 0x4c], esi
mov byte [esp + 0x50], 1
mov byte [esp + 0x1d4], 0x16
cmp esi, ebx
jne 0x420b6d
push str.HttpOpenRequest_failed
lea ecx, [esp + 0xb4]
call fcn.00406ab0
mov byte [esp + 0x1d4], 0x17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0xf0]
call fcn.00420190
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x10c]
push eax
mov byte [esp + 0x1e0], 0x18
mov dword [esp + 0x20], 0x45fd08
mov dword [esp + 0x24], 0x45fcec
mov dword [esp + 0x28], 0x8b
call fcn.0041ec60
add esp, 0xc
push 0x46a5c8
lea ecx, [esp + 0x108]
push ecx
call fcn.0043be1d
mov edx, dword [ebp + 0x44]
sub edx, dword [ebp + 0x40]
je 0x420b7a
mov ecx, dword [ebp + 0x40]
jmp 0x420b7c
xor ecx, ecx
mov eax, dword [ebp + 0x44]
sub eax, dword [ebp + 0x40]
push eax
push ecx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x420c49
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x1d], bl
je 0x420bd3
push ebx
push 7
push ebp
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
je 0x420d17
cmp ebp, 0x2f0c
jne 0x420bd3
cmp eax, ebx
je 0x420d17
push str.HttpSendRequest_failed
lea ecx, [esp + 0xb4]
call fcn.00406ab0
push ebp
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1dc], 0x19
call fcn.00420190
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x10c]
push eax
mov byte [esp + 0x1e0], 0x1a
mov dword [esp + 0x20], 0x45fdb8
mov dword [esp + 0x24], 0x45fd84
mov dword [esp + 0x28], 0xa2
call fcn.0041ec60
add esp, 0xc
push 0x46a5c8
lea ecx, [esp + 0x108]
push ecx
call fcn.0043be1d
push ebx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
push 0x20000013
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x420cec
push str.cannot_get_response_status_code
lea ecx, [esp + 0xb4]
call fcn.00406ab0
mov byte [esp + 0x1d4], 0x1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0xf0]
call fcn.00420190
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x10c]
push eax
mov byte [esp + 0x1e0], 0x1c
mov dword [esp + 0x20], 0x45fe78
mov dword [esp + 0x24], 0x45fe34
mov dword [esp + 0x28], 0xa9
call fcn.0041ec60
add esp, 0xc
push 0x46a5c8
lea ecx, [esp + 0x108]
push ecx
call fcn.0043be1d
mov eax, dword [esp + 0x24]
sub eax, 0x191
je 0x420cfc
sub eax, 6
jne 0x420d17
cmp byte [ebp + 0x1d], bl
je 0x420d17
push ebx
push 7
push 0x2eee
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
mov edx, dword [esp + 0x14]
sub esp, 8
mov eax, esp
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [esp + 0x30], esp
sub esp, 8
mov eax, esp
mov dword [esp + 0x38], esp
mov dword [eax], edi
mov byte [eax + 4], 1
sub esp, 8
mov eax, esp
lea ecx, [esp + 0xb0]
mov byte [esp + 0x68], bl
mov byte [esp + 0x54], bl
mov dword [esp + 0x40], esp
mov dword [eax], edx
mov byte [eax + 4], 1
mov byte [esp + 0x48], bl
call fcn.0041e8d0
mov byte [esp + 0x1d4], 0x1d
cmp byte [esp + 0x1e0], bl
je 0x420ed1
push 0xffffffffffffffff
push 0x13
lea ecx, [esp + 0xa0]
call fcn.0041f990
mov esi, eax
cmp esi, 0xc8
je 0x420ed1
cmp esi, 0x193
jne 0x420e7c
push 0x45f9c9
lea ecx, [esp + 0xb4]
call fcn.00406ab0
lea eax, [esp + 0xb0]
push eax
push 0x14
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1e0], 0x1e
call fcn.0041fbe0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1d4], 0x20
call fcn.00404480
push ebx
push str.Export_Denied
lea ecx, [esp + 0xd4]
call fcn.0040ecd0
cmp eax, 0xffffffff
je 0x420e68
push esi
lea ecx, [esp + 0xec]
call fcn.00420250
mov dword [esp + 0xe8], vtable.HttpConnection::export_compliance_error.0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x10c]
push ecx
mov byte [esp + 0x1e0], 0x21
mov dword [esp + 0x20], 0x45ff28
mov dword [esp + 0x24], 0x45ff0c
mov dword [esp + 0x28], 0xc8
call fcn.0041ed50
add esp, 0xc
push 0x46a5a8
lea edx, [esp + 0x108]
push edx
call fcn.0043be1d
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1d4], 0x1d
call fcn.00404480
push esi
lea ecx, [esp + 0xec]
call fcn.00420250
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
mov byte [esp + 0x1e0], 0x22
mov dword [esp + 0x20], 0x45ffa8
mov dword [esp + 0x24], str.HttpConnection::connect
mov dword [esp + 0x28], 0xcb
call fcn.0041edd0
add esp, 0xc
push 0x46a598
lea eax, [esp + 0x108]
push eax
call fcn.0043be1d
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x98]
push ecx
mov ecx, esi
call fcn.0041e930
or dword [esp + 0x20], 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x1d4], 0x16
call fcn.0040a0d0
lea ecx, [esp + 0x130]
call fcn.00404480
lea ecx, [esp + 0x168]
call fcn.00404480
lea ecx, [esp + 0x14c]
call fcn.00404480
lea ecx, [esp + 0x184]
call fcn.00404480
mov eax, esi
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x1c4
ret 8