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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550e0e
mov eax, dword fs:[0]
push eax
mov eax, 0x3048
call fcn.0052b0f0
mov eax, dword [0x5a9f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x304c], eax
xor eax, eax
mov dword [ebp - 4], eax
xor ecx, ecx
push edi
mov ebx, esi
mov dword [ebp - 0x3050], eax
mov word [esi + 0x44], cx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], eax
call fcn.00420460
mov eax, dword [0x5aba1c]
mov ebx, 8
cmp dword [0x5aba30], ebx
jae 0x41fff7
mov eax, 0x5aba1c
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
jne 0x42001f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x304c]
mov dword [edx], eax
jmp 0x42041b
cmp dword [esi + 0x20], ebx
lea ecx, [esi + 0xc]
jb 0x420029
mov ecx, dword [ecx]
movzx edx, word [esi + 0x44]
push 0
push 0
push 3
push 0
push 0
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x42005a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x304c]
mov dword [ecx], eax
jmp 0x42041b
mov ebx, 7
xor edx, edx
mov dword [ebp - 0x3018], ebx
mov dword [ebp - 0x301c], 0
mov word [ebp - 0x302c], dx
cmp dword [ebp + 0x28], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x302c]
jne 0x420091
push 3
mov eax, 0x583b04
jmp 0x420098
push 4
mov eax, str.POST
call fcn.00408e90
lea eax, [esi + 0x28]
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x4200ac
mov eax, dword [eax]
cmp dword [ebp - 0x3018], ecx
mov ecx, dword [ebp - 0x302c]
jae 0x4200c0
lea ecx, [ebp - 0x302c]
push 0
push SysReAllocString
push 0
push 0
push str.HTTP_1.1
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 8], eax
test eax, eax
jne 0x42011c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x304c]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x3018], 8
mov dword [ecx], eax
jb 0x42010d
mov edx, dword [ebp - 0x302c]
push edx
call fcn.00425301
add esp, 4
mov dword [ebp - 0x301c], 0
jmp 0x42040c
xor ecx, ecx
mov word [ebp - 0x3048], cx
push 0x2f
mov eax, str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x3048]
mov dword [ebp - 0x3034], ebx
mov dword [ebp - 0x3038], 0
call fcn.00408e90
xor edx, edx
push 0x1ffe
push edx
lea eax, [ebp - 0x200e]
mov byte [ebp - 4], 2
push eax
mov word [ebp - 0x2010], dx
call fcn.00528f50
add esp, 0xc
mov eax, edi
call fcn.004086e0
push eax
push str.Accept:___r_nReferer:__s_r_nAccept_Language:_zh_cn_r_nContent_Type:_application_x_www_form_urlencoded_r_n_r_n
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
call fcn.005280e4
add esp, 0x10
cmp dword [ebp + 0x28], 1
mov ebx, eax
jne 0x420230
mov eax, dword [esi + 8]
xor edi, edi
push edi
push edi
push ebx
lea edx, [ebp - 0x2010]
push edx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4202e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x304c]
mov ebx, 8
mov byte [ebp - 4], 1
mov dword [ecx], eax
cmp dword [ebp - 0x3034], ebx
jb 0x4201e2
mov edx, dword [ebp - 0x3048]
push edx
call fcn.00425301
add esp, 4
xor eax, eax
mov esi, 7
mov byte [ebp - 4], al
mov dword [ebp - 0x3034], esi
mov dword [ebp - 0x3038], edi
mov word [ebp - 0x3048], ax
cmp dword [ebp - 0x3018], ebx
jb 0x420216
mov ecx, dword [ebp - 0x302c]
push ecx
call fcn.00425301
add esp, 4
xor edx, edx
mov dword [ebp - 0x3018], esi
mov dword [ebp - 0x301c], edi
mov word [ebp - 0x302c], dx
jmp 0x42041b
push 2
mov eax, 0x582234
lea ecx, [ebp + 8]
call fcn.004042e0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x42024b
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ecx
push eax
mov eax, dword [esi + 8]
push ebx
lea edx, [ebp - 0x2010]
push edx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4202e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x304c]
mov ebx, 8
mov byte [ebp - 4], 1
mov dword [ecx], eax
cmp dword [ebp - 0x3034], ebx
jb 0x420294
mov edx, dword [ebp - 0x3048]
push edx
call fcn.00425301
add esp, 4
xor eax, eax
xor esi, esi
mov edi, 7
mov byte [ebp - 4], al
mov dword [ebp - 0x3034], edi
mov dword [ebp - 0x3038], esi
mov word [ebp - 0x3048], ax
cmp dword [ebp - 0x3018], ebx
jb 0x4202ca
mov ecx, dword [ebp - 0x302c]
push ecx
call fcn.00425301
add esp, 4
xor edx, edx
mov dword [ebp - 0x3018], edi
mov dword [ebp - 0x301c], esi
mov word [ebp - 0x302c], dx
jmp 0x42041b
xor edi, edi
push 0xfff
lea eax, [ebp - 0x300f]
push edi
push eax
mov dword [ebp - 0x3054], 0x1000
mov byte [ebp - 0x3010], 0
call fcn.00528f50
mov eax, dword [esi + 8]
add esp, 0xc
push edi
lea ecx, [ebp - 0x3054]
push ecx
lea edx, [ebp - 0x3010]
push edx
push 0x15
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x4203a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x304c]
mov ebx, 8
mov byte [ebp - 4], 1
mov dword [ecx], eax
cmp dword [ebp - 0x3034], ebx
jb 0x420359
mov edx, dword [ebp - 0x3048]
push edx
call fcn.00425301
add esp, 4
xor eax, eax
mov esi, 7
mov byte [ebp - 4], al
mov dword [ebp - 0x3034], esi
mov dword [ebp - 0x3038], edi
mov word [ebp - 0x3048], ax
cmp dword [ebp - 0x3018], ebx
jb 0x420216
mov ecx, dword [ebp - 0x302c]
push ecx
call fcn.00425301
add esp, 4
xor edx, edx
mov dword [ebp - 0x3018], esi
mov dword [ebp - 0x301c], edi
mov word [ebp - 0x302c], dx
jmp 0x42041b
mov esi, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x3050], 1
cmp dword [ebp - 0x3034], esi
jb 0x4203d2
mov eax, dword [ebp - 0x3048]
push eax
call fcn.00425301
add esp, 4
xor ecx, ecx
mov ebx, 7
mov byte [ebp - 4], cl
mov dword [ebp - 0x3034], ebx
mov dword [ebp - 0x3038], edi
mov word [ebp - 0x3048], cx
cmp dword [ebp - 0x3018], esi
jb 0x420406
mov edx, dword [ebp - 0x302c]
push edx
call fcn.00425301
add esp, 4
mov dword [ebp - 0x301c], edi
xor eax, eax
mov word [ebp - 0x302c], ax
mov dword [ebp - 0x3018], ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x420434
mov ecx, dword [ebp + 8]
push ecx
call fcn.00425301
add esp, 4
mov eax, dword [ebp - 0x3050]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523d1e
mov esp, ebp
pop ebp
ret 0x24