Function at 0x4014a8
Capabilities:
Read file via mapping

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp eax, 0x4a
jne 0x4011d0
cmp dword [edx + 4], 0x30
je 0x4011f8
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call sym._DefWindowProcW_16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [edx + 8]
mov esi, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x44], ecx
mov ebx, dword [eax + 8]
mov dword [ebp - 0x40], ebx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
cmp esi, 9
ja case.default.0x40124d
jmp dword [esi*4 + 0x4121ec]
mov esi, 1
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], 0
mov dword [esp], 0x40
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_OpenProcess]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x401680
lea eax, [ebp - 0x4c]
mov dword [esp + 0x18], 2
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
jne 0x4015d0
test byte [global___dbch.0], 2
jne 0x4016f8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x4011ba
test byte [global___dbch.0], 1
jne 0x40181d
mov dword [esp], 0
mov esi, 1
mov dword [ebp - 0x34], 0
call sym._GetSystemMetrics_4
sub esp, 4
mov dword [ebp - 0x2c], eax
mov dword [esp], 1
call sym._GetSystemMetrics_4
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x28], eax
sub eax, 1
sub esp, 4
mov dword [ebp - 0x30], eax
jmp 0x40125d
mov esi, 3
test byte [global___dbch.0], 1
je 0x40125d
mov dword [esp + 0xc], str.SHAppBarMessage_ABM_GETSTATE_:_stub_n
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40125d
mov eax, dword [section..data]
cmp eax, section..data
jne 0x4013a5
jmp 0x401889
mov eax, dword [eax]
cmp eax, section..data
je 0x401889
cmp ebx, dword [eax + 8]
jne 0x401398
xor esi, esi
jmp 0x40125d
mov esi, 1
test byte [global___dbch.0], 1
je 0x40125d
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
test eax, eax
je 0x401913
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x412119
call sym._wine_dbg_sprintf
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x38]
mov esi, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.SHAppBarMessage_ABM_SETAUTOHIDEBAR__hwnd_p__edge_x__lparam_s_:_stub_n
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40125d
mov eax, dword [ebp - 0x38]
cmp eax, 3
jbe 0x401445
test byte [global___dbch.0], 4
jne 0x4018e2
lea edx, [ebp - 0x34]
mov eax, ebx
mov esi, 1
call dbg.appbar_cliprect
jmp 0x40125d
test byte [global___dbch.0], 1
je 0x4013aa
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x10], ebx
xor esi, esi
mov dword [esp + 0xc], str.SHAppBarMessage_ABM_GETAUTOHIDEBAR__hwnd_p__edge_x_:_stub_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40125d
mov eax, dword [ebp - 0x38]
cmp eax, 3
ja 0x4017da
mov esi, dword [section..data]
cmp esi, section..data
jne 0x4014de
jmp 0x40184a
mov esi, dword [esi]
cmp esi, section..data
je 0x40184a
cmp ebx, dword [esi + 8]
jne 0x4014d0
mov eax, ebx
lea edx, [ebp - 0x34]
call dbg.appbar_cliprect
mov eax, dword [esi + 0x14]
cmp dword [ebp - 0x34], eax
je 0x401928
mov edi, dword [section..data]
cmp edi, section..data
je 0x401543
lea esi, [esi]
nop
mov eax, dword [edi + 8]
cmp ebx, eax
je 0x401539
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov edx, dword [edi + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._PostMessageW_16
sub esp, 0x10
mov edi, dword [edi]
cmp edi, section..data
jne 0x401510
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x24], 1
mov dword [esi + 0x20], eax
mov esi, 1
jmp 0x40125d
mov eax, dword [section..data]
jmp 0x40158f
mov edx, dword [eax + 8]
mov edi, eax
mov eax, dword [eax]
cmp ebx, edx
je 0x40175d
cmp eax, section..data
jne 0x401580
test byte [global___dbch.0], 4
je 0x40125d
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.removing_hwnd__p_not_on_the_list_n
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x40125d
mov dword [esp], ebx
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
call ebx
mov eax, dword [ebp - 0x4c]
sub esp, 4
mov dword [esp + 0x10], 0x30
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
sub esp, 0x14
test eax, eax
je 0x4016c0
mov dword [eax], esi
mov dword [eax + 4], 0
mov edx, dword [ebp - 0x40]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x2c], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
sub esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call ebx
sub esp, 4
jmp 0x4011ba
test byte [global___dbch.0], 2
je 0x4011ba
mov dword [esp + 0xc], str.couldnt_open_calling_process_n
mov dword [esp + 8], str.appbar_wndproc
mov dword [esp + 4], global___dbch.0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x4011ba
test byte [global___dbch.0], 2
je 0x401666
mov dword [esp + 0xc], str.couldnt_map_view_of_file_n
mov dword [esp + 8], str.appbar_wndproc
mov dword [esp + 4], global___dbch.0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401666
mov dword [esp + 0xc], str.couldnt_duplicate_handle_n
mov dword [esp + 8], str.appbar_wndproc
mov dword [esp + 4], global___dbch.0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x4012d5
test byte [global___dbch.0], 1
je 0x4013aa
mov dword [esp + 0x10], esi
xor esi, esi
mov dword [esp + 0xc], str.SHAppBarMessage__x__unimplemented_n
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40125d
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov eax, dword [edi]
mov dword [edx], eax
mov edx, dword [section..data]
cmp edx, section..data
je 0x4017b1
lea esi, [esi]
mov eax, dword [edx + 8]
cmp ebx, eax
je 0x4017a7
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov ecx, dword [edx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [ebp - 0x5c], edx
call sym._PostMessageW_16
mov edx, dword [ebp - 0x5c]
sub esp, 0x10
mov edx, dword [edx]
cmp edx, section..data
jne 0x401778
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x40125d
mov esi, 1
test byte [global___dbch.0], 4
je 0x40125d
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.invalid_edge__i_for__p_n
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x40125d
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.SHAppBarMessage_ABM_GETTASKBARPOS__hwnd_p_:_stub_n
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x4012fd
test byte [global___dbch.0], 4
je case.0x40124d.6
mov dword [esp + 0x10], ebx
mov esi, 1
mov dword [esp + 0xc], str.app_sent_ABM_SETPOS_message_for__p_without_ABM_ADD_n
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x40125d
mov dword [esp + 8], 0x28
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x401951
mov dword [eax + 8], ebx
mov edx, dword [ebp - 0x3c]
mov esi, 1
mov dword [eax], section..data
mov dword [eax + 0xc], edx
mov edx, dword [0x411004]
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [0x411004], eax
jmp 0x40125d
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.invalid_edge__i_for__p_n
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x401445
mov dword [esp + 4], edx
mov dword [esp], 0x412122
call sym._wine_dbg_sprintf
jmp 0x4013ec
mov eax, dword [esi + 0x1c]
cmp dword [ebp - 0x2c], eax
jne 0x4014f9
mov eax, dword [esi + 0x18]
cmp dword [ebp - 0x30], eax
jne 0x4014f9
mov eax, dword [esi + 0x20]
cmp dword [ebp - 0x28], eax
jne 0x4014f9
jmp 0x401543
test byte [global___dbch.0], 2
je 0x4013aa
mov dword [esp + 0xc], section..rdata
mov dword [esp + 8], str.handle_appbarmessage
mov dword [esp + 4], global___dbch.0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40125d