Function at 0x43e140
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Send data
Send http request
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00455160
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00455160
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.00455160
add esp, 0x24
xor esi, esi
push esi
push esi
push esi
push esi
push str.HttpPostData
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [ebp - 0xa28], edi
test edi, edi
jne 0x43e1d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x43e42d
push ebx
push 0x3c
lea eax, [ebp - 0xa64]
push 0
push eax
call fcn.00455160
add esp, 0xc
mov dword [ebp - 0xa64], 0x3c
cmp dword [ebp + 0x34], 8
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xa54], eax
lea ecx, [ebp - 0xa64]
lea eax, [ebp - 0x414]
mov dword [ebp - 0xa50], 0x104
mov dword [ebp - 0xa38], eax
lea eax, [ebp - 0x61c]
push ecx
mov dword [ebp - 0xa30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push dword [ebp + 0x30]
mov dword [ebp - 0xa34], 0x104
push eax
mov dword [ebp - 0xa2c], 0x104
mov dword [ebp - 0xa5c], 0xffffffff
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x43e416
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e270
sub ecx, edx
sar ecx, 1
je 0x43e416
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e290
sub ecx, edx
sar ecx, 1
je 0x43e416
mov eax, dword [ebp - 0xa4c]
xor ecx, ecx
cmp cx, ax
jae 0x43e416
push ecx
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
test ebx, ebx
je 0x43e416
push 0x100
push 0
push 0
push 0
lea eax, [ebp - 0x414]
push eax
push str.POST
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
jne 0x43e30a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, eax
push ebx
call edi
jmp 0x43e424
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x43e33a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, eax
call edi
push ebx
call edi
jmp 0x43e424
push 0
push dword [ebp + 0x18]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x43e36b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, eax
call edi
push ebx
call edi
jmp 0x43e424
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0xa20]
push ecx
push dword [ebp + 0x18]
lea eax, [ebp + 8]
mov dword [ebp - 0xa20], esi
cmovae eax, dword [ebp + 8]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x43e3a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, eax
call edi
push ebx
call edi
jmp 0x43e424
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x43e3cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, eax
call edi
push ebx
call edi
jmp 0x43e424
push 0x3ff
lea eax, [ebp - 0xa1b]
mov byte [ebp - 0xa1c], 0
push 0
push eax
call fcn.00455160
add esp, 0xc
mov dword [ebp - 0xa24], esi
lea eax, [ebp - 0xa24]
push eax
push 0x400
lea eax, [ebp - 0xa1c]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push ebx
call edi
jmp 0x43e424
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, eax
push dword [ebp - 0xa28]
call edi
pop ebx
cmp dword [ebp + 0x1c], 0x10
jb 0x43e43e
push dword [ebp + 8]
call fcn.00406890
add esp, 4
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x43e461
push dword [ebp + 0x20]
call fcn.00406890
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00453c72
mov esp, ebp
pop ebp
ret