Function at 0x415430
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x453dc0
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 0x41599f
push ebp
push edi
mov edi, 1
mov dword [esi + 0x74], edi
mov ecx, dword [0x46c488]
xor ebp, ebp
call fcn.0040cac0
add eax, 0x280
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00403430
add eax, 0x10
mov dword [esp + 0x18], eax
push str.WnMBTool.exe
mov dword [esp + 0x48], ebx
call fcn.00431b26
add esp, 8
push eax
push str.WnMBTool.exe
lea ecx, [esp + 0x1c]
call fcn.0040a7e0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4154c9
mov ecx, dword [0x46c488]
mov ebp, edi
call fcn.0040cac0
mov dword [eax + 0x4c0], edi
mov ecx, esi
call fcn.00414ac0
mov ecx, esi
call fcn.00415160
push 0x458f3c
lea ecx, [esp + 0x14]
call fcn.00403a40
push 0x3ea
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00449fc4
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.00449fc4
mov edx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push edx
call edi
push 0x3eb
mov ecx, esi
call fcn.00449fc4
mov eax, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push eax
call edi
test eax, eax
mov ecx, esi
je 0x4157a9
push ebx
push 0x3e8
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push ebx
push 0x3ec
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push ebx
push 0x3e9
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push ebx
push 0x3ed
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push ebx
push 0x3ee
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
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.00449fc4
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 0x41561d
push ebx
push 0x3ed
call fcn.00449fc4
mov ecx, eax
call fcn.0044a166
push ebx
push 0x3ee
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a166
push 0x3ec
mov ecx, esi
call fcn.00449fc4
mov eax, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push eax
jmp 0x4156b8
cmp ebp, ebx
je 0x415661
push ebx
push 0x3ed
call fcn.00449fc4
mov ecx, eax
call fcn.0044a166
push ebx
push 0x3ee
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a166
push 0x3ec
mov ecx, esi
call fcn.00449fc4
mov ecx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push ecx
jmp 0x4156b8
push 5
push 0x3ed
call fcn.00449fc4
mov ecx, eax
call fcn.0044a166
push 5
push 0x3ee
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a166
push 0x458f14
push 0x3ec
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a0ec
push 0x3ec
mov ecx, esi
call fcn.00449fc4
mov edx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf1
push edx
call edi
cmp dword [esi + 0x80], ebx
mov ecx, esi
je 0x415704
cmp dword [esi + 0x7c], ebx
push 0x3e8
je 0x4156d8
call fcn.00449fc4
push ebx
push 1
jmp 0x415728
call fcn.00449fc4
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.00449fc4
mov ecx, eax
call fcn.0044a0ec
jmp 0x415733
push 0x458eec
push 0x3e8
call fcn.00449fc4
mov ecx, eax
call fcn.0044a0ec
push 0x3e8
mov ecx, esi
call fcn.00449fc4
push ebx
push ebx
mov eax, dword [eax + 0x1c]
push 0xf1
push eax
call edi
push 0x3e9
mov ecx, esi
call fcn.00449fc4
mov ecx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push ecx
call edi
cmp dword [esi + 0x78], ebx
jne 0x41575a
cmp ebp, ebx
je 0x415954
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0044d24f
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.00449fc4
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.0044a128
jmp 0x415954
push 0x3e9
call fcn.00449fc4
mov ecx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push ecx
call edi
cmp dword [esi + 0x78], ebx
mov ecx, esi
je 0x41580d
push 1
push 0x3ec
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push 1
push 0x3ed
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push 0x3ec
mov ecx, esi
call fcn.00449fc4
mov edx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push edx
jmp 0x4158a8
cmp ebp, ebx
je 0x415853
push 1
push 0x3ec
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push 1
push 0x3ed
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push 0x3ec
mov ecx, esi
call fcn.00449fc4
mov eax, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push eax
jmp 0x4158a8
push ebx
push 0x3ec
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push 0x458f14
push 0x3ec
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a0ec
push ebx
push 0x3ed
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push 0x3ec
mov ecx, esi
call fcn.00449fc4
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf1
push ecx
call edi
cmp dword [esi + 0x80], ebx
mov ecx, esi
je 0x415914
cmp dword [esi + 0x7c], ebx
push 0x3e8
je 0x4158d3
call fcn.00449fc4
mov edx, dword [eax + 0x1c]
push ebx
push 1
push 0xf1
push edx
call edi
jmp 0x4158fd
call fcn.00449fc4
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.00449fc4
mov ecx, eax
call fcn.0044a0ec
push 1
push 0x3e8
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
jmp 0x41593f
push ebx
push 0x3e8
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
push 0x3e8
mov ecx, esi
call fcn.00449fc4
mov edx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf1
push edx
call edi
push 1
push 0x3e9
mov ecx, esi
call fcn.00449fc4
mov ecx, eax
call fcn.0044a1a2
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 0x415979
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 0x41599f
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