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

Disassembly:
sub esp, 0x618
mov eax, dword [0x491830]
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.00451520
push 0x3fe
lea ecx, [esp + 0x232]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x238], ax
call fcn.00451520
mov eax, str.http:__
add esp, 0x18
mov dword [esp + 0xc], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x403e42
sub eax, edx
sar eax, 1
push eax
push str.http:__
push esi
call fcn.0044fd0a
add esp, 0xc
test eax, eax
je 0x403e7e
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x614]
xor ecx, esp
call fcn.0044e3af
add esp, 0x618
ret
mov eax, str.http:__
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x403e86
sub eax, edx
push edi
sar eax, 1
lea esi, [esi + eax*2]
push 0x2f
push esi
call fcn.0044f0b8
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x403ecc
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 0x403ed2
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.0044f0b8
add esp, 8
cmp eax, ebp
je 0x403eff
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
call fcn.0044ee5d
add esp, 4
movzx ebx, ax
push ebp
push ebp
push ebp
push ebp
push 0x478f34
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
test ebp, ebp
je 0x403fe3
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 0x403f44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
jmp 0x403fd1
push 0
push SysReAllocString
push 0
push 0
push str.HTTP_1.1
lea eax, [esp + 0x238]
push eax
push 0x478f50
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x403fd1
mov eax, dword [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403f75
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, str.Accept_Language:_zh_cn__r_nContent_Type:_application_x_www_form_urlencoded_r_n
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403f90
mov ecx, dword [esp + 0x18]
push edx
sub eax, esi
push ecx
sar eax, 1
push eax
push str.Accept_Language:_zh_cn__r_nContent_Type:_application_x_www_form_urlencoded_r_n
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x403fc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
jmp 0x403fca
mov dword [esp + 0x14], 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
je 0x403fdc
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.0044e3af
add esp, 0x618
ret