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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4765f4
mov eax, dword fs:[0]
push eax
mov eax, 0x1194
call fcn.0044e7c0
mov eax, dword [0x4a2d54]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x115c], ebx
mov dword [ebp - 0x1150], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x494150
mov ecx, esi
mov dword [ebp - 0x1164], esi
mov dword [ebp - 0x1160], eax
mov byte [esi], bl
call fcn.00409a42
mov dword [ebp - 4], ebx
mov dword [ebp - 0x115c], 1
call fcn.00409ae4
mov dword [ebp - 0x114c], eax
cmp eax, ebx
je 0x40a4b9
cmp dword [ebp + 0xc], ebx
je 0x40a2b1
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 6
push eax
call edi
push 4
lea eax, [ebp + 0xc]
push eax
push 5
push dword [ebp - 0x114c]
call edi
push 4
lea eax, [ebp + 0xc]
push eax
push 2
push dword [ebp - 0x114c]
call edi
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x90f]
push ebx
push eax
mov byte [ebp - 0x910], bl
call fcn.0044d460
push edi
lea eax, [ebp - 0x110f]
push ebx
push eax
mov byte [ebp - 0x1110], bl
call fcn.0044d460
push 0x38
lea eax, [ebp - 0x119c]
push ebx
push eax
call fcn.0044d460
lea eax, [ebp - 0x910]
mov dword [ebp - 0x1190], eax
lea eax, [edi + 1]
add esp, 0x24
mov dword [ebp - 0x118c], eax
mov dword [ebp - 0x1170], eax
lea eax, [ebp - 0x11a0]
push eax
push ebx
push ebx
push dword [ebp - 0x1150]
lea ecx, [ebp - 0x1110]
mov dword [ebp - 0x11a0], 0x3c
mov dword [ebp - 0x1174], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push dword [ebp - 0x1190]
push dword [ebp - 0x114c]
call fcn.00409b1f
pop ecx
pop ecx
mov dword [ebp - 0x1154], eax
cmp eax, ebx
je 0x40a4ad
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x1174]
push 0x4941c4
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
je 0x40a4a1
xor eax, eax
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x112c]
mov dword [ebp - 0x1118], 7
mov dword [ebp - 0x111c], ebx
mov word [ebp - 0x112c], ax
call fcn.004032fb
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1118], 8
mov eax, dword [ebp - 0x112c]
jae 0x40a3bd
lea eax, [ebp - 0x112c]
push 0x20000000
push dword [ebp - 0x111c]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edx, esi
mov ecx, edi
call fcn.00409ee1
push 0xff
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.0044d460
add esp, 0xc
push ebx
lea eax, [ebp - 0x1158]
push eax
lea eax, [ebp - 0x110]
push eax
push 0x13
push edi
mov dword [ebp - 0x1158], pe_nt_image_headers32
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x40a43a
lea eax, [ebp - 0x110]
push eax
call fcn.0044d257
pop ecx
mov ecx, dword [ebp - 0x1160]
mov dword [ecx], eax
push dword [ebp - 0x1150]
lea ecx, [ebp - 0x1148]
mov dword [ebp - 0x1134], 0xf
mov dword [ebp - 0x1138], ebx
mov byte [ebp - 0x1148], bl
call fcn.00409a42
lea eax, [ebp - 0x1148]
push eax
push edi
mov byte [ebp - 4], 2
call fcn.0041007c
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1148]
call fcn.004063f1
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x112c]
call fcn.00403656
push dword [ebp - 0x1154]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x114c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044bf82
leave
ret