Function at 0x4596c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eea3f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5299c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x300]
mov dword [ebp - 4], 0
call fcn.00458b00
push 0x1f8
lea eax, [edi + 0x40]
mov dword [edi + 0x34], vtable.CTrayIconImpl_class_Presentation::MainFrame_.0
push 0
push eax
call fcn.004c3810
add esp, 0xc
mov dword [edi + 0x3c], 0x1fc
mov byte [edi + 0x238], 0
mov dword [edi + 0x23c], 0
push str.WM_TRAYICON
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [edi + 0x38], eax
lea ebx, [edi + 0x248]
mov dword [edi + method.TiXmlBase.virtual_4], vtable.WTL::CMessageFilter.0
mov ecx, ebx
mov byte [ebp - 4], 2
mov dword [edi + method.TiXmlBase.virtual_4], vtable.WTL::CIdleHandler.0
mov dword [ebp - 0x10], ebx
call fcn.00436c60
mov dword [ebx], vtable.InteractionObjectImpl.0
mov dword [ebx + 4], 0x8d
mov dword [ebx + 0xc], 0
lea eax, [edi + 0x270]
mov byte [ebp - 4], 3
lea esi, [eax + 4]
mov dword [ebp - 0x10], eax
mov ecx, 0x4fb01c
mov dword [eax], vtable.WindowStateManagerImpl_class_CWindowStateManager_.0
lea edx, [esi + 4]
mov dword [ebp - 0x10], esi
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x4597e0
push 0x1c
call fcn.004ab698
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x45984d
mov dword [ebx + 4], 1
lea esi, [ebx + 0xc]
mov dword [ebx], vtable.sstate::CContainerImpl_class_CStorageAdapter_.0
mov dword [ebx + 8], 0xffffffff
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 5
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044f300
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
mov dword [ebx], vtable.sstate::CWindowStateMgr_class_CStorageAdapter_::CImpl.0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xa
jmp 0x45984f
xor ebx, ebx
mov dword [esi], ebx
push 0
push str.Wnd_0x_x
push 0x7f
lea ebx, [esi + 4]
mov byte [ebp - 4], 6
push ebx
mov dword [esi + 0x84], 0
call fcn.0041ba30
add esp, 0x10
cmp dword [esi + 0x84], 0
jne 0x45988d
push 0x4fa588
push 0x7f
push ebx
call fcn.0041ba30
add esp, 0xc
push 0x1c
call fcn.004ab698
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x4598ed
mov dword [ebx + 4], 1
lea esi, [ebx + 0xc]
mov dword [ebx], vtable.sstate::CContainerImpl_class_CStorageAdapter_.0
mov dword [ebx + 8], 0xffffffff
mov ecx, esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 8
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044f300
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
mov dword [ebx], vtable.sstate::CWindowStateMgr_class_CStorageAdapter_::CImpl.0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xa
jmp 0x4598ef
xor ebx, ebx
mov dword [esi], ebx
mov dword [edi + 0x2fc], 0
mov dword [edi], vtable.Presentation::MainFrame.0
lea eax, [edi + 0x340]
mov dword [edi + 0x34], vtable.Presentation::MainFrame.1.0
mov dword [edi + method.Presentation::MainFrame.2.virtual_0], vtable.Presentation::MainFrame.2.0
mov dword [edi + method.Presentation::MainFrame.3.virtual_0], vtable.Presentation::MainFrame.3.0
mov dword [edi + method.Presentation::MainFrame.4.virtual_0], vtable.Presentation::MainFrame.4.0
mov dword [edi + method.WindowStateManagerImpl_class_CWindowStateManager_.virtual_0], vtable.Presentation::MainFrame.5.0
mov dword [edi + 0x324], 0
mov dword [edi + 0x334], 0
push eax
mov dword [edi + 0x338], 0
mov dword [edi + 0x33c], 0
mov dword [edi + method.Presentation::ConnectionDlg.virtual_0], vtable.Presentation::ConnectionDlg.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [edi + 0x358]
call fcn.00458c60
mov dword [edi + 0x388], 0
mov dword [edi + 0x38c], 0
mov dword [edi + 0x390], 0
push 0x124
mov byte [ebp - 4], 0xc
mov dword [edi + 0x380], 1
mov dword [edi + 0x384], 0
call fcn.004ab698
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0xd
test ebx, ebx
je 0x4599e0
mov ecx, ebx
call fcn.0048ed30
mov dword [ebx], vtable.._AVLocal__1____CreateInteractionObject_VPosTerminalListView_Presentation___InteractionObjectImpl__SAPAVPosTerminalListView_Presentation__H_Z_.0
mov dword [ebx + 0x20], vtable.._AVLocal__1____CreateInteractionObject_VPosTerminalListView_Presentation___InteractionObjectImpl__SAPAVPosTerminalListView_Presentation__H_Z_.1.0
jmp 0x4599e2
xor ebx, ebx
lea esi, [ebx + 0x20]
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.00437000
movzx eax, ax
push eax
xor eax, eax
test ebx, ebx
cmove esi, eax
mov ecx, esi
call fcn.00437140
mov dword [edi + 0x318], ebx
mov eax, edi
mov dword [edi + 0x39c], 0
mov dword [edi + 0x394], 0
mov dword [edi + 0x31c], 0
mov dword [edi + 0x398], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret