Function at 0x4bce80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ea06
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x140
push esi
push edi
mov eax, dword [0x577018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 4], 2
call fcn.0040bd00
mov dword [edi], vtable.NeatDownloadEngine.0
mov dword [edi + 0x54], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0xf
mov byte [edi + 0x54], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
lea eax, [edi + 0x84]
xorps xmm0, xmm0
mov dword [eax], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0xf
mov dword [ebp - 0x20], eax
movups xmmword [edi + 0x88], xmm0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0xf
movups xmmword [edi + 0xb0], xmm0
mov byte [ebp - 4], 7
lea eax, [edi + 0xf8]
lea ecx, [ebx + 0x10]
mov dword [edi + 0xd8], 2
push ecx
mov ecx, eax
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 4
mov dword [edi + 0xe8], 4
mov dword [edi + 0xec], 0
mov dword [ebp - 0x40], eax
call fcn.004bd890
call fcn.00516ae0
push 0
push 0x2710
push edx
push eax
call fcn.0053aaa0
mov dword [edi + 0x4d8], eax
xor eax, eax
mov dword [edi + 0x4dc], edx
mov dword [edi + 0x4ec], 0
mov dword [edi + 0x4fc], 0
mov dword [edi + 0x500], 0xf
mov dword [edi + 0x508], 0
mov dword [edi + 0x518], 0
mov dword [edi + 0x51c], 0xf
mov dword [edi + 0x520], 0
mov dword [edi + 0x530], 0
mov dword [edi + 0x534], 0xf
mov byte [edi + 0x4e8], 0
mov word [edi + 0x504], ax
mov byte [ebp - 4], 9
lea ecx, [edi + 0x540]
mov byte [edi + 0x53c], 1
push eax
mov dword [ecx], eax
push 0x559640
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00408270
mov al, byte [ebx + 0xc]
mov byte [ebp - 4], 0xa
mov dword [edi + 0x558], 0
sub esp, 0x18
mov byte [edi + 0x55d], al
mov eax, dword [ebx + 8]
mov ecx, esp
mov dword [edi + 0x564], eax
push 0
push 0x559640
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00408270
lea eax, [edi + 0x570]
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.004084d0
mov dword [edi + 0x5a8], 0
mov dword [edi + 0x5ac], 0
mov dword [edi + 0x5b0], 0
mov byte [ebp - 4], 0xc
mov eax, dword [edi + 0x564]
mov word [edi + 0x5b5], 0
test eax, eax
je 0x4bd10b
mov eax, dword [eax + 4]
mov dword [edi + 0x560], eax
mov eax, dword [0x57ac2c]
inc eax
mov dword [0x57ac2c], eax
cmp eax, 1
jne 0x4bd12f
push 0
push eax
push 0x412
push dword [0x57ac4c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x528
call fcn.00517390
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x528
push 0
push esi
mov byte [ebp - 4], 0xd
call fcn.00519680
add esp, 0xc
mov ecx, esi
push 1
call fcn.004c8e90
mov byte [ebp - 4], 0xe
cmp dword [ebx + 0x3f4], 8
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [edi + 0x568], eax
lea eax, [ebx + 0x3e0]
cmovae eax, dword [ebx + 0x3e0]
push eax
call esi
cmp eax, 0xffffffff
je 0x4bd18e
test al, 0x10
jne 0x4bd199
lea ecx, [ebx + 0x3e0]
call fcn.00408b60
mov dword [ebp - 4], 0xc
jmp 0x4bd1c1
cmp dword [ebx + 0x3f4], 8
lea eax, [ebx + 0x3e0]
cmovae eax, dword [ebx + 0x3e0]
push eax
call esi
cmp eax, 0xffffffff
je 0x4bd807
test al, 0x10
je 0x4bd807
mov ecx, dword [ebx + 0x3f0]
mov eax, bind
sub eax, ecx
cmp eax, 0xb
jb 0x4bd843
cmp dword [ebx + 0x3f4], 8
lea eax, [ebx + 0x3e0]
push 0xb
cmovae eax, dword [ebx + 0x3e0]
push 0x56045c
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
call fcn.004097f0
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x5c]
mov ecx, dword [ebp - 0x24]
push 0x88
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x4bd27b
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4bd271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bd848
push ecx
push edx
call fcn.00517162
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x12
push str.Opening_LogFile...
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00402bc0
push 1
mov ecx, edi
call fcn.004bf490
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp eax, 2
jne 0x4bd2bc
push 5
push str.HTTPS
jmp 0x4bd2de
cmp eax, 1
jne 0x4bd2ca
push 4
push str.HTTP
jmp 0x4bd2de
cmp eax, 3
jne 0x4bd2d7
push eax
push 0x559630
jmp 0x4bd2de
push 0xb
push str.UnSupported
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00402bc0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc0]
mov edx, dword [edi + 0x3a8]
call fcn.00409900
push 0xd
push str.DownloadID_
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0040b5e0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0xe
push str.___Protocol_
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call fcn.00402cc0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x80], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00409d30
push 0x1b
push str.___OS__WIN___AppVersion_
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x16
call fcn.00402cc0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov esi, esp
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x1c], esi
push 0xe
push str.WinVersion1424
call fcn.00402cc0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov ecx, edi
push 1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.004bf490
lea ecx, [ebp - 0x74]
call fcn.004028f0
lea ecx, [ebp - 0xa8]
call fcn.004028f0
lea ecx, [ebp - 0x90]
call fcn.004028f0
lea ecx, [ebp - 0x5c]
call fcn.004028f0
lea ecx, [ebp - 0xc0]
call fcn.004028f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call fcn.004028f0
cmp dword [edi + 0x268], 0
mov dword [edi + 0x4d0], 0x55
mov dword [edi + 0x4d4], 0
mov byte [edi + 0x53e], 0
je 0x4bd4f6
push 0
push 2
push dword [edi + 0x3b4]
mov byte [edi + 0x53e], 1
push dword [edi + 0x3b0]
mov dword [edi + 0x4d0], 0xaa
mov dword [edi + 0x4d4], 0
call fcn.0053aaa0
mov dword [edi + 0x3b0], eax
mov dword [edi + 0x3b4], edx
cmp dword [edi + 0x4b4], 0x10
lea ecx, [edi + 0x4a0]
jb 0x4bd50b
mov ecx, dword [edi + 0x4a0]
mov edx, dword [edi + 0x4b0]
push 3
push 0x5611f8
call fcn.0040cc20
add esp, 8
test al, al
je 0x4bd52d
mov eax, dword [ebp - 0x20]
mov dword [eax], 1
lea eax, [edi + 0x258]
push eax
lea ecx, [ebp - 0x74]
call fcn.00402a10
lea eax, [edi + 0x100]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402a10
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
mov edx, dword [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x5c]
push eax
call fcn.0040cc20
add esp, 8
lea ecx, [ebp - 0x5c]
xor al, 1
mov byte [edi + 0x53d], al
call fcn.004028f0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
call fcn.004028f0
push 0x250
call fcn.00517390
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x250
push 0
push esi
mov byte [ebp - 4], 0x19
call fcn.00519680
sub esp, 0xc
lea eax, [ebx + 0x3f8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00408180
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebx + 0x3e0]
mov ecx, esp
push eax
call fcn.00408180
cmp dword [edi + 0x268], 0
mov ecx, esi
mov byte [ebp - 4], 0x19
setne al
movzx eax, al
push eax
push edi
call fcn.004ca590
mov byte [ebp - 4], 0xc
cmp dword [edi + 0x268], 0
mov dword [edi + 0x538], eax
je 0x4bd635
sub esp, 0x18
cmp byte [edi + 0x53d], 0
mov ecx, esp
je 0x4bd61e
push 0x5604d4
jmp 0x4bd623
push 0x5604ec
call fcn.00409680
mov ecx, dword [edi + 0x538]
call fcn.004ceea0
jmp 0x4bd64d
mov ecx, dword [ebp - 0x40]
cmp dword [ecx], 3
jne 0x4bd64d
sub esp, 0x18
push esp
call fcn.004c5390
mov ecx, edi
call fcn.004c0970
push 0x50
call fcn.00517390
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
push 0x50
push 0
push esi
mov byte [ebp - 4], 0x1b
call fcn.00519680
mov edx, dword [edi + 0x3b4]
add esp, 0xc
mov ecx, dword [edi + 0x3b0]
call fcn.0053afc0
mov eax, dword [edi + 0x538]
lea ecx, [esi + 0x28]
movsd qword [esi + 8], xmm0
xorps xmm0, xmm0
mov dword [esi], eax
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movsd qword [esi + 0x20], xmm0
push 1
mov dword [ecx], 0
push 0x5591f4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00402bc0
mov byte [ebp - 4], 0x1c
xorps xmm0, xmm0
push 0x10
movsd qword [esi + 0x40], xmm0
mov byte [esi + 0x48], 0
call fcn.00517390
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
add esp, 4
mov edi, 0x17
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [esi + 4], eax
mov esi, eax
push 0x10
call fcn.00517390
mov ecx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], ecx
add esp, 4
movsd qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [esi + 8], ecx
mov esi, ecx
sub edi, 1
jne 0x4bd701
mov esi, dword [ebp - 0x24]
push 1
mov eax, dword [esi + 4]
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x44]
mov dword [ecx + 8], eax
mov ecx, edi
mov dword [edi + 0x56c], esi
mov byte [edi + 0x5b4], 3
call fcn.004be960
lea ecx, [ebx + 0x10]
call fcn.00419bc0
mov ecx, dword [ebx + 0x3f4]
cmp ecx, 8
jb 0x4bd796
mov edx, dword [ebx + 0x3e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4bd78c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bd84d
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebx + 0x40c]
xor eax, eax
mov dword [ebx + 0x3f0], 0
mov dword [ebx + 0x3f4], 7
mov word [ebx + 0x3e0], ax
cmp ecx, 8
jb 0x4bd7ef
mov edx, dword [ebx + 0x3f8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4bd7e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bd84d
push ecx
push edx
call fcn.00517162
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x408
push 2
push 0x27
lea ecx, [ebp - 0xcc]
call fcn.00403a50
push str.D:NeatForWindowsNeatDMNeatEngineNeatDownloadEngine.cpp
push 0x34
push str.Temp_Directory.
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x10
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0x150]
push eax
call fcn.0051907e
call fcn.00401640
call fcn.0051eb64
call fcn.0051eb64
int3