Function at 0x42ff20
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
jmp 0x42ff2e
push eax
mov dword [ebp - 0x2c], esp
push eax
mov ebx, esp
sub esp, 0x200
mov esi, esp
push eax
mov dword [ebp - 0x38], esp
push eax
mov dword [ebp - 0x34], esp
push eax
mov dword [ebp - 0x30], esp
push eax
mov dword [ebp - 0x1c], esp
push eax
mov edi, esp
push eax
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x44], esp
push eax
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 0x40], esp
push eax
mov dword [ebp - 0x48], esp
mov dword [ebx], eax
xor eax, eax
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x200
call fcn.00450830
add esp, 0xc
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], eax
call fcn.00455ce0
add esp, 4
mov ecx, dword [ebx]
xor edx, edx
sub esp, 0x14
mov dword [esp], 0
mov ebx, esi
mov dword [esp + 4], esi
mov dword [esp + 8], 0x100
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004557df
add esp, 0x14
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov eax, dword [ebp - 0x30]
mov esi, eax
mov dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov dword [edi], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
lea eax, [0x468d4e]
xor ecx, ecx
sub esp, 0x14
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [edi], eax
mov dword [ebp - 0x24], edi
cmp dword [edi], 0
setne al
test al, 1
jne 0x430055
jmp 0x430081
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
xor ecx, ecx
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x50
mov dword [esp + 0xc], 0
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
mov edi, esi
je 0x4300d7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
lea ecx, str.POST
lea edx, str._api
xor esi, esi
sub esp, 0x1c
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
lea eax, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
mov ebx, dword [ebp - 0x2c]
je 0x430135
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
lea edx, str.actlife
xor esi, esi
sub esp, 0x1c
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
mov esi, dword [ebp - 0x18]
je 0x430166
jmp 0x430142
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
xor ecx, ecx
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, ecx
jmp 0x430166
mov dword [esi], 0
cmp dword [eax], 0
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
je 0x43025f
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
xor ecx, ecx
cmp eax, 0
je 0x4301a9
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
seta cl
test cl, 1
jne 0x4301b3
jmp 0x430254
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
xor edx, edx
sub edx, ecx
sub eax, edx
mov ecx, eax
and ecx, 1
shl ecx, 1
xor eax, 1
add eax, ecx
mov ecx, dword [edi]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00455adf
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, ecx
cmp dword [eax], 0
jne 0x4301f8
mov dword [esi], 3
jmp 0x43023a
mov eax, dword [eax]
mov dword [edi], eax
mov esi, dword [ebp - 0x40]
mov dword [esi], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [edi]
add ecx, dword [ebx]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
sub esp, 0x10
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov eax, dword [esi]
mov esi, dword [ebp - 0x28]
add eax, dword [ebx]
mov dword [ebx], eax
mov dword [esi], 0
mov eax, dword [esi]
test eax, eax
mov ebx, dword [ebp - 0x2c]
je 0x43024f
jmp 0x430245
sub eax, 3
je 0x430254
jmp 0x4303a3
jmp 0x430181
mov eax, dword [edi]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov byte [eax + ecx], 0
cmp dword [edi], 0
jne 0x430275
mov dword [ebx], 0
mov dword [esi], 1
jmp 0x430399
jmp 0x430277
mov eax, dword [edi]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x468eb7
call fcn.00455bf0
add esp, 8
cmp eax, 0
sete al
test al, 1
jne 0x43029b
jmp 0x4302ae
jmp 0x43029d
mov dword [ebx], 1
mov dword [esi], 1
jmp 0x430399
mov eax, dword [edi]
lea ecx, str.section
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00450ac0
add esp, 8
cmp eax, 0
je 0x430331
mov eax, dword [edi]
lea ecx, str.name_atok__value_
lea edx, [0x468ec2]
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0042fdd0
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
cmp dword [ecx], 0
sete al
test al, 1
jne 0x430302
jmp 0x430310
mov dword [ebx], 0
mov dword [esi], 1
jmp 0x43032d
mov dword [0x476584], 1
mov eax, dword [ecx]
mov dword [0x476580], eax
mov dword [ebx], 1
mov dword [esi], 1
jmp 0x43032f
jmp 0x430399
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x43034e
jmp 0x43033b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x43034e
jmp 0x430350
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
setne al
test al, 1
jne 0x43035f
jmp 0x430370
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x43038d
jmp 0x43037a
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x43038d
mov dword [ebx], 0
mov dword [esi], 1
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x4303a5
jmp 0x4303a7
int3