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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 8
call fcn.0045184e
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x3c
call fcn.0045184e
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
push 0x1c
call fcn.0045184e
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
call fcn.004087dd
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4a7ce2
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.004580c0
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x408587
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MSXML2.XMLHTTP
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.004580c0
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x408587
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Microsoft.XMLHTTP
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.004580c0
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x408587
call fcn.0040880d
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x3c
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.00455ff0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407dfc
push ebx
call fcn.00451854
add esp, 4
pop eax
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x80
mov ebx, dword [ebp - 8]
add ebx, 0x2c
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.00455ff0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407e54
push ebx
call fcn.00451854
add esp, 4
pop eax
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0x30
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x100
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
nop
nop
nop
nop
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 0
push dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x407eb5
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x407f51
push ebx
call fcn.00451854
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407f61
push ebx
call fcn.00451854
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407f71
push ebx
call fcn.00451854
add esp, 4
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x407f9e
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
cmp dword [ebp + 0x10], 0
je 0x407fb6
cmp dword [ebp + 0xc], 0
je 0x407fb6
xor eax, eax
jmp 0x407fbb
mov eax, 1
test eax, eax
je 0x407fca
mov dword [ebp + 0xc], 0xbb8
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
push 4
lea eax, [ebp + 0xc]
push eax
push 2
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x408025
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
push 4
lea eax, [ebp + 0xc]
push eax
push 5
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x408080
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
push 4
lea eax, [ebp + 0xc]
push eax
push 6
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4080db
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0
push 0
push 3
push dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetConnectA]
nop
nop
nop
nop
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408182
push ebx
call fcn.00451854
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408192
push ebx
call fcn.00451854
add esp, 4
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x4081d7
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x800
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push 0x4000000
push 0x80000301
push 0
push 0x10000000
push 0x80000301
push 0
push SysReAllocString
push 6
mov ebx, 0xc8
call fcn.00455fd0
add esp, 0x4c
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 0x2c
mov dword [ebp - 0x18], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push str.HTTP_1.1
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push str.HEAD
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
nop
nop
nop
nop
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4082e6
push ebx
call fcn.00451854
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4082f6
push ebx
call fcn.00451854
add esp, 4
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x408353
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00456030
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4083b1
push ebx
call fcn.00451854
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x408413
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 4
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x13
push 0x80000301
push 0
push 0x20000000
push 2
mov ebx, 0xc8
call fcn.00455fd0
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
nop
nop
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x408501
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0xc8
je 0x40857d
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0xce
je 0x40857d
xor eax, eax
jmp 0x408582
mov eax, 1
jmp 0x408722
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push reloc.WS2_32.dll_connect
push 0
push str.HEAD
push reloc.WS2_32.dll_connect
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x94c
call fcn.00458570
add esp, 0x40
push 0x80000301
push 0
push 0x1388
push 0x80000301
push 0
push 0x1f40
push 0x80000301
push 0
push 0x1388
push 0x80000301
push 0
push 0x1388
push reloc.WS2_32.dll_connect
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x94c
call fcn.00458570
add esp, 0x4c
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x94c
call fcn.00458570
add esp, 0x28
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Status
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x934
call fcn.004582d0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
fld qword [ebp - 0x20]
call fcn.00401131
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0xc8
je 0x4086d5
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0xce
je 0x4086d5
xor eax, eax
jmp 0x4086da
mov eax, 1
test eax, eax
je 0x4086f1
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 1
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x924
call fcn.004582a0
add esp, 0x10
call fcn.0040880d
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408722
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.004582a0
add esp, 0x10
call fcn.00451854
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40875d
push ebx
call fcn.00451854
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408771
push ebx
call fcn.00451854
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408785
push ebx
call fcn.00451854
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408799
push ebx
call fcn.00451854
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4087ad
push ebx
call fcn.00451854
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4087c1
push ebx
call fcn.00451854
add esp, 4
pop ebx
call fcn.00451854
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00451854
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc