Function at 0x429770
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c388
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x429a22
cmp eax, 0xffffffff
je 0x429a22
xor edx, edx
cmp dword [esi + 0x84], 2
push ebx
setne dl
dec edx
and edx, 0x800000
or edx, 0x4000000
push edx
push 0x4767e0
push ecx
push str.HTTP_1.0
push edi
push 0x465dbc
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x429a0b
cmp eax, 0xffffffff
je 0x429a0b
push 0x80000000
push 0xd
push str.Accept:___r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x42983a
push 0x471af0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.additional_header_failed...
call fcn.004409b1
mov eax, dword [esi + 0xbc]
cmp eax, ebx
jbe 0x4299bc
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov eax, dword [esi + 0x84]
sub eax, 1
mov dword [esp + 0x58], ebx
je 0x429873
sub eax, 1
jne 0x429881
push str.https:__
jmp 0x429878
push str.http:__
lea ecx, [esp + 0x24]
call fcn.00408ee0
mov ebx, 0x10
cmp dword [esi + 0x28], ebx
jb 0x429890
mov eax, dword [esi + 0x14]
jmp 0x429893
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.004090b0
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x4298b1
cmp dword [esi + 0x80], 0x50
je 0x4298fa
cmp eax, 2
jne 0x4298c2
cmp dword [esi + 0x80], 0x1bb
je 0x4298fa
mov edx, dword [esi + 0x80]
xor eax, eax
push edx
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
lea eax, [esp + 0x40]
xor ecx, ecx
push 0x465d78
push eax
mov word [esp + 0x48], cx
call fcn.00441954
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
call fcn.004090b0
push edi
lea ecx, [esp + 0x24]
call fcn.004090b0
mov eax, dword [esi + 0xb8]
mov edx, dword [eax]
mov eax, dword [esi + 0xa4]
mov edi, dword [sym.imp.WININET.dll_InternetSetCookieA]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0xb8]
mov edx, dword [esi + 0xa4]
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edx
call fcn.004289b0
test al, al
je 0x4299ab
lea ecx, [esp + 0x18]
call fcn.00428980
mov eax, dword [eax]
cmp dword [eax + 0x34], ebx
jb 0x42995b
mov edx, dword [eax + 0x20]
jmp 0x42995e
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], ebx
jb 0x429968
mov eax, dword [eax + 4]
jmp 0x42996b
add eax, 4
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0x429979
lea ecx, [esp + 0x24]
push edx
push eax
push ecx
call edi
test eax, eax
je 0x429994
push 0
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call fcn.004289e0
jmp 0x429920
push 0x471af0
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.add_cookie_failed...
call fcn.004409b1
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.00408970
mov eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4299e9
push 0x471af0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], str.request_failed...
call fcn.004409b1
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004404e6
mov esp, ebp
pop ebp
ret 8
push 0x471af0
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.request_failed...
call fcn.004409b1
push 0x471af0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.handle_not_opened...
call fcn.004409b1
int3