Function at 0x424140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505f61
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x55f3d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x59]
call fcn.004059f0
mov ecx, dword [edi + 0x6fc]
test ecx, ecx
je 0x424188
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x700]
test ecx, ecx
je 0x42419c
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x704]
test ecx, ecx
je 0x4241b0
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x708]
test ecx, ecx
je 0x4241c4
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x70c]
test ecx, ecx
je 0x4241d8
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x740]
mov dword [edi + 0x754], 2
test ecx, ecx
je 0x4241f6
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [edi + 0x744]
test ecx, ecx
je 0x42420a
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [edi + 0x748]
test ecx, ecx
je 0x42421e
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x74c]
test ecx, ecx
je 0x424232
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x750]
test ecx, ecx
je 0x424246
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov eax, dword [0x5616f8]
test eax, eax
jne 0x424293
push 0x1a0
call fcn.004d631e
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x424285
push 0x1a0
push 0
push esi
call fcn.004d84c0
add esp, 0xc
mov ecx, esi
call fcn.00410730
jmp 0x424287
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5616f8], eax
mov ecx, eax
call sym.CAD.exe_public:_int___thiscall_DuiLib::CPaintManagerUI::GetTooltipWindowWidth_void_const
mov ecx, eax
mov dword [ebp - 0x60], ecx
cmp ecx, 0xffffffff
jne 0x4242f7
call fcn.00406b50
mov ecx, eax
call fcn.00411200
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4242f7
call fcn.00406b50
mov ecx, eax
call fcn.00411200
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x424649
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov eax, dword [0x5616f8]
mov byte [ebp - 4], 2
test eax, eax
jne 0x424378
push 0x1a0
call fcn.004d631e
mov esi, eax
add esp, 4
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x42436d
push 0x1a0
push 0
push esi
call fcn.004d84c0
add esp, 0xc
mov ecx, esi
call fcn.00410730
jmp 0x42436f
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x5616f8], eax
mov ecx, eax
call fcn.00411200
mov esi, dword [eax]
mov ecx, dword [eax + 4]
cmp esi, ecx
je 0x4243dd
mov eax, dword [ebp - 0x60]
nop dword [eax + eax]
cmp eax, dword [esi]
je 0x42439d
add esi, 0x68
cmp esi, ecx
jne 0x424390
jmp 0x4243dd
lea eax, [esi + 8]
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x4243bd
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x4243b1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00402e70
add esi, 0x38
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4243dd
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4243d1
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00402e70
cmp dword [edi + 0x738], 0
je 0x424456
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401970
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 4
jb 0x42440c
mov edx, dword [edx]
mov ecx, dword [edi + 0x738]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x424456
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42444c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42464e
push ecx
push edx
call fcn.004d634e
add esp, 8
mov ecx, dword [edi + 0x73c]
test ecx, ecx
je 0x4245bc
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push 0x50c0ac
mov byte [ebp - 4], 5
call esi
test eax, eax
je 0x4244a5
mov ecx, 0x50c0b0
jmp 0x4244bb
push 0x50c0b8
call esi
test eax, eax
mov ecx, 0x50c0bc
mov edx, 0x531754
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.004093e0
cmp dword [ebp - 0x18], 0
je 0x424582
push 0x12
push str.Microsoft_Office
lea ecx, [ebp - 0x28]
call fcn.0040ef10
push 1
push 0x50bf00
lea ecx, [ebp - 0x28]
call fcn.0040ef10
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00401970
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 6
jb 0x424512
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040ef10
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 5
cmp ecx, 8
jb 0x42455c
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x424552
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424653
push ecx
push edx
call fcn.004d634e
add esp, 8
push 1
push 0x50bf00
lea ecx, [ebp - 0x28]
call fcn.0040ef10
mov ecx, dword [edi + 0x73c]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4245bc
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4245b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424658
push ecx
push edx
call fcn.004d634e
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4245ec
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4245e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42465d
push ecx
push edx
call fcn.004d634e
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x42462e
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x424624
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42465d
push ecx
push edx
call fcn.004d634e
add esp, 8
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.004d635c
mov esp, ebp
pop ebp
ret
call fcn.00414830
call fcn.004dc07f
call fcn.004dc07f
call fcn.004dc07f
call fcn.004dc07f
int3