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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f328
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x55f2b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xd4], esi
mov eax, dword [0x55fe9c]
add eax, 0x110
push eax
call fcn.00414920
mov dword [ebp - 4], esi
lea edx, [ebp - 0xc8]
cmp dword [ebp - 0xb4], 8
lea ecx, [ebp - 0x18]
cmovae edx, dword [ebp - 0xc8]
call fcn.00462c90
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], str.Aavm4h.dll
mov dword [ebp - 0x4c], str.AavmRpch.dll
mov edi, str.Aavm4h.dll
mov dword [ebp - 0x48], str.ashBase.dll
mov dword [ebp - 0x44], str.ashServ.dll
mov dword [ebp - 0x40], str.ashTask.dll
mov dword [ebp - 0x3c], str.aswAux.dll
mov dword [ebp - 0x38], str.aswCmnBS.dll
mov dword [ebp - 0x34], str.aswCmnIS.dll
mov dword [ebp - 0x30], str.aswCmnOS.dll
mov dword [ebp - 0x2c], str.aswData.dll
mov dword [ebp - 0x28], str.aswEngLdr.dll
mov dword [ebp - 0x24], str.aswIP.dll
mov dword [ebp - 0x20], str.aswProperty.dll
mov dword [ebp - 0x1c], str.streamback.dll
mov dword [ebp - 0xd0], eax
nop word [eax + eax]
mov ecx, dword [0x55fe9c]
mov eax, SysReAllocString
add ecx, 0xc8
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x41e00e
cmp dword [ecx + 0x14], 8
jb 0x41d547
mov ecx, dword [ecx]
push 1
push 0x53fc98
push edx
push ecx
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x80]
call fcn.0041ba50
or esi, 2
mov ecx, edi
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d570
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x80]
call fcn.0041b860
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov dword [ebp - 0x54], 0
or esi, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0xd4], esi
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x41d602
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d5f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e009
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x54], 8
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
mov dword [ebp - 0x6c], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d6a0
test al, 0x10
jne 0x41d6a0
mov ecx, dword [ebp - 0x58]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 4
jb 0x41e00e
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push 4
cmovae eax, dword [ebp - 0x68]
push str..sum
push ecx
push eax
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xf8]
call fcn.0041ba50
or esi, 9
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xd4], esi
cmp dword [ebp - 0xe4], 8
cmovae eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d697
test al, 0x10
je 0x41d6a0
mov byte [ebp - 0xc9], 1
jmp 0x41d6a7
mov byte [ebp - 0xc9], 0
mov eax, dword [ebp - 0xd4]
test al, 1
je 0x41d6fa
and eax, 0xfffffffe
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xe4]
cmp edx, 8
jb 0x41d6fa
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d6f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e009
push edx
push ecx
call fcn.004d06e3
add esp, 8
cmp byte [ebp - 0xc9], 0
je 0x41d75f
cmp dword [ebp - 0x54], 8
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xe0]
cmovae edx, dword [ebp - 0x68]
call fcn.00462c90
movzx ecx, word [ebp - 0xe0]
xor eax, eax
movzx edx, word [ebp - 0x18]
mov word [ebp - 0xda], ax
movzx eax, word [ebp - 0xde]
shl ecx, 0x10
or ecx, eax
shl edx, 0x10
movzx eax, word [ebp - 0x16]
or edx, eax
cmp edx, ecx
jb 0x41d7c0
ja 0x41d7c0
movzx eax, word [ebp - 0xdc]
movzx ecx, word [ebp - 0x14]
shl eax, 0x10
shl ecx, 0x10
cmp ecx, eax
jb 0x41d7c0
ja 0x41d7c0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x41d79d
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d793
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e009
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x18]
add eax, 4
mov dword [ebp - 0xd0], eax
cmp eax, ecx
je 0x41d806
mov edi, dword [eax]
mov esi, dword [ebp - 0xd4]
jmp 0x41d520
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x41d7fa
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d7f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e009
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov byte [ebp - 0xc9], 1
jmp 0x41dfac
push ecx
mov edx, 0x25
mov dword [ebp - 0x18], str.MonFlt.sys
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x14], str.SP.sys
call fcn.00463a20
add esp, 4
push 8
push str.drivers
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041b860
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x70], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xe4]
cmp edx, 8
jb 0x41d8a2
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d898
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e009
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov ecx, dword [0x55fe9c]
xor eax, eax
add ecx, 0xc8
mov word [ebp - 0xf8], ax
mov eax, SysReAllocString
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0xb
jb 0x41e00e
cmp dword [ecx + 0x14], 8
jb 0x41d8e6
mov ecx, dword [ecx]
push 0xb
push str.SetupInf_
push edx
push ecx
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x140]
call fcn.0041ba50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x140]
cmp dword [0x55fe7c], 8
mov eax, 0x55fe68
push dword [0x55fe78]
cmovae eax, dword [0x55fe68]
push eax
call fcn.0041b860
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x12c]
cmp edx, 8
jb 0x41d998
mov ecx, dword [ebp - 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d98e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e013
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
mov edi, str.MonFlt.sys
lea eax, [ebp - 0x18]
mov dword [ebp - 0x12c], 7
mov dword [ebp - 0xd0], eax
mov esi, dword [0x55fe9c]
mov eax, SysReAllocString
mov ecx, dword [ebp - 0xa0]
add esi, 8
sub eax, ecx
cmp eax, 1
jb 0x41e00e
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
push 1
cmovae eax, dword [ebp - 0xb0]
push 0x53fc98
push ecx
push eax
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x158]
call fcn.0041ba50
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x41da20
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x158]
call fcn.0041b860
mov dword [ebp - 0x100], 0
xor ecx, ecx
mov dword [ebp - 0xfc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x110], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x100], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, edi
mov byte [ebp - 4], 0xb
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41da74
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x110]
call fcn.0041b860
mov dword [ebp - 0x88], 0
xor ecx, ecx
mov dword [ebp - 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xfc]
cmp edx, 8
jb 0x41db12
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41db08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e009
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x144]
cmp edx, 8
jb 0x41db73
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41db69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e009
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov esi, dword [0x55fe9c]
xor eax, eax
mov ecx, dword [ebp - 0x70]
add esi, 8
mov word [ebp - 0x158], ax
mov eax, SysReAllocString
sub eax, ecx
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 7
cmp eax, 1
jb 0x41e00e
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
push 1
cmovae eax, dword [ebp - 0x80]
push 0x53fc98
push ecx
push eax
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xf8]
call fcn.0041ba50
mov byte [ebp - 4], 0xf
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x41dbe1
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0xf8]
call fcn.0041b860
mov dword [ebp - 0x118], 0
xor ecx, ecx
mov dword [ebp - 0x114], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, edi
mov byte [ebp - 4], 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41dc35
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x128]
call fcn.0041b860
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov dword [ebp - 0x54], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x114]
cmp edx, 8
jb 0x41dcc7
mov ecx, dword [ebp - 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dcbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e009
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xe4]
cmp edx, 8
jb 0x41dd28
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dd1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e009
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0x84], 8
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xe4], 7
cmovae edx, dword [ebp - 0x98]
mov word [ebp - 0xf8], ax
call fcn.00462c90
cmp dword [ebp - 0x54], 8
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xe0]
cmovae edx, dword [ebp - 0x68]
call fcn.00462c90
movzx ecx, word [ebp - 0xe0]
movzx eax, word [ebp - 0xde]
movzx edx, word [ebp - 0xd8]
shl ecx, 0x10
or ecx, eax
shl edx, 0x10
movzx eax, word [ebp - 0xd6]
or edx, eax
cmp edx, ecx
jb 0x41dea1
ja 0x41dea1
movzx ecx, word [ebp - 0xdc]
movzx eax, word [ebp - 0xda]
movzx edx, word [ebp - 0xd4]
shl ecx, 0x10
or ecx, eax
shl edx, 0x10
movzx eax, word [ebp - 0xd2]
or edx, eax
cmp edx, ecx
jb 0x41dea1
ja 0x41dea1
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x41de20
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41de16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e018
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x41de78
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41de6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e018
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0x10]
add edx, 4
mov dword [ebp - 0xd0], edx
cmp edx, eax
je 0x41de95
mov edi, dword [edx]
jmp 0x41d9c3
mov byte [ebp - 0xc9], 0
jmp 0x41df36
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x41dedb
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ded1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e018
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x41df2f
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41df25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e018
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov byte [ebp - 0xc9], 1
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x41df76
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41df6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e01d
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x41dfac
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dfa2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e01d
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x41dfe8
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dfde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e01d
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov al, byte [ebp - 0xc9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d0675
mov esp, ebp
pop ebp
ret
call fcn.004ebf29
call fcn.00414310
call fcn.004ebf29
call fcn.004ebf29
call fcn.004ebf29
int3