Function at 0x42eda0
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 0x42edae
push eax
mov dword [ebp - 0x1c], esp
push eax
mov ebx, esp
sub esp, 0x200
mov edi, esp
push eax
mov dword [ebp - 0x38], esp
push eax
mov dword [ebp - 0x34], esp
push eax
mov dword [ebp - 0x2c], esp
push eax
mov dword [ebp - 0x24], esp
push eax
mov esi, esp
push eax
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x44], esp
push eax
mov dword [ebp - 0x18], 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], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x200
call fcn.00450730
add esp, 0xc
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], eax
call fcn.00455be0
add esp, 4
mov ecx, dword [ebx]
xor edx, edx
sub esp, 0x14
mov dword [esp], 0
mov ebx, edi
mov dword [esp + 4], edi
mov dword [esp + 8], 0x100
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004556df
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 - 0x2c]
mov dword [eax], 0
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
mov dword [esi], 0
mov eax, dword [ebp - 0x28]
mov edi, eax
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 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
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 [esi], eax
mov dword [ebp - 0x30], esi
cmp dword [esi], 0
setne al
test al, 1
mov esi, edi
mov ecx, dword [ebp - 0x14]
jne 0x42eeda
jmp 0x42ef06
mov eax, dword [ebp - 0x30]
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 [esi], eax
jmp 0x42ef08
cmp dword [esi], 0
setne al
test al, 1
jne 0x42ef14
jmp 0x42ef62
mov eax, dword [esi]
lea ecx, str.POST
lea edx, str._api
xor esi, esi
mov esi, edi
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 - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
lea eax, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov eax, edx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x42efc8
jmp 0x42ef79
mov eax, dword [eax]
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 - 0x24]
mov dword [ecx], eax
mov esi, edi
mov ecx, dword [ebp - 0x14]
jmp 0x42efc8
mov edi, dword [ebp - 0x24]
cmp dword [edi], 0
mov eax, dword [ebp - 0x20]
je 0x42eff6
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 - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx], 0
cmp dword [edi], 0
mov edi, dword [ebp - 0x2c]
je 0x42f12a
mov dword [eax], 0
jmp 0x42f010
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
cmp eax, 0
setne cl
xor eax, eax
test cl, 1
mov ecx, dword [ebp - 0x14]
jne 0x42f037
jmp 0x42f03d
cmp dword [ecx], 0
seta al
test al, 1
jne 0x42f046
jmp 0x42f11b
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ecx, dword [ecx]
add eax, 0xd538cae8
mov edx, eax
and edx, ecx
shl edx, 1
xor eax, ecx
add eax, edx
mov ecx, eax
xor ecx, 0xd538cae8
and eax, 0x2ac73517
shl eax, 1
sub eax, ecx
sub eax, 0xffffffff
mov ecx, dword [edi]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004559df
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, ecx
cmp dword [eax], 0
jne 0x42f09d
mov eax, dword [ebp - 0x18]
mov dword [eax], 3
jmp 0x42f102
mov eax, dword [eax]
mov dword [edi], eax
mov esi, dword [ebp - 0x40]
mov dword [esi], 0
mov eax, dword [ebp - 0x14]
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 ecx, dword [esi]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebx]
xor eax, 0xffffffff
add eax, 0
add eax, 1
xor edx, edx
sub edx, ecx
xor ecx, ecx
sub ecx, edx
sub eax, ecx
mov ecx, 0x13f60228
sub ecx, eax
add ecx, 0xec09fdd8
mov dword [ebx], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x42f112
jmp 0x42f110
jmp 0x42f11b
jmp 0x42f114
jmp 0x42f116
jmp 0x42f00e
jmp 0x42f11d
mov eax, dword [edi]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov byte [eax + ecx], 0
jmp 0x42f12a
jmp 0x42f12c
cmp dword [edi], 0
sete al
test al, 1
jne 0x42f138
jmp 0x42f14f
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 1
jmp 0x42f277
mov eax, dword [edi]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x468ebb
call fcn.00455af0
add esp, 8
cmp eax, 0
jne 0x42f183
mov eax, dword [ebp - 0x1c]
mov dword [eax], 1
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 1
jmp 0x42f277
jmp 0x42f185
mov eax, dword [edi]
lea ecx, str.section
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004509c0
add esp, 8
cmp eax, 0
setne al
test al, 1
jne 0x42f1ab
jmp 0x42f21a
mov eax, dword [edi]
lea ecx, str.name_atok__value_
lea edx, [0x468ec6]
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0042ec40
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov eax, ecx
cmp dword [eax], 0
jne 0x42f1f1
jmp 0x42f1dd
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 1
jmp 0x42f218
jmp 0x42f1f3
mov dword [0x4765f4], 1
mov eax, dword [eax]
mov dword [0x4765f0], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 1
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 1
jmp 0x42f218
jmp 0x42f277
jmp 0x42f21c
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
setne al
test al, 1
jne 0x42f22b
jmp 0x42f23c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esi], 0
je 0x42f24f
mov eax, dword [esi]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x42f265
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 1
mov eax, dword [eax]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret