Function at 0x415229
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x453b50
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, ebx
jne 0x41577f
push ebp
push edi
mov edi, 1
mov dword [esi + 0x74], edi
mov ecx, dword [0x46c488]
xor ebp, ebp
call fcn.0040ca50
add eax, 0x280
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00403490
add eax, 0x10
mov dword [esp + 0x18], eax
push str.WnMBTool.exe
mov dword [esp + 0x48], ebx
call fcn.004318b6
add esp, 8
push eax
push str.WnMBTool.exe
lea ecx, [esp + 0x1c]
call fcn.0040a770
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4152a9
mov ecx, dword [0x46c488]
mov ebp, edi
call fcn.0040ca50
mov dword [eax + 0x4c0], edi
mov ecx, esi
call fcn.004148a0
mov ecx, esi
call fcn.00414f40
push 0x458f34
lea ecx, [esp + 0x14]
call fcn.00403aa0
push 0x3ea
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00449d54
mov ecx, dword [eax + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0xf1
push ecx
call edi
push 0x3eb
mov ecx, esi
call fcn.00449d54
mov edx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push edx
call edi
push 0x3eb
mov ecx, esi
call fcn.00449d54
mov eax, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push eax
call edi
test eax, eax
mov ecx, esi
je 0x415589
push ebx
push 0x3e8
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push ebx
push 0x3ec
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push ebx
push 0x3e9
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push ebx
push 0x3ed
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push ebx
push 0x3ee
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push 0x3ec
mov ecx, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00449d54
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esi + 0x78], ebx
mov ecx, esi
je 0x4153fd
push ebx
push 0x3ed
call fcn.00449d54
mov ecx, eax
call fcn.00449ef6
push ebx
push 0x3ee
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449ef6
push 0x3ec
mov ecx, esi
call fcn.00449d54
mov eax, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push eax
jmp 0x415498
cmp ebp, ebx
je 0x415441
push ebx
push 0x3ed
call fcn.00449d54
mov ecx, eax
call fcn.00449ef6
push ebx
push 0x3ee
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449ef6
push 0x3ec
mov ecx, esi
call fcn.00449d54
mov ecx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push ecx
jmp 0x415498
push 5
push 0x3ed
call fcn.00449d54
mov ecx, eax
call fcn.00449ef6
push 5
push 0x3ee
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449ef6
push 0x458f0c
push 0x3ec
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449e7c
push 0x3ec
mov ecx, esi
call fcn.00449d54
mov edx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf1
push edx
call edi
cmp dword [esi + 0x80], ebx
mov ecx, esi
je 0x4154e4
cmp dword [esi + 0x7c], ebx
push 0x3e8
je 0x4154b8
call fcn.00449d54
push ebx
push 1
jmp 0x415508
call fcn.00449d54
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf1
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
push 0x3e8
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449e7c
jmp 0x415513
push 0x458ee4
push 0x3e8
call fcn.00449d54
mov ecx, eax
call fcn.00449e7c
push 0x3e8
mov ecx, esi
call fcn.00449d54
push ebx
push ebx
mov eax, dword [eax + 0x1c]
push 0xf1
push eax
call edi
push 0x3e9
mov ecx, esi
call fcn.00449d54
mov ecx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push ecx
call edi
cmp dword [esi + 0x78], ebx
jne 0x41553a
cmp ebp, ebx
je 0x415734
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0044cfdf
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
lea ebx, [eax + 0x11]
mov edi, ebx
sub edi, edx
push 0x3e9
mov ecx, esi
add edi, eax
call fcn.00449d54
mov ecx, dword [esp + 0x28]
push 1
sub edi, ebx
push edi
sub ebp, ecx
push ebp
push ebx
push ecx
mov ecx, eax
call fcn.00449eb8
jmp 0x415734
push 0x3e9
call fcn.00449d54
mov ecx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push ecx
call edi
cmp dword [esi + 0x78], ebx
mov ecx, esi
je 0x4155ed
push 1
push 0x3ec
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push 1
push 0x3ed
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push 0x3ec
mov ecx, esi
call fcn.00449d54
mov edx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push edx
jmp 0x415688
cmp ebp, ebx
je 0x415633
push 1
push 0x3ec
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push 1
push 0x3ed
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push 0x3ec
mov ecx, esi
call fcn.00449d54
mov eax, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push eax
jmp 0x415688
push ebx
push 0x3ec
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push 0x458f0c
push 0x3ec
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449e7c
push ebx
push 0x3ed
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push 0x3ec
mov ecx, esi
call fcn.00449d54
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf1
push ecx
call edi
cmp dword [esi + 0x80], ebx
mov ecx, esi
je 0x4156f4
cmp dword [esi + 0x7c], ebx
push 0x3e8
je 0x4156b3
call fcn.00449d54
mov edx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push edx
call edi
jmp 0x4156dd
call fcn.00449d54
mov eax, dword [eax + 0x1c]
push ebx
push ebx
push 0xf1
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
push 0x3e8
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449e7c
push 1
push 0x3e8
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
jmp 0x41571f
push ebx
push 0x3e8
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
push 0x3e8
mov ecx, esi
call fcn.00449d54
mov edx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf1
push edx
call edi
push 1
push 0x3e9
mov ecx, esi
call fcn.00449d54
mov ecx, eax
call fcn.00449f32
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop ebp
jg 0x415759
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41577f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret