Function at 0x41fcc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
call fcn.004204a0
test eax, eax
jne 0x41fcf5
push 0x4d1c47
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fcf5
push str.CreateIAMCZone____No_active_connection__no_local_file_
call fcn.004576a0
add esp, 4
xor eax, eax
jmp 0x41ff0f
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 [0x4d1a36]
mov dword [ebp - 0x40], edx
movzx eax, byte [0x4d1a3e]
cmp eax, 1
jne 0x41fd75
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x40], eax
jmp 0x41fd93
movzx ecx, byte [0x4d1a3e]
cmp ecx, 2
jne 0x41fd93
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 [0x4d1a10], 0
je 0x41fe06
cmp dword [0x4e8a48], 0
jne 0x41fdda
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x68]
mov dword [ebp - 0x90], ecx
jmp 0x41fde6
mov edx, dword [0x4e8a48]
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.0040ab40
add esp, 0xc
jmp 0x41fe0f
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 [0x4d1a3e]
cmp ecx, 1
jne 0x41fe37
mov edx, dword [ebp - 0x2c]
or edx, 0x800000
mov dword [ebp - 0x2c], edx
jmp 0x41fe56
movzx eax, byte [0x4d1a3e]
cmp eax, 2
jne 0x41fe56
mov ecx, dword [ebp - 0x2c]
or ecx, 0x800000
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], 0x200
push 0
mov edx, dword [0x4db5e4]
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 0x4b1a5c
push 0x4b1a60
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 0x41ff0c
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 [0x4db5f0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x41feee
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 0x41fefb
push str.CreateIAMCZone____Cant_find_the_function_CreateIAMCWindow_
call fcn.004576a0
add esp, 4
mov edx, dword [ebp - 0x74]
push edx
push str.CreateIAMCZone____hwndIAMC_d
call fcn.004576a0
add esp, 8
mov eax, dword [ebp - 0x74]
mov esp, ebp
pop ebp
ret