Function at 0x45dac1
Capabilities:
Parse url
Send data
Send http request

Disassembly:
mov eax, 0x6bd6d0
call fcn.006b6d3c
mov eax, 0x1774
call fcn.0053c780
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
test esi, esi
je 0x45dbc4
cmp byte [esi], 0
je 0x45dbc4
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call fcn.005530b0
add esp, 0xc
mov dword [ebp - 0x60], 0x3c
lea eax, [ebp - 0x1380]
mov ecx, 0x400
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x1780]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x45dbc4
movzx eax, word [ebp - 0x48]
push 0x3c
mov dword [ebp - 0x14], eax
call fcn.0053b6c1
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0045d565
or dword [ebp - 4], 0xffffffff
mov ebx, eax
test ebx, ebx
je 0x45dbc4
push edi
lea ecx, [ebp - 0x24]
call fcn.0046ce87
mov ecx, dword [ebx + 0x34]
mov esi, eax
mov edx, dword [esi]
mov dword [esi], ecx
mov dword [ebx + 0x34], edx
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 0x38]
mov dword [esi + 4], eax
mov dword [ebx + 0x38], ecx
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x45db93
call fcn.00406388
mov ecx, dword [edi]
mov esi, 0x7f28c4
cmp dword [0x7f28d8], 0x10
cmovae esi, dword [0x7f28c4]
mov eax, dword [ecx]
call dword [eax + 4]
mov dl, al
mov ecx, esi
call fcn.0045da07
mov dword [ebx], eax
test eax, eax
jne 0x45dbd5
push ecx
mov ecx, ebx
call fcn.0045d9cc
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push dword [ebp - 0x14]
lea edx, [ebp - 0x1380]
mov ecx, ebx
call fcn.0045da53
mov dword [ebx + 4], eax
pop ecx
test eax, eax
je 0x45dbbc
xor eax, eax
mov ecx, 0x800000
cmp dword [ebp - 0x54], 4
push ebx
cmove eax, ecx
mov dword [ebx + 0x1c], 1
mov ecx, dword [edi]
or eax, 0x84000200
push eax
xor esi, esi
lea eax, [ebp - 0x1780]
push esi
push esi
push esi
push eax
mov eax, dword [ecx]
call dword [eax + 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx + 8], eax
test eax, eax
jne 0x45dc45
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x45dbbc
push 0xffffffffffffffff
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x400
lea eax, [ebp - 0xf80]
push esi
push eax
call fcn.005530b0
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x45dd02
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 0x14]
test eax, eax
jne 0x45dc94
push str.Content_Type:_text_html_n_n
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.0046ae07
add esp, 0xc
jmp 0x45dcb5
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push str.Content_Type:__s_n_n
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.0046ae07
add esp, 0x10
push 0x400
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0xf80]
call fcn.0046abb4
mov ecx, esi
call fcn.0046ad4b
push eax
push str.Content_Length:__d_n
mov dword [ebp - 0x18], eax
mov esi, 0x400
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.0046ae07
push esi
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0xf80]
call fcn.0046abb4
add esp, 0x18
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, eax
mov esi, dword [edx]
mov ecx, esi
mov eax, dword [edx + 4]
and ecx, eax
cmp ecx, 0xffffffff
jne 0x45dd26
mov eax, dword [edx + 8]
and eax, dword [edx + 0xc]
cmp eax, ecx
je 0x45dd6e
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
cmp eax, edx
jl 0x45dd3e
jg 0x45dbbc
cmp esi, ecx
ja 0x45dbbc
push edx
push ecx
push eax
push esi
push str.Range:_bytes_lld__lld_n
mov esi, 0x400
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.0046ae07
push esi
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0xf80]
call fcn.0046abb4
add esp, 0x20
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x45de30
cmp byte [eax], 0
je 0x45de30
cmp dword [esi + 4], 0
je 0x45de30
push dword [esi + 4]
lea ecx, [ebp - 0xb80]
call fcn.0046aea9
mov edi, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x920]
push dword [esi]
call fcn.0046aea9
mov esi, eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c0]
mov byte [ebp - 4], 2
call fcn.0046aea9
push dword [edi + 4]
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetSetCookieW]
lea eax, [ebp - 0x6b8]
cmp dword [ebp - 0x6bc], eax
je 0x45ddf5
push dword [ebp - 0x6bc]
call fcn.0053b990
pop ecx
lea eax, [ebp - 0x918]
cmp dword [ebp - 0x91c], eax
je 0x45de0f
push dword [ebp - 0x91c]
call fcn.0053b990
pop ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xb78]
cmp dword [ebp - 0xb7c], eax
je 0x45de2d
push dword [ebp - 0xb7c]
call fcn.0053b990
pop ecx
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x45deac
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi]
mov esi, dword [eax]
mov eax, dword [ecx]
mov esi, dword [esi]
mov dword [ebp - 0x10], esi
call dword [eax + 0x10]
jmp 0x45dea8
lea eax, [esi + 0x28]
cmp dword [eax + 0x14], 0x10
jb 0x45de5d
mov eax, dword [eax]
add esi, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x45de68
mov esi, dword [esi]
push eax
push esi
push str._s:__s_n
mov esi, 0x400
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.0046ae07
push esi
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0xf80]
call fcn.0046abb4
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.00403591
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x10]
cmp esi, dword [eax]
jne 0x45de52
push dword [ebp - 0x18]
lea eax, [ebp - 0xf80]
push dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x45ded9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x45dbbc
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x38]
test al, al
je 0x45deeb
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 0x44]
mov al, 1
jmp 0x45dbc6