Function at 0x4d1fb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a79fc
mov eax, dword fs:[0]
push eax
mov eax, 0x10974
call fcn.0056e430
mov eax, dword [0x608554]
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 dword [ebp - 0x108a8], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ecx
push str.CBaseInfoAddIn::WriteAddInPrnTransInfo
lea ecx, [ebp - 0x8868]
mov dword [ebp - 0x108a0], eax
call fcn.0040a480
mov dword [ebp - 4], 0
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x4d2093
test byte [esi + 0x1c], 1
je 0x4d2052
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d8b50
mov ecx, 0x6e
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
cmp esi, 0x608f30
je 0x4d2093
test byte [esi + 0x1c], 1
je 0x4d2093
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b50
push eax
push dword [esi + 0x14]
mov ecx, 0x6f
push dword [esi + 0x10]
call fcn.004018a0
mov esi, dword [0x608f30]
add esp, 0x10
push 0x410
xor ebx, ebx
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00571c00
add esp, 0xc
test edi, edi
jne 0x4d20c2
mov ebx, 0x80010001
mov dword [0x6183ec], 1
jmp 0x4d2509
mov esi, dword [ebp - 0x108a8]
add esi, 0x420
mov dword [ebp - 0x10890], ebx
push esi
mov dword [ebp - 0x1089c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d211a
sub esp, 8
lea ecx, [ebp - 0xc0]
push 0x22
push esi
call fcn.004d50a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x70], 0
je 0x4d210b
lea ecx, [ebp - 0xc0]
call fcn.004d5060
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.004cce00
sub esp, 0xc
lea ecx, [ebp - 0x10968]
push esi
call fcn.004d4f50
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10904], 0
je 0x4d24f8
push 2
push 0
push 0
lea ecx, [ebp - 0x10958]
mov dword [ebp - 0x10898], 0
call fcn.004706d0
lea eax, [ebp - 0x10980]
push eax
lea ecx, [ebp - 0x10958]
call fcn.004705b0
mov ecx, dword [eax + 8]
add ecx, dword [eax]
je 0x4d21c1
push 0
push 0
push 0
lea ecx, [ebp - 0x10968]
call fcn.004d53b0
push 0
push 4
lea eax, [ebp - 0x10898]
push eax
lea ecx, [ebp - 0x10968]
call fcn.00470800
push 0
push 4
lea eax, [ebp - 0x10898]
push eax
lea ecx, [ebp - 0x10968]
call fcn.00470800
push 0
push 4
lea eax, [ebp - 0x10890]
push eax
lea ecx, [ebp - 0x10968]
call fcn.00470800
push 0
push 0
push 0
lea ecx, [ebp - 0x10958]
call fcn.004706d0
push 0
push 4
push 0x60d79c
lea ecx, [ebp - 0x10958]
call fcn.004d5260
push 0
push 4
push 0x60d7ec
lea ecx, [ebp - 0x10958]
call fcn.004d5260
inc dword [ebp - 0x10890]
lea eax, [ebp - 0x10890]
push 0
push 4
push eax
lea ecx, [ebp - 0x10958]
call fcn.004d5260
cmp dword [ebp - 0x10890], 1
jbe 0x4d2230
push 2
push 0xffffffffffffffff
push 0xfffffffffffffffc
lea ecx, [ebp - 0x10958]
call fcn.004706d0
push 0
push 4
push 0x60d804
lea ecx, [ebp - 0x10958]
call fcn.004d5260
push 0x410
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x830]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push 0x410
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x10958]
call fcn.004d5260
mov edi, dword [ebp - 0x108a0]
mov eax, 0x3fee050f
push 0
push 4
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
lea ecx, [ebp - 0x10958]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1089c], eax
lea eax, [ebp - 0x1089c]
push eax
call fcn.004d5260
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x4d2496
mov ebx, dword [ebp - 0x108a0]
lea edi, [esi + 4]
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x10878], 0
mov dword [ebp - 0x10874], 7
mov word [ebp - 0x10888], ax
push 0x410
push eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
call fcn.00571c00
add esp, 0xc
mov dword [ebp - 0x108a4], 0
lea ecx, [ebp - 0x10958]
mov dword [ebp - 0x10894], 0
push 0
push 4
push 0x60d7d4
call fcn.004d5260
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00571c00
push 0x8000
lea eax, [ebp - 0x8830]
push 0
push eax
call fcn.00571c00
mov eax, dword [esi]
add esp, 0x18
mov dword [ebp - 0x1088c], eax
lea eax, [ebp - 0x10888]
cmp eax, edi
je 0x4d2382
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4d2373
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x10888]
push eax
call fcn.004035d0
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x10870], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x1086c], eax
lea eax, [edi + 0x20]
push 0x8000
push eax
lea eax, [ebp - 0x10868]
push eax
call fcn.00571100
add esp, 0xc
lea eax, [ebp - 0x10888]
cmp dword [ebp - 0x10874], 8
cmovae eax, dword [ebp - 0x10888]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x10870]
mov dword [ebp - 0x108a4], eax
mov eax, dword [ebp - 0x1086c]
push eax
mov dword [ebp - 0x10894], eax
lea eax, [ebp - 0x10868]
push eax
lea eax, [ebp - 0x8830]
push eax
call fcn.00571100
add esp, 0xc
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x10958]
push 0
push 0x410
push eax
call fcn.004d5260
push 0
push 4
lea eax, [ebp - 0x108a4]
push eax
lea ecx, [ebp - 0x10958]
call fcn.004d5260
push 0
push 4
lea eax, [ebp - 0x10894]
push eax
lea ecx, [ebp - 0x10958]
call fcn.004d5260
push 0
push dword [ebp - 0x10894]
lea eax, [ebp - 0x8830]
push eax
lea ecx, [ebp - 0x10958]
call fcn.004d5260
push 0
push 4
push 0x60d7f4
lea ecx, [ebp - 0x10958]
call fcn.004d5260
lea ecx, [ebp - 0x10888]
mov byte [ebp - 4], 2
call fcn.00403570
add esi, 0x8024
add edi, 0x8024
cmp esi, dword [ebx + 4]
jne 0x4d22d0
xor ebx, ebx
push 0
push 4
push 0x60d7fc
lea ecx, [ebp - 0x10958]
call fcn.004d5260
push 0
push 4
push 0x60d7dc
lea ecx, [ebp - 0x10958]
call fcn.004d5260
lea ecx, [ebp - 0x10950]
call fcn.0042b530
test eax, eax
jne 0x4d24f8
mov eax, dword [ebp - 0x10968]
lea ecx, [ebp - 0x10968]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004133b0
lea ecx, [ebp - 0x10968]
call fcn.00470310
mov esi, dword [0x608f30]
mov byte [ebp - 0x8864], 1
cmp esi, 0x608f30
je 0x4d254b
test byte [esi + 0x1c], 1
je 0x4d254b
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b50
push eax
push dword [esi + 0x14]
mov ecx, 0x70
push dword [esi + 0x10]
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x8868]
call fcn.0040a570
mov eax, ebx
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.0056d977
mov esp, ebp
pop ebp
ret 8