Function at 0x4063c0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x618
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x614], eax
mov eax, dword [esp + 0x61c]
push ebx
push ebp
push esi
xor ebp, ebp
push 0x206
mov esi, ecx
lea edx, [esp + 0x1e]
xor ecx, ecx
push ebp
push edx
mov dword [esp + 0x20], eax
mov ebx, 0x50
mov dword [esp + 0x1c], ebp
mov word [esp + 0x24], cx
call fcn.00458440
push 0x3fe
lea ecx, [esp + 0x232]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x238], ax
call fcn.00458440
mov eax, 0x480c44
add esp, 0x18
mov dword [esp + 0xc], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x406432
sub eax, edx
sar eax, 1
push eax
push 0x480c44
push esi
call fcn.00455e4a
add esp, 0xc
test eax, eax
je 0x40646e
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x614]
xor ecx, esp
call fcn.004541a5
add esp, 0x618
ret
mov eax, 0x480c44
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x406476
sub eax, edx
push edi
sar eax, 1
lea esi, [esi + eax*2]
push 0x2f
push esi
call fcn.00455202
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x4064bc
mov edx, edi
sub edx, esi
sar edx, 1
inc edx
push edx
push esi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
add edi, 2
push edi
lea ecx, [esp + 0x228]
push ecx
jmp 0x4064c2
push esi
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x1c]
push 0x3a
push eax
call fcn.00455202
add esp, 8
cmp eax, ebp
je 0x4064ef
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
call fcn.00454dce
add esp, 4
movzx ebx, ax
push ebp
push ebp
push ebp
push ebp
push 0x480b18
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
test ebp, ebp
je 0x4065d3
push 0
push 0
push 3
push 0
push 0
push ebx
lea edx, [esp + 0x34]
push edx
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
jne 0x406534
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
jmp 0x4065c1
push 0
push SysReAllocString
push 0
push 0
push 0x480b20
lea eax, [esp + 0x238]
push eax
push 0x480b34
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x4065c1
mov eax, dword [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406565
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, 0x480a80
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406580
mov ecx, dword [esp + 0x18]
push edx
sub eax, esi
push ecx
sar eax, 1
push eax
push 0x480a80
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4065b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
jmp 0x4065ba
mov dword [esp + 0x14], 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
je 0x4065cc
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x624]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004541a5
add esp, 0x618
ret