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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55013e
mov eax, dword fs:[0]
push eax
mov eax, 0x3048
call fcn.0052a450
mov eax, dword [0x5a8f00]
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.0041f7b0
mov eax, dword [0x5aaa1c]
mov ebx, 8
cmp dword [0x5aaa30], ebx
jae 0x41f347
mov eax, 0x5aaa1c
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 0x41f36f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x304c]
mov dword [edx], eax
jmp 0x41f76b
cmp dword [esi + 0x20], ebx
lea ecx, [esi + 0xc]
jb 0x41f379
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 0x41f3aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x304c]
mov dword [ecx], eax
jmp 0x41f76b
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 0x41f3e1
push 3
mov eax, 0x5829d4
jmp 0x41f3e8
push 4
mov eax, str.POST
call fcn.00408e90
lea eax, [esi + 0x28]
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x41f3fc
mov eax, dword [eax]
cmp dword [ebp - 0x3018], ecx
mov ecx, dword [ebp - 0x302c]
jae 0x41f410
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 0x41f46c
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 0x41f45d
mov edx, dword [ebp - 0x302c]
push edx
call fcn.0042465c
add esp, 4
mov dword [ebp - 0x301c], 0
jmp 0x41f75c
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.005282b0
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.00527444
add esp, 0x10
cmp dword [ebp + 0x28], 1
mov ebx, eax
jne 0x41f580
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 0x41f636
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 0x41f532
mov edx, dword [ebp - 0x3048]
push edx
call fcn.0042465c
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 0x41f566
mov ecx, dword [ebp - 0x302c]
push ecx
call fcn.0042465c
add esp, 4
xor edx, edx
mov dword [ebp - 0x3018], esi
mov dword [ebp - 0x301c], edi
mov word [ebp - 0x302c], dx
jmp 0x41f76b
push 2
mov eax, 0x581214
lea ecx, [ebp + 8]
call fcn.004042f0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x41f59b
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 0x41f634
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 0x41f5e4
mov edx, dword [ebp - 0x3048]
push edx
call fcn.0042465c
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 0x41f61a
mov ecx, dword [ebp - 0x302c]
push ecx
call fcn.0042465c
add esp, 4
xor edx, edx
mov dword [ebp - 0x3018], edi
mov dword [ebp - 0x301c], esi
mov word [ebp - 0x302c], dx
jmp 0x41f76b
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.005282b0
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 0x41f6f8
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 0x41f6a9
mov edx, dword [ebp - 0x3048]
push edx
call fcn.0042465c
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 0x41f566
mov ecx, dword [ebp - 0x302c]
push ecx
call fcn.0042465c
add esp, 4
xor edx, edx
mov dword [ebp - 0x3018], esi
mov dword [ebp - 0x301c], edi
mov word [ebp - 0x302c], dx
jmp 0x41f76b
mov esi, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x3050], 1
cmp dword [ebp - 0x3034], esi
jb 0x41f722
mov eax, dword [ebp - 0x3048]
push eax
call fcn.0042465c
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 0x41f756
mov edx, dword [ebp - 0x302c]
push edx
call fcn.0042465c
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 0x41f784
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042465c
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.00523079
mov esp, ebp
pop ebp
ret 0x24