Function at 0x41fc60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
call fcn.00420440
test eax, eax
jne 0x41fc95
push 0x4d0c47
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fc95
push str.CreateIAMCZone____No_active_connection__no_local_file_
call fcn.00456e30
add esp, 4
xor eax, eax
jmp 0x41feaf
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 [0x4d0a36]
mov dword [ebp - 0x40], edx
movzx eax, byte [0x4d0a3e]
cmp eax, 1
jne 0x41fd15
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x40], eax
jmp 0x41fd33
movzx ecx, byte [0x4d0a3e]
cmp ecx, 2
jne 0x41fd33
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 [0x4d0a10], 0
je 0x41fda6
cmp dword [0x4e7600], 0
jne 0x41fd7a
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x68]
mov dword [ebp - 0x90], ecx
jmp 0x41fd86
mov edx, dword [0x4e7600]
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.0040aae0
add esp, 0xc
jmp 0x41fdaf
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 [0x4d0a3e]
cmp ecx, 1
jne 0x41fdd7
mov edx, dword [ebp - 0x2c]
or edx, 0x800000
mov dword [ebp - 0x2c], edx
jmp 0x41fdf6
movzx eax, byte [0x4d0a3e]
cmp eax, 2
jne 0x41fdf6
mov ecx, dword [ebp - 0x2c]
or ecx, 0x800000
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], 0x200
push 0
mov edx, dword [0x4d2e1c]
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 0x4b0a3c
push 0x4b0a40
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 0x41feac
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 [0x4da1a4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x41fe8e
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 0x41fe9b
push str.CreateIAMCZone____Cant_find_the_function_CreateIAMCWindow_
call fcn.00456e30
add esp, 4
mov edx, dword [ebp - 0x74]
push edx
push str.CreateIAMCZone____hwndIAMC_d
call fcn.00456e30
add esp, 8
mov eax, dword [ebp - 0x74]
mov esp, ebp
pop ebp
ret