Function at 0x4145a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
call fcn.00414b80
test eax, eax
jne 0x4145d5
push 0x4b44ff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4145d5
push str.CreateIAMCZone____No_active_connection__no_local_file_
call fcn.00437da0
add esp, 4
xor eax, eax
jmp 0x4147ef
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x70], 0x2c
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetTitleBarInfo]
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x34], eax
push 0x2e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
mov edx, dword [0x4b42ee]
mov dword [ebp - 0x40], edx
movzx eax, byte [0x4b42f6]
cmp eax, 1
jne 0x414655
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x40], eax
jmp 0x414673
movzx ecx, byte [0x4b42f6]
cmp ecx, 2
jne 0x414673
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
lea ecx, [eax + edx*2]
mov edx, dword [ebp - 0x3c]
lea eax, [ecx + edx*2]
mov dword [ebp - 0x40], eax
push 6
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x24], 0
cmp dword [0x4b42c8], 0
je 0x4146e6
cmp dword [0x4c9a38], 0
jne 0x4146ba
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x68]
mov dword [ebp - 0x90], ecx
jmp 0x4146c6
mov edx, dword [0x4c9a38]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x78]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040a800
add esp, 0xc
jmp 0x4146ef
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0x50000000
mov dword [ebp - 0x38], 0
movzx ecx, byte [0x4b42f6]
cmp ecx, 1
jne 0x414717
mov edx, dword [ebp - 0x2c]
or edx, 0x800000
mov dword [ebp - 0x2c], edx
jmp 0x414736
movzx eax, byte [0x4b42f6]
cmp eax, 2
jne 0x414736
mov ecx, dword [ebp - 0x2c]
or ecx, 0x800000
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], 0x200
push 0
mov edx, dword [0x4b569c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x48d274
push 0x48d278
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4147ec
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push str.CreateIAMCWindow
mov edx, dword [0x4bc7e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x4147ce
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
push 0
push 0
call dword [ebp - 0x8c]
add esp, 0x20
mov dword [ebp - 0x74], eax
jmp 0x4147db
push str.CreateIAMCZone____Cant_find_the_function_CreateIAMCWindow_
call fcn.00437da0
add esp, 4
mov edx, dword [ebp - 0x74]
push edx
push str.CreateIAMCZone____hwndIAMC_d
call fcn.00437da0
add esp, 8
mov eax, dword [ebp - 0x74]
mov esp, ebp
pop ebp
ret