Function at 0x42ce00
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.0044e7d0
mov eax, dword [esp + 0x260]
mov dword [esp], eax
call fcn.00453c80
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.0045377f
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, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_119.0.0.0_Safari_537.36
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 0x42cf0d
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 0x42cf0f
cmp dword [esp + 0x2c], 0
setne al
test al, 1
jne 0x42cf1d
jmp 0x42cf67
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 0x42cfc0
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 0x42cfe9
jmp 0x42cfc9
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
jmp 0x42cfe9
mov dword [esp + 0x38], 0
cmp dword [esp + 0x3c], 0
je 0x42d0f0
mov dword [esp + 0x28], 0
jmp 0x42d006
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 0x42d02d
jmp 0x42d035
cmp dword [esp + 0x38], 0
seta al
test al, 1
jne 0x42d03e
jmp 0x42d0e0
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x38]
sub eax, 0xdfbf2e8d
add eax, 1
add eax, 0xdfbf2e8d
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00453a7f
mov dword [esp + 0x48], eax
cmp dword [esp + 0x48], 0
setne al
test al, 1
jne 0x42d07f
jmp 0x42d075
mov dword [esp + 0x24], 3
jmp 0x42d0cf
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]
add eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42d0db
jmp 0x42d0d9
jmp 0x42d0e0
jmp 0x42d004
jmp 0x42d0e2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov byte [eax + ecx], 0
jmp 0x42d0f0
jmp 0x42d0f2
cmp dword [esp + 0x20], 0
sete al
test al, 1
jne 0x42d100
jmp 0x42d115
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 1
jmp 0x42d23b
jmp 0x42d117
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x466eb7
call fcn.00453b90
cmp eax, 0
sete al
test al, 1
jne 0x42d137
jmp 0x42d14c
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], 1
jmp 0x42d23b
jmp 0x42d14e
mov eax, dword [esp + 0x20]
lea ecx, str.section
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0044ea60
cmp eax, 0
setne al
test al, 1
jne 0x42d170
jmp 0x42d1d9
mov eax, dword [esp + 0x20]
lea ecx, str.name_atok__value_
lea edx, [0x466ec2]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0042cca0
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
sete al
test al, 1
jne 0x42d1a2
jmp 0x42d1b4
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 1
jmp 0x42d1d7
mov dword [0x474604], 1
mov eax, dword [esp + 0x40]
mov dword [0x474600], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x24], 1
jmp 0x42d23b
cmp dword [esp + 0x1c], 0
je 0x42d1f4
jmp 0x42d1e2
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
sub esp, 4
jmp 0x42d1f4
cmp dword [esp + 0x2c], 0
je 0x42d20b
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
sub esp, 4
jmp 0x42d20d
cmp dword [esp + 0x30], 0
setne al
test al, 1
jne 0x42d21b
jmp 0x42d22b
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
sub esp, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x34]
add esp, 0x258
pop esi
ret