Function at 0x434d10
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4742
mov eax, dword fs:[0]
push eax
mov eax, 0x30dec
call fcn.004756c0
mov eax, dword [0x52c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30df0], ecx
sub esp, 0x18
mov dword [ebp - 0x30df4], 0
mov ecx, esp
mov dword [ebp - 0x30dd4], esp
mov esi, 0x1bb
push 1
push 0x512bf8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00408530
sub esp, 0x18
mov dword [ebp - 4], 0
mov eax, dword [0x533960]
mov ecx, esp
add eax, 0x18c
push eax
call fcn.00407ac0
lea ecx, [ebp - 0x30de0]
mov dword [ebp - 4], 0xffffffff
call fcn.0040d0d0
add esp, 0x30
mov dword [ebp - 4], 1
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x30ddc]
mov edi, dword [ebp - 0x30de0]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x434df1
cmp dword [edi + 0x2c], 0x10
lea eax, [edi + 0x18]
jb 0x434de6
mov eax, dword [eax]
push eax
call fcn.004cf164
add esp, 4
mov esi, eax
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__X11__Linux_x86_64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_88.0.4324.96_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x30de0]
mov dword [ebp - 0x30dec], eax
cmp dword [ecx + 0x14], 0x10
jb 0x434e18
mov ecx, dword [ecx]
push 0
push 0
push 3
push 0
push 0
push esi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
mov dword [ebp - 0x30d90], 0
mov dword [ebp - 0x30de4], ebx
mov dword [ebp - 0x30d8c], 0xf
mov byte [ebp - 0x30da0], 0
mov byte [ebp - 4], 2
mov edi, dword [0x533960]
cmp dword [edi + 0x44], 0x10
lea ecx, [edi + 0x30]
jb 0x434e64
mov ecx, dword [edi + 0x30]
mov esi, dword [edi + 0x40]
push esi
push ecx
cmp esi, 0xf
ja 0x434e8d
lea eax, [ebp - 0x30da0]
mov dword [ebp - 0x30d90], esi
push eax
call fcn.004c8d50
add esp, 0xc
mov byte [ebp + esi - 0x30da0], 0
jmp 0x434eac
mov byte [ebp - 0x30dd4], 0
lea ecx, [ebp - 0x30da0]
push dword [ebp - 0x30dd4]
push esi
call fcn.004098a0
mov edi, dword [0x533960]
mov edx, dword [ebp - 0x30d8c]
mov eax, edx
mov ecx, dword [ebp - 0x30d90]
sub eax, ecx
push 8
push str._spa_ws_
cmp eax, 8
jb 0x434ef2
cmp edx, 0x10
lea esi, [ebp - 0x30da0]
lea eax, [ecx + 8]
cmovae esi, dword [ebp - 0x30da0]
add esi, ecx
mov dword [ebp - 0x30d90], eax
push esi
call fcn.004c8d50
add esp, 0xc
mov byte [esi + 8], 0
jmp 0x434f12
mov byte [ebp - 0x30dd4], 0
lea ecx, [ebp - 0x30da0]
push dword [ebp - 0x30dd4]
push 8
call fcn.004098a0
mov edi, dword [0x533960]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x434f1c
mov ecx, dword [edi]
mov esi, dword [ebp - 0x30d8c]
mov eax, esi
mov edi, dword [edi + 0x10]
mov edx, dword [ebp - 0x30d90]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x434f60
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x30d90], eax
lea eax, [ebp - 0x30da0]
cmovae eax, dword [ebp - 0x30da0]
lea esi, [eax + edx]
push esi
call fcn.004c8d50
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x434f79
mov byte [ebp - 0x30dd4], 0
lea ecx, [ebp - 0x30da0]
push dword [ebp - 0x30dd4]
push edi
call fcn.004098a0
mov edx, dword [ebp - 0x30d8c]
mov eax, edx
mov ecx, dword [ebp - 0x30d90]
sub eax, ecx
push 9
push str._wsjs.php
cmp eax, 9
jb 0x434fbf
cmp edx, 0x10
lea esi, [ebp - 0x30da0]
lea eax, [ecx + 9]
cmovae esi, dword [ebp - 0x30da0]
add esi, ecx
mov dword [ebp - 0x30d90], eax
push esi
call fcn.004c8d50
add esp, 0xc
mov byte [esi + 9], 0
jmp 0x434fd9
mov byte [ebp - 0x30dd4], 0
lea ecx, [ebp - 0x30da0]
push dword [ebp - 0x30dd4]
push 9
call fcn.004098a0
cmp dword [ebp - 0x30d8c], 0x10
lea eax, [ebp - 0x30da0]
push 0
cmovae eax, dword [ebp - 0x30da0]
push 0x80803000
push 0x52cee0
push 0
push str.HTTP_1.0
push eax
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0x20000000
push 0xffffffffffffffff
mov edi, eax
push str.Content_Type:_application_json_r_n
push edi
mov dword [ebp - 0x30dd4], edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov esi, dword [ebp - 0x30df0]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435033
sub ecx, edx
push ecx
push esi
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x48]
push 0x5171e4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x30de8], 0
lea eax, [ebp - 0x30df8]
mov dword [ebp - 0x30df8], 4
push 0
push eax
lea eax, [ebp - 0x30de8]
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push 0x30d40
lea eax, [ebp - 0x30d88]
push 0
push eax
call fcn.004c92d0
mov ebx, dword [ebp - 0x30de8]
lea esi, [ebp - 0x13]
add esp, 0xc
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x4350b1
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x30da8], edx
mov byte [ebp - 0x30db8], dl
mov eax, 0xf
mov dword [ebp - 0x30da4], eax
cmp esi, ecx
je 0x435108
mov eax, ecx
lea ecx, [ebp - 0x30db8]
sub eax, esi
push eax
push esi
call fcn.00408530
mov eax, dword [ebp - 0x30da4]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x30db8]
cmp eax, 0x10
mov dword [ebp - 0x30dc0], 0
mov dword [ebp - 0x30dbc], 0xf
cmovae edx, dword [ebp - 0x30db8]
mov ecx, edx
mov byte [ebp - 0x30dd0], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435140
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30dd0]
call fcn.00408530
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x30da4]
cmp edx, 0x10
jb 0x435194
mov ecx, dword [ebp - 0x30db8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43518a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push edx
push ecx
call fcn.004748b1
add esp, 8
mov eax, dword [ebp - 0x30de8]
test eax, eax
jne 0x4352ba
push dword [ebp - 0x30dec]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x30de4]
call esi
push edi
call esi
mov edx, dword [ebp - 0x30dbc]
cmp edx, 0x10
jb 0x4351f5
mov ecx, dword [ebp - 0x30dd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4351eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push edx
push ecx
call fcn.004748b1
add esp, 8
mov edx, dword [ebp - 0x30d8c]
cmp edx, 0x10
jb 0x43522f
mov ecx, dword [ebp - 0x30da0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x435225
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push edx
push ecx
call fcn.004748b1
add esp, 8
mov ecx, dword [ebp - 0x30de0]
mov dword [ebp - 0x30d90], 0
mov dword [ebp - 0x30d8c], 0xf
mov byte [ebp - 0x30da0], 0
test ecx, ecx
je 0x4352b0
mov edx, dword [ebp - 0x30ddc]
push ecx
call fcn.00440f40
mov ecx, dword [ebp - 0x30dd8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x30de0]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4352a6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push ecx
push esi
call fcn.004748b1
add esp, 8
mov eax, str._status_:_retorno_:_NONET___msg_:_SEM_INTERNET_
jmp 0x4355db
cmp eax, 0xc8
je 0x4353dd
push dword [ebp - 0x30dec]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x30de4]
call esi
push edi
call esi
mov edx, dword [ebp - 0x30dbc]
cmp edx, 0x10
jb 0x435318
mov ecx, dword [ebp - 0x30dd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43530e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push edx
push ecx
call fcn.004748b1
add esp, 8
mov edx, dword [ebp - 0x30d8c]
cmp edx, 0x10
jb 0x435352
mov ecx, dword [ebp - 0x30da0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x435348
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push edx
push ecx
call fcn.004748b1
add esp, 8
mov ecx, dword [ebp - 0x30de0]
mov dword [ebp - 0x30d90], 0
mov dword [ebp - 0x30d8c], 0xf
mov byte [ebp - 0x30da0], 0
test ecx, ecx
je 0x4353d3
mov edx, dword [ebp - 0x30ddc]
push ecx
call fcn.00440f40
mov ecx, dword [ebp - 0x30dd8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x30de0]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4353c9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push ecx
push esi
call fcn.004748b1
add esp, 8
mov eax, str._status_:_retorno_:_ERR___msg_:_FALHA_DE_COMUNICACAO_
jmp 0x4355db
lea eax, [ebp - 0x30df4]
push eax
push 0x30d40
lea eax, [ebp - 0x30d88]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4354c5
mov eax, dword [ebp - 0x30df4]
cmp eax, 0x30d40
jae 0x4355fc
lea ecx, [ebp - 0x30d88]
mov byte [ebp + eax - 0x30d88], 0
mov dword [ebp - 0x30da8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30da4], 0xf
mov byte [ebp - 0x30db8], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435440
sub ecx, edx
lea eax, [ebp - 0x30d88]
push ecx
push eax
lea ecx, [ebp - 0x30db8]
call fcn.00408530
lea ecx, [ebp - 0x30db8]
mov byte [ebp - 4], 6
call fcn.0040d440
cmp dword [eax + 0x10], 0
jne 0x435477
xor eax, eax
mov al, 1
jmp 0x435479
xor al, al
mov edx, dword [ebp - 0x30da4]
lea edi, [ebp - 0x30d88]
test al, al
mov ecx, str._status_:_retorno_:_ERR___msg_:_ERRO_DESCONHECIDO_
cmovne edi, ecx
cmp edx, 0x10
jb 0x4354ca
mov ecx, dword [ebp - 0x30db8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4354b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4355f7
push edx
push ecx
call fcn.004748b1
add esp, 8
jmp 0x4354ca
mov edi, str._status_:_retorno_:_ERR___msg_:_ERRO_DESCONHECIDO_
push dword [ebp - 0x30dec]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x30de4]
call esi
push dword [ebp - 0x30dd4]
call esi
mov edx, dword [ebp - 0x30dbc]
cmp edx, 0x10
jb 0x435522
mov ecx, dword [ebp - 0x30dd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x435518
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push edx
push ecx
call fcn.004748b1
add esp, 8
mov edx, dword [ebp - 0x30d8c]
cmp edx, 0x10
jb 0x43555c
mov ecx, dword [ebp - 0x30da0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x435552
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push edx
push ecx
call fcn.004748b1
add esp, 8
mov ecx, dword [ebp - 0x30de0]
mov dword [ebp - 0x30d90], 0
mov dword [ebp - 0x30d8c], 0xf
mov byte [ebp - 0x30da0], 0
test ecx, ecx
je 0x4355d9
mov edx, dword [ebp - 0x30ddc]
push ecx
call fcn.00440f40
mov ecx, dword [ebp - 0x30dd8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x30de0]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4355cf
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435601
push ecx
push esi
call fcn.004748b1
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474416
mov esp, ebp
pop ebp
ret
call fcn.004d274f
call fcn.00474a08
call fcn.004d274f
int3