Function at 0x4304f0
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.00450c00
mov eax, dword [esp + 0x260]
mov dword [esp], eax
call fcn.004560b0
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.00455baf
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, [0x468d4e]
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 0x4305fd
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
cmp dword [esp + 0x2c], 0
je 0x43064e
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
setne al
test al, 1
jne 0x430666
jmp 0x4306ae
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 0x4306d3
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 0x4306ec
jmp 0x4307e2
mov dword [esp + 0x28], 0
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
xor ecx, ecx
cmp eax, 0
je 0x43071b
cmp dword [esp + 0x38], 0
seta cl
test cl, 1
jne 0x430725
jmp 0x4307d2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
xor edx, edx
sub edx, ecx
sub eax, edx
xor ecx, ecx
sub ecx, eax
add ecx, 0xffffffff
xor eax, eax
sub eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00455eaf
mov dword [esp + 0x48], eax
cmp dword [esp + 0x48], 0
jne 0x430763
mov dword [esp + 0x24], 3
jmp 0x4307c1
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]
add ecx, 0x413c3be8
add ecx, eax
sub ecx, 0x413c3be8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4307cd
jmp 0x4307cb
jmp 0x4307d2
jmp 0x4306f4
jmp 0x4307d4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov byte [eax + ecx], 0
jmp 0x4307e2
cmp dword [esp + 0x20], 0
jne 0x4307fe
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 1
jmp 0x430911
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x468eb7
call fcn.00455fc0
cmp eax, 0
jne 0x43082e
jmp 0x430819
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], 1
jmp 0x430911
mov eax, dword [esp + 0x20]
lea ecx, str.section
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00450e90
cmp eax, 0
je 0x4308b4
mov eax, dword [esp + 0x20]
lea ecx, str.name_atok__value_
lea edx, [0x468ec2]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00430480
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
sete al
test al, 1
jne 0x43087b
jmp 0x43088d
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 1
jmp 0x4308b0
mov dword [0x476594], 1
mov eax, dword [esp + 0x40]
mov dword [0x476590], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], 1
jmp 0x4308b2
jmp 0x430911
cmp dword [esp + 0x1c], 0
je 0x4308cf
jmp 0x4308bd
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
sub esp, 4
jmp 0x4308cf
cmp dword [esp + 0x2c], 0
je 0x4308e6
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 0x430901
jmp 0x4308ef
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
sub esp, 4
jmp 0x430901
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x34]
add esp, 0x258
pop esi
ret