Function at 0x410c50
Capabilities:
Check http status code
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1434
call fcn.00416c70
mov eax, dword [0x42b48c]
mov edx, dword [ebp + 0x18]
push ebx
xor eax, ebp
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x1438], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
push edi
lea ecx, [ebx + 0x4c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
call fcn.00404d70
push esi
mov ecx, ebx
call fcn.00410b10
test eax, eax
jne 0x410cbb
mov eax, SysReAllocString
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1430]
xor ecx, ebp
call fcn.00415d1a
mov esp, ebp
pop ebp
ret 0x18
mov ecx, ebx
call fcn.00410030
test eax, eax
je 0x411014
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x410fe1
mov eax, dword [ebx + 0x28]
push 0
push 0x4600010
push 0x42b43c
push 0
push 0
push eax
mov eax, dword [ebx + 8]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [ebx + 0xc], eax
je 0x411004
mov eax, dword [ebp + 0x1c]
test eax, eax
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x10], esi
je 0x410d24
push str.InPost
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
mov dword [esp + 0x10], eax
mov esi, eax
push esi
call fcn.00415ce4
mov edx, eax
mov ecx, esi
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x1c]
add esp, 4
test eax, eax
mov dword [esp + 0x18], edx
je 0x410d8b
push str.InPost
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x18]
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov esi, str.InPost
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
push str.InPost
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov eax, dword [esp + 0x18]
add edi, eax
mov edx, eax
jmp 0x410d91
mov esi, dword [esp + 0x14]
mov edi, edx
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
push edx
push str.Content_Type:_application_x_www_form_urlencoded
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebx + 0xc]
push eax
push str.Content_Type:_application_x_www_form_urlencoded
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x410e10
mov eax, dword [esp + 0x18]
push eax
call fcn.00415d3e
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov dword [ebx + 0x54], eax
call fcn.0040ffe0
mov edi, dword [ebx + 0x54]
xor eax, eax
cmp edi, 0x2ee2
setne al
dec eax
and eax, reloc.OLEAUT32.dll_SysStringLen
dec eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1430]
xor ecx, ebp
call fcn.00415d1a
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00415d3e
mov ecx, dword [ebx + 0xc]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
add esp, 4
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push 0x20000013
push ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 4
call esi
test eax, eax
je 0x411004
mov eax, dword [esp + 0x28]
cmp eax, 0xc8
je 0x410ee6
cmp eax, 0x12c
jbe 0x41100d
cmp eax, 0x12e
ja 0x41100d
xor eax, eax
push eax
mov byte [esp + 0x34], 0
mov ecx, 0x100
lea edi, [esp + 0x35]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push 0x21
push ecx
mov dword [esp + 0x34], 0x400
call esi
test eax, eax
je 0x411004
lea edx, [esp + 0x30]
push edx
lea ecx, [ebx + 0x4c]
call fcn.004091f0
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx + 0xc], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1430]
xor ecx, ebp
call fcn.00415d1a
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x410fe1
mov esi, dword [esp + 0x1c]
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x438]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esi], eax
jmp 0x410f20
mov eax, dword [ebx + 0x44]
test eax, eax
mov dword [esp + 0x24], 0
jne 0x410fe1
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x24]
push edx
push 0xfff
lea eax, [esp + 0x440]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x411004
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x410f9e
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
add edx, ecx
cmp edx, eax
ja 0x410f9e
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x438]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov edx, dword [eax]
add esi, ecx
add edx, ecx
mov dword [esp + 0x10], esi
mov edi, esi
mov dword [eax], edx
mov esi, eax
jmp 0x410fa0
add dword [esi], ecx
test ecx, ecx
ja 0x410f20
mov byte [edi + 1], 0
mov ecx, dword [ebx + 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0xc], 0
cmp edx, dword [esi]
sbb eax, eax
and eax, reloc.OLEAUT32.dll_SysStringLen
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1430]
xor ecx, ebp
call fcn.00415d1a
mov esp, ebp
pop ebp
ret 0x18
mov ecx, ebx
call fcn.0040ffe0
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1430]
xor ecx, ebp
call fcn.00415d1a
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x54], eax
mov ecx, ebx
call fcn.0040ffe0
mov ecx, dword [esp + 0x143c]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.00415d1a
mov esp, ebp
pop ebp
ret 0x18