Function at 0x414a40
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 0x46c870
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.00447f50
mov eax, dword [0x4ce6a8]
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 ebx, ecx
mov dword [ebp - 0x1058], ebx
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 [0x5183c4]
call fcn.004580f7
push 5
lea eax, [ebp - 0x18]
push eax
push dword [0x518fc8]
call fcn.004580f7
push 5
lea eax, [ebp - 0x20]
push eax
push dword [0x518fcc]
call fcn.004580f7
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [ebp - 0x18]
add esp, 0x24
lea ecx, [ebx + 0xdf3c]
cmp dword [ebx + 0x454], 0
lea eax, [ebx + 0x4adc]
lea edi, [ebx + 0x42dc]
push edx
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x28]
push edx
push 0x553478
push 0x551414
push 0x528a04
push 0x50e068
push 0x50e090
jne 0x414b7e
lea edi, [ebx + 0x1cd0]
push edi
push 0x49c094
push 0x50c770
push ecx
push 0x50dc68
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
push eax
call esi
push edi
push 0x49c094
lea eax, [ebx + 0x42dc]
push 0x4715d0
push eax
call esi
add esp, 0x4c
jmp 0x414ba6
push 0x49c094
push 0x50c770
push ecx
push 0x50dc68
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
push eax
call esi
push 0x49c094
push 0x470908
push edi
call esi
add esp, 0x44
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push 0x523ad4
push 0
push 0xfde9
call edi
mov esi, eax
lea eax, [esi + esi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push eax
push 0xffffffffffffffff
lea esi, [ebx + 0x4adc]
mov dword [ebx + 0xdf50], eax
push esi
push 0
push 0xfde9
call edi
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x41501f
push dword [ebp - 0x1044]
lea eax, [ebp - 0x828]
push 0x800
push eax
call fcn.0044db48
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 edi, eax
mov dword [ebp - 0x1044], edi
test edi, edi
je 0x414ffc
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 edi
call esi
test eax, eax
je 0x414ffc
cmp dword [ebp - 0x104c], 4
jne 0x414ffc
cmp dword [ebp - 0x1048], 0xc8
jne 0x414ffc
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0
push 0x16
push edi
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 edi
call esi
test eax, eax
je 0x414e35
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
push 0xc00
push 1
mov byte [esi + eax], 0
call fcn.0044dcc9
add esp, 8
mov dword [ebx + 0x34568], eax
mov ecx, ebx
push 0
push 0
push 0x4743f0
push 0x4743f4
push esi
push 0xc00
push eax
call fcn.00415800
mov edx, dword [ebx + 0x34568]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414d32
sub ecx, dword [ebp - 0x18]
push 0xc00
push 1
mov byte [edx + ecx - 1], al
call fcn.0044dcc9
add esp, 8
mov dword [ebx + 0x34578], eax
mov ecx, ebx
push 0
push 0
push 0x4743f0
push 0x474404
push esi
push 0xc00
push eax
call fcn.00415800
mov edx, dword [ebx + 0x34578]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414d80
sub ecx, dword [ebp - 0x18]
push 0xc00
push 1
mov byte [edx + ecx - 1], al
call fcn.0044dcc9
add esp, 8
mov dword [ebx + 0x3457c], eax
mov ecx, ebx
push 0
push 0
push 0x4743f0
push 0x47441c
push esi
push 0xc00
push eax
call fcn.00415800
mov edx, dword [ebx + 0x3457c]
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 0x414dd0
sub ecx, dword [ebp - 0x18]
push 0xc00
push 1
mov byte [edx + ecx - 1], al
call fcn.0044dcc9
add esp, 8
mov dword [ebx + 0x35370], eax
mov ecx, ebx
push 0
push 0
push 0x4743f0
push 0x474434
push esi
push 0xc00
push eax
call fcn.00415800
mov edx, dword [ebx + 0x35370]
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 0x414e20
sub ecx, dword [ebp - 0x18]
push esi
mov byte [edx + ecx - 1], al
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebx + 0x34578]
call fcn.004577c4
push dword [ebx + 0x3457c]
mov dword [ebx + 0x34580], eax
call fcn.004577c4
push dword [ebx + 0x35370]
mov dword [ebx + 0x34570], eax
call fcn.004577c4
mov dword [ebx + 0x35374], eax
add esp, 0xc
mov eax, dword [ebx + 0x34580]
test eax, eax
jne 0x414e84
mov dword [ebx + 0x34580], 0x18c00
mov eax, 0x18c00
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 0x34574], eax
mov dword [eax], 0
lea eax, [ebp - 0x1050]
mov esi, dword [ebx + 0x34574]
push eax
push 0x800
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
call edi
cmp eax, 1
jne 0x414ee9
mov ebx, dword [ebp - 0x1044]
mov eax, dword [ebp - 0x1050]
test eax, eax
je 0x414ee3
add esi, eax
lea eax, [ebp - 0x1050]
push eax
push 0x800
push esi
push ebx
call edi
cmp eax, 1
je 0x414ec2
mov ebx, dword [ebp - 0x1058]
mov byte [esi], 0
mov edx, dword [ebx + 0x34574]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414ef7
push 0
push 0x470a68
sub ecx, esi
push ecx
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebx + 0x3456c], eax
test eax, eax
je 0x414fdb
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebx + 0x34574]
mov esi, eax
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414f41
push dword [ebx + 0x3456c]
sub ecx, edi
push esi
push ecx
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebx + 0x34574]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx + 0x3456c]
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414f80
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 [ebx + 0x34560], edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414fb0
sub ecx, edi
sar ecx, 1
push esi
lea eax, [ecx + 1]
push eax
push edx
call fcn.00456be4
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x474450
jmp 0x414fe0
push 0x474468
push 1
push dword [0x50c768]
call fcn.00444090
add esp, 0xc
push dword [ebp - 0x1044]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1048]
push 0x47447c
push 5
push dword [ebp - 0x105c]
call fcn.00408300
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x415021
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.00447cbd
mov esp, ebp
pop ebp
ret 8