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

Disassembly:
push esi
sub esp, 0x258
mov eax, dword [esp + 0x260]
lea eax, [esp + 0x58]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x200
call fcn.00450760
mov eax, dword [esp + 0x260]
mov dword [esp], eax
call fcn.00455c10
mov ecx, dword [esp + 0x260]
lea edx, [esp + 0x58]
xor esi, esi
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], 0x100
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0045570f
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
lea eax, [0x468d52]
xor ecx, ecx
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]
sub esp, 0x14
mov dword [esp + 0x30], eax
cmp dword [esp + 0x30], 0
je 0x42ed71
jmp 0x42ed41
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x30]
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x50
mov dword [esp + 0xc], 0
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
sub esp, 0x10
mov dword [esp + 0x2c], eax
jmp 0x42ed71
cmp dword [esp + 0x2c], 0
je 0x42edc2
mov eax, dword [esp + 0x2c]
lea ecx, str.POST
lea edx, str._api
xor esi, esi
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]
sub esp, 0x1c
mov dword [esp + 0x1c], eax
lea eax, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x1c], 0
je 0x42ee1b
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
lea edx, str.actlife
xor esi, esi
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]
sub esp, 0x1c
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x3c], 0
je 0x42ee40
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
sub esp, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 0
cmp dword [esp + 0x3c], 0
setne al
test al, 1
jne 0x42ee59
jmp 0x42ef57
mov dword [esp + 0x28], 0
jmp 0x42ee63
jmp 0x42ee65
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
sub esp, 8
cmp eax, 0
setne cl
xor eax, eax
test cl, 1
jne 0x42ee8c
jmp 0x42ee94
cmp dword [esp + 0x38], 0
seta al
test al, 1
jne 0x42ee9d
jmp 0x42ef4b
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x38]
add eax, 1
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00455a0f
mov dword [esp + 0x48], eax
cmp dword [esp + 0x48], 0
jne 0x42eecd
mov dword [esp + 0x24], 3
jmp 0x42ef2e
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x44]
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]
sub esp, 0x10
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov edx, ecx
and edx, eax
shl edx, 1
xor ecx, eax
mov eax, ecx
and eax, edx
or ecx, edx
add eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42ef42
jmp 0x42ef38
sub eax, 3
je 0x42ef4b
jmp 0x42f0a2
jmp 0x42ef44
jmp 0x42ef46
jmp 0x42ee63
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov byte [eax + ecx], 0
cmp dword [esp + 0x20], 0
jne 0x42ef75
jmp 0x42ef60
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 1
jmp 0x42f096
jmp 0x42ef77
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x468ebb
call fcn.00455b20
cmp eax, 0
sete al
test al, 1
jne 0x42ef97
jmp 0x42efac
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], 1
jmp 0x42f096
jmp 0x42efae
mov eax, dword [esp + 0x20]
lea ecx, str.section
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004509f0
cmp eax, 0
setne al
test al, 1
jne 0x42efd0
jmp 0x42f03d
mov eax, dword [esp + 0x20]
lea ecx, str.name_atok__value_
lea edx, [0x468ec6]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0042eb40
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
sete al
test al, 1
jne 0x42f002
jmp 0x42f014
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 1
jmp 0x42f03b
jmp 0x42f016
mov dword [0x4765f4], 1
mov eax, dword [esp + 0x40]
mov dword [0x4765f0], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], 1
jmp 0x42f03b
jmp 0x42f096
cmp dword [esp + 0x1c], 0
je 0x42f054
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
sub esp, 4
cmp dword [esp + 0x2c], 0
je 0x42f06b
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
sub esp, 4
cmp dword [esp + 0x30], 0
je 0x42f086
jmp 0x42f074
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
sub esp, 4
jmp 0x42f086
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x34]
add esp, 0x258
pop esi
ret
jmp 0x42f0a4
jmp 0x42f0a6
int3