Function at 0x430e60
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3c38
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov eax, dword [ebx + 8]
test eax, eax
je 0x431115
cmp eax, 0xffffffff
je 0x431115
xor ecx, ecx
cmp dword [ebx + 0x84], 2
push 0
setne cl
dec ecx
and ecx, 0x800000
or ecx, 0x4000000
push ecx
push 0x4dbc8c
push esi
push str.HTTP_1.0
push edi
push 0x4c5da0
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
xor esi, esi
mov dword [ebx + 0xc], eax
cmp eax, esi
je 0x4310fe
cmp eax, 0xffffffff
je 0x4310fe
push SysReAllocString
push 0xd
push str.Accept:___r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x430f2b
push 0x4cf21c
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.additional_header_failed...
call fcn.004679cb
mov eax, dword [ebx + 0xbc]
cmp eax, esi
jbe 0x4310af
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov dword [esp + 0x50], esi
mov eax, dword [ebx + 0x84]
sub eax, 1
je 0x430f65
sub eax, 1
jne 0x430f73
push str.https:__
jmp 0x430f6a
push str.http:__
lea ecx, [esp + 0x1c]
call fcn.004307c0
cmp dword [ebx + 0x28], 0x10
jb 0x430f7e
mov eax, dword [ebx + 0x14]
jmp 0x430f81
lea eax, [ebx + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00414560
mov eax, dword [ebx + 0x84]
cmp eax, 1
jne 0x430f9f
cmp dword [ebx + 0x80], 0x50
je 0x430fe6
cmp eax, 2
jne 0x430fb0
cmp dword [ebx + 0x80], 0x1bb
je 0x430fe6
mov ecx, dword [ebx + 0x80]
push ecx
xor eax, eax
lea edx, [esp + 0x38]
push 0x4c5df8
push edx
mov word [esp + 0x40], ax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
call fcn.004604f1
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00414560
push edi
lea ecx, [esp + 0x1c]
call fcn.00414560
mov eax, dword [ebx + 0xb8]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
jmp 0x431010
mov esi, dword [ebx + 0xb8]
mov ecx, dword [ebx + 0xa4]
test eax, eax
je 0x431024
cmp eax, ecx
je 0x431029
call fcn.004627b2
cmp dword [esp + 0x38], esi
je 0x43109e
lea esi, [esp + 0x34]
call fcn.004324b0
mov eax, dword [eax]
mov ecx, 0x10
cmp dword [eax + 0x34], ecx
jb 0x431049
mov edx, dword [eax + 0x20]
jmp 0x43104c
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], ecx
jb 0x431056
mov eax, dword [eax + 4]
jmp 0x431059
add eax, 4
cmp dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
jae 0x431067
lea ecx, [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
je 0x431087
lea edi, [esp + 0x10]
lea esi, [esp + 0x34]
call fcn.004324e0
mov eax, dword [esp + 0x34]
jmp 0x431010
push 0x4cf21c
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.add_cookie_failed...
call fcn.004679cb
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call fcn.00401db0
mov eax, dword [ebx + 0xc]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4310dc
push 0x4cf21c
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], str.request_failed...
call fcn.004679cb
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0045f97b
mov esp, ebp
pop ebp
ret 8
push 0x4cf21c
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.request_failed...
call fcn.004679cb
push 0x4cf21c
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.handle_not_opened...
call fcn.004679cb
int3