Function at 0x419890
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474e40
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.0044d300
mov eax, dword [0x4d9770]
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 edi, ecx
mov dword [ebp - 0x1058], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1044], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x105c], eax
xor eax, eax
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x104c], 4
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push 5
push eax
push dword [0x5211f0]
call fcn.0045fbb9
push 5
lea eax, [ebp - 0x18]
push eax
push dword [0x5211f4]
call fcn.0045fbb9
push 5
lea eax, [ebp - 0x20]
push eax
push dword [0x5211f8]
call fcn.0045fbb9
add esp, 0x24
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmp dword [edi + 0x454], 0
lea eax, [ebp - 0x18]
lea ebx, [edi + 0x4af0]
push 0x4a735c
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x560890
push 0x55e82c
push 0x534618
push 0x516290
push 0x5162b8
jne 0x4199cf
push 0x52c8dc
push 0x4a7088
push 0x514998
push 0x539f44
push 0x515e90
push str.Mozilla_5.0___s__AppleWebKit_537.36_Chrome_84.0.4147.30_Edg__s__SecureBrowser__s__s__s_s__s__TS__s__UUID__s___s_DKM:_s._s._s__FP__s_
push ebx
call esi
lea eax, [edi + 0x1ce4]
push eax
push 0x4a7088
lea eax, [edi + 0x42f0]
push str._s__s
push eax
call esi
add esp, 0x50
jmp 0x419a01
push 0x4a7088
push 0x514998
push 0x539f44
push 0x515e90
push str.Mozilla_5.0___s__AppleWebKit_537.36_Chrome_84.0.4147.30_Edg__s__SecureBrowser__s__s_s__s__TS__s__UUID__s___s_DKM:_s._s._s__FP__s_
push ebx
call esi
push 0x4a7088
lea eax, [edi + 0x42f0]
push 0x478918
push eax
call esi
add esp, 0x48
push 0
push 0
push 0xffffffffffffffff
push 0x52f6e8
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea eax, [esi + esi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
mov dword [edi + 0xf360], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x419e7b
push dword [ebp - 0x1044]
lea eax, [ebp - 0x828]
push 0x800
push eax
call fcn.00453332
add esp, 0xc
mov dword [ebp - 0x1054], 0x800
lea eax, [ebp - 0x1054]
push 0x2000000
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
push 0
push 0x84000c00
push 0
push 0
lea eax, [ebp - 0x1028]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
mov dword [ebp - 0x1044], ebx
test ebx, ebx
je 0x419e58
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x104c]
push 0
push eax
lea eax, [ebp - 0x1048]
push eax
push 0x20000013
push ebx
call esi
test eax, eax
je 0x419e58
cmp dword [ebp - 0x104c], 4
jne 0x419e58
cmp dword [ebp - 0x1048], 0xc8
jne 0x419e58
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0
push 0x16
push ebx
call esi
mov eax, dword [ebp - 0x20]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push ecx
push eax
push 0x16
push ebx
call esi
test eax, eax
je 0x419c95
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
push 0xc00
push 1
mov byte [esi + eax], 0
call fcn.004534b1
add esp, 8
mov dword [edi + 0x37118], eax
mov ecx, edi
push 0
push 0
push 0x47c818
push str.X_ITS_Hash:
push esi
push 0xc00
push eax
call fcn.0041a6a0
mov edx, dword [edi + 0x37118]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419b90
sub ecx, dword [ebp - 0x18]
push 0xc00
push 1
mov byte [edx + ecx - 1], al
call fcn.004534b1
add esp, 8
mov dword [edi + 0x37128], eax
mov ecx, edi
push 0
push 0
push 0x47c818
push str.X_ITS_Content_Length:
push esi
push 0xc00
push eax
call fcn.0041a6a0
mov edx, dword [edi + 0x37128]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419be0
sub ecx, dword [ebp - 0x18]
push 0xc00
push 1
mov byte [edx + ecx - 1], al
call fcn.004534b1
add esp, 8
mov dword [edi + 0x3712c], eax
mov ecx, edi
push 0
push 0
push 0x47c818
push str.x_public_keys_size:
push esi
push 0xc00
push eax
call fcn.0041a6a0
mov edx, dword [edi + 0x3712c]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419c30
sub ecx, dword [ebp - 0x18]
push 0xc00
push 1
mov byte [edx + ecx - 1], al
call fcn.004534b1
add esp, 8
mov dword [edi + 0x37f20], eax
mov ecx, edi
push 0
push 0
push 0x47c818
push str.x_multi_public_keys_size:
push esi
push 0xc00
push eax
call fcn.0041a6a0
mov edx, dword [edi + 0x37f20]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419c80
sub ecx, dword [ebp - 0x18]
push esi
mov byte [edx + ecx - 1], al
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [edi + 0x37128]
call fcn.0045f0c2
push dword [edi + 0x3712c]
mov dword [edi + 0x37130], eax
call fcn.0045f0c2
push dword [edi + 0x37f20]
mov dword [edi + 0x37120], eax
call fcn.0045f0c2
mov dword [edi + 0x37f24], eax
add esp, 0xc
mov eax, dword [edi + 0x37130]
test eax, eax
jne 0x419ce4
mov dword [edi + 0x37130], 0x18c00
mov eax, 0x18c00
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [edi + 0x37124], eax
mov dword [eax], 0
lea eax, [ebp - 0x1050]
mov esi, dword [edi + 0x37124]
push eax
push 0x800
push esi
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
call ebx
cmp eax, 1
jne 0x419d49
mov edi, dword [ebp - 0x1044]
mov eax, dword [ebp - 0x1050]
test eax, eax
je 0x419d43
add esi, eax
lea eax, [ebp - 0x1050]
push eax
push 0x800
push esi
push edi
call ebx
cmp eax, 1
je 0x419d22
mov edi, dword [ebp - 0x1058]
mov byte [esi], 0
mov edx, dword [edi + 0x37124]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419d57
push 0
push 0x478b6c
sub ecx, esi
push ecx
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [edi + 0x3711c], eax
test eax, eax
je 0x419e37
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [edi + 0x37124]
mov esi, eax
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419da1
push dword [edi + 0x3711c]
sub ecx, ebx
push esi
push ecx
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [edi + 0x37124]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebx
mov eax, dword [edi + 0x3711c]
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419de0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, esi
mov edx, eax
mov dword [edi + 0x37110], edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419e10
sub ecx, edi
sar ecx, 1
push esi
lea eax, [ecx + 1]
push eax
push edx
call fcn.0045e4b4
add esp, 0xc
push esi
call ebx
push str.Downloading_successful
jmp 0x419e3c
push str.Downloading_failed
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
push dword [ebp - 0x1044]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1048]
push 0x47c8a4
push 5
push dword [ebp - 0x105c]
call fcn.004085e0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x419e7d
xor eax, eax
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.0044d06d
mov esp, ebp
pop ebp
ret 8