Function at 0x44fb00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5b20
call fcn.004a1410
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ecx + 0xc90], 0
push esi
push edi
mov dword [ebp - 0x5b1c], ecx
jne 0x4505b5
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x3002]
push ecx
mov dword [ebp - 0x5b18], 0
mov word [ebp - 0x3004], ax
call fcn.0049eae0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x2402]
push eax
mov word [ebp - 0x2404], dx
call fcn.0049eae0
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x1802]
push edx
mov word [ebp - 0x1804], cx
call fcn.0049eae0
push 0x2710
lea eax, [ebp - 0x5b14]
push 0
push eax
call fcn.0049eae0
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x1c02]
push edx
mov word [ebp - 0x1c04], cx
call fcn.0049eae0
mov edi, dword [ebp - 0x5b1c]
add esp, 0x3c
lea eax, [ebp - 0x1c04]
push eax
mov ecx, edi
call fcn.0044a560
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x1402]
push edx
mov word [ebp - 0x1404], cx
call fcn.0049eae0
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0xc02]
push ecx
mov word [ebp - 0xc04], ax
call fcn.0049eae0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x1002]
push eax
mov word [ebp - 0x1004], dx
call fcn.0049eae0
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x3402]
push edx
mov word [ebp - 0x3404], cx
call fcn.0049eae0
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x2c02]
push ecx
mov word [ebp - 0x2c04], ax
call fcn.0049eae0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x2802]
mov word [ebp - 0x2804], dx
push eax
call fcn.0049eae0
mov edx, dword [edi + 0x87c]
add esp, 0x48
lea ecx, [ebp - 0x5b18]
push ecx
mov ecx, dword [edi + 0x10a4]
push edx
mov byte [edi + 0x1098], 0
call fcn.00419be0
cmp dword [edi + 0x87c], 0
jne 0x44fdca
test byte [edi + 0xc91], 2
je 0x44fd18
cmp byte [edi + 0x38], 0
je 0x44fd18
mov ecx, dword [0x4fcdd0]
test ecx, ecx
je 0x44fcc2
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 0
push 0
call edx
mov ecx, dword [edi + 0x10a4]
lea eax, [ebp - 0x5b18]
push eax
call fcn.0041c230
mov ecx, dword [edi + 0x10a4]
push eax
call fcn.00419be0
mov eax, dword [ebp - 0x5b18]
test eax, eax
je 0x44fd18
add eax, 0x1052
push eax
lea ecx, [edi + 0x44c]
push ecx
mov ecx, dword [edi + 0x880]
call fcn.00406200
mov eax, dword [edi + 0x87c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f71b
mov esp, ebp
pop ebp
ret
push 1
lea edx, [ebp - 0x1004]
push edx
lea eax, [ebp - 0xc04]
push eax
mov ecx, edi
call fcn.0044a940
mov eax, dword [0x4fcdd0]
test eax, eax
je 0x44fdc3
mov cl, byte [edi + 0xc91]
mov esi, dword [eax]
shr cl, 3
and cl, 1
movzx edx, cl
mov ecx, dword [edi + 0x10a4]
push edx
call fcn.004100c0
mov ecx, dword [0x4fcdd0]
push eax
mov eax, dword [esi + 0x10]
call eax
mov edx, dword [ebp - 0x5b18]
lea ecx, [ebp - 0x2804]
push ecx
push 1
push edx
mov ecx, edi
call fcn.0044de10
mov eax, dword [ebp - 0x5b18]
test eax, eax
je 0x44fd96
cmp dword [eax + 0x2108], 4
sete al
mov byte [edi + 0x1098], al
mov ecx, dword [0x4fcdd0]
mov esi, dword [ecx]
mov ecx, dword [edi + 0x10a4]
lea edx, [ebp - 0x2804]
push edx
call fcn.004100c0
mov ecx, dword [0x4fcdd0]
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [edi + 0x87c]
push eax
call edx
mov byte [edi + 0x850], 0
mov ecx, dword [edi + 0x10a4]
call fcn.004100c0
cmp dword [edi + 0x87c], eax
jae 0x4505b5
lea edi, [ebp - 0x5b14]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44fdf0
mov edx, dword [ebp - 0x5b1c]
mov eax, dword [0x4d29fc]
lea ecx, [ebp - 0x2c04]
push ecx
mov ecx, dword [edx + 0x10a4]
mov dword [edi], eax
call fcn.0040a5b0
lea eax, [ebp - 0x2c04]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44fe23
lea edi, [ebp - 0x5b14]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x44fe40
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x5b14]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44fe65
mov eax, dword [ebp - 0x5b18]
push ebx
mov ebx, dword [0x4d29fc]
add eax, 0x18f0
mov dword [edi], ebx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44fe87
lea edi, [ebp - 0x5b14]
sub eax, edx
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x44fea0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x5b14]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44fec5
mov dword [edi], ebx
mov edi, dword [ebp - 0x5b18]
mov eax, dword [edi + 0x2130]
sub eax, dword [edi + 0x212c]
sar eax, 2
test eax, eax
je 0x450020
lea eax, [ebp - 0x5b14]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x44ff00
mov ecx, dword [fcn.00410050]
mov edx, dword [str.TCH]
mov dword [eax], ecx
mov ecx, dword [0x4d58bc]
mov dword [eax + 4], edx
mov dx, word [0x4d58c0]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
mov eax, dword [ebp - 0x5b18]
mov ecx, dword [eax + 0x2130]
sub ecx, dword [eax + 0x212c]
xor ebx, ebx
sar ecx, 2
test ecx, ecx
je 0x44fffd
mov ecx, dword [ebp - 0x5b18]
mov eax, dword [ecx + 0x212c]
mov edx, dword [ecx + 0x2130]
sub edx, eax
sar edx, 2
cmp edx, ebx
jbe 0x4503fd
mov eax, dword [eax + ebx*4]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44ff74
lea edi, [ebp - 0x5b14]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x44ff90
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [ebp - 0x5b18]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx + 0x2130]
sub eax, dword [edx + 0x212c]
lea ecx, [ebx + 1]
sar eax, 2
cmp ecx, eax
jae 0x44ffe4
lea edi, [ebp - 0x5b14]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44ffd1
mov eax, dword [0x4d58b0]
mov dword [edi], eax
mov ebx, ecx
mov ecx, dword [edx + 0x2130]
sub ecx, dword [edx + 0x212c]
sar ecx, 2
cmp ebx, ecx
jb 0x44ff50
lea edi, [ebp - 0x5b14]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x450006
mov edx, dword [0x4d29fc]
mov dword [edi], edx
mov edi, dword [ebp - 0x5b18]
mov esi, dword [ebp - 0x5b1c]
lea eax, [esi + 0x88e]
lea edx, [ebp - 0x3404]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x450034
mov ecx, dword [esi + 0x10a0]
lea eax, [ebp - 0x1404]
push eax
push ecx
mov ecx, dword [esi + 0x880]
push edi
call fcn.00408df0
mov ecx, dword [esi + 0x10a4]
call fcn.0040a7f0
test al, al
jne 0x4500f8
lea edx, [ebp - 0x1804]
push edx
mov ecx, esi
call fcn.0044a560
mov eax, dword [ebp - 0x5b18]
add eax, 0x404
mov edx, eax
jmp 0x450090
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450090
lea edi, [ebp - 0x1804]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4500a6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x1804]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
jmp 0x4500d0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4500d0
mov ecx, dword [str..log]
mov edx, dword [0x4d5740]
mov dword [eax], ecx
mov cx, word [0x4d5744]
mov dword [eax + 4], edx
mov word [eax + 8], cx
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [ebp + eax - 0x1c04]
mov word [ebp + eax - 0x2404], cx
add eax, 2
test cx, cx
jne 0x450100
lea eax, [ebp - 0x1404]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450120
lea edi, [ebp - 0x2404]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x450136
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x5b18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x5b1c]
mov edx, dword [edi + 0x10a0]
mov ecx, dword [edi + 0x880]
push edx
push eax
call fcn.00408d30
test al, al
je 0x4501a4
mov ecx, dword [edi + 0x10a0]
mov edx, dword [ebp - 0x5b18]
push ecx
mov ecx, dword [edi + 0x880]
push edx
call fcn.004061e0
push eax
lea eax, [ebp - 0x3004]
push str._d.mst
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov esi, dword [ebp - 0x5b18]
cmp dword [esi + 0x2108], 4
jne 0x45057b
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x1002]
push edx
mov word [ebp - 0x1004], cx
call fcn.0049eae0
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov word [ebp - 0x404], ax
call fcn.0049eae0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x2002]
push eax
mov word [ebp - 0x2004], dx
call fcn.0049eae0
mov ecx, dword [edi + 0x10a0]
add esp, 0x24
push ecx
mov ecx, dword [edi + 0x880]
push esi
call fcn.00408db0
cmp eax, 1
jne 0x450271
lea eax, [ebp - 0x404]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x450230
mov edx, dword [str.msiexec__i]
mov ecx, dword [0x4d589c]
mov dword [eax], edx
mov edx, dword [0x4d58a0]
mov dword [eax + 4], ecx
mov ecx, dword [0x4d58a4]
mov dword [eax + 8], edx
mov edx, dword [0x4d58a8]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x4d58ac]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
lea edi, [ebp - 0x404]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x450280
mov edx, dword [0x4d29f0]
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov dword [edi], edx
mov word [ebp - 0x804], ax
call fcn.0049eae0
add esp, 0xc
call fcn.0043ffa0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x450322
lea edx, [ebp - 0x1004]
push edx
call fcn.0043ffa0
mov ecx, eax
call fcn.00433a40
test al, al
je 0x450322
lea eax, [ebp - 0x1004]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4502e0
lea edi, [ebp - 0x804]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4502f6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x1404]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x804]
push ecx
call ebx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [ebp - 0x804]
push edx
call esi
test eax, eax
jne 0x45035d
mov ecx, dword [ebp - 0x5b1c]
mov ecx, dword [ecx + 0x10a4]
lea eax, [ebp - 0x804]
push eax
call fcn.0040a420
lea edx, [ebp - 0x1404]
push edx
lea eax, [ebp - 0x804]
push eax
call ebx
lea ecx, [ebp - 0x804]
push ecx
call esi
lea eax, [ebp - 0x804]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450370
lea edi, [ebp - 0x404]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x450386
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x404]
add edi, 0xfffffffe
jmp 0x4503b0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4503b0
mov edx, dword [0x4d29f0]
mov ebx, dword [ebp - 0x5b18]
lea eax, [ebx + 0x18f0]
mov dword [edi], edx
mov edx, 0x4d2a40
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x450407
test si, si
je 0x4503f9
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x450407
add ecx, 4
add edx, 4
test si, si
jne 0x4503d7
xor ecx, ecx
jmp 0x45040c
push str.invalid_vector_T__subscript
call fcn.004c8322
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x45046c
lea edi, [ebp - 0x404]
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x450420
mov ecx, dword [0x4d29fc]
mov dword [edi], ecx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450436
lea edi, [ebp - 0x404]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x450450
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0xc02]
push eax
mov word [ebp - 0xc04], dx
call fcn.0049eae0
add esp, 0xc
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4d2a40]
mov word [ebp + eax - 0xc04], cx
add eax, 2
test cx, cx
jne 0x450490
mov edi, dword [ebp - 0x5b1c]
lea ecx, [ebp - 0xc04]
push ecx
push 1
push ebx
mov ecx, edi
call fcn.0044de10
mov esi, dword [ebp - 0x5b18]
lea eax, [esi + 0x1cf8]
lea edx, [ebp - 0x2004]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4504d2
mov edx, dword [esi + 0x2140]
sub edx, dword [esi + 0x213c]
sar edx, 2
test edx, edx
je 0x450545
mov eax, dword [edi + 0x10a0]
mov ecx, dword [edi + 0x880]
push eax
push esi
call fcn.00408bb0
test eax, eax
je 0x45053f
add eax, 0x834
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x450515
sub ecx, esi
sar ecx, 1
je 0x45053f
lea edx, [ebp - 0x2004]
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x450530
mov esi, dword [ebp - 0x5b18]
mov edx, dword [edi + 0x10a0]
lea ecx, [ebp - 0x2004]
push ecx
mov ecx, dword [edi + 0x880]
push edx
push esi
call fcn.00408d70
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0xc04]
push ecx
mov ecx, dword [edi + 0x880]
call fcn.00405060
jmp 0x4505b4
lea edx, [ebp - 0x1804]
push edx
lea eax, [ebp - 0x3004]
push eax
lea ecx, [ebp - 0x5b14]
push ecx
lea edx, [edi + 0x4c]
push edx
lea eax, [ebp - 0x1c04]
push eax
lea ecx, [ebp - 0x3404]
push ecx
mov ecx, dword [edi + 0x880]
lea edx, [ebp - 0x2404]
push edx
call fcn.004069a0
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x5b1c]
mov eax, dword [eax + 0x87c]
pop edi
xor ecx, ebp
pop esi
call fcn.0049f71b
mov esp, ebp
pop ebp
ret