Function at 0x428c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b64be
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4eb690]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x4eb690]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [0x4f0064]
xor edi, edi
mov dword [esp + 0x20], ecx
cmp eax, edi
je 0x428cdd
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x428ce9
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
cmp esi, edi
jne 0x428d18
mov edx, dword [0x4f006c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x428d09
mov dword [0x4f006c], eax
jmp 0x428d0e
mov eax, dword [0x4f006c]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp eax, edi
je 0x428d3d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x428d3d
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x428d3d
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x24], 1
mov eax, dword [ebx + 0x80]
cmp eax, edi
je 0x428ec9
cmp word [eax], di
je 0x428ec9
cmp byte [ebx + 0x88], 0
je 0x428edc
lea eax, [esp + 0x64]
push eax
call fcn.0045a390
mov dword [esp + 0xf0], edi
call fcn.00434650
mov edx, dword [ebx + 0x80]
mov ecx, dword [eax]
push edi
push edi
call fcn.00432490
push eax
lea ecx, [esp + 0x70]
call fcn.004578e0
cmp byte [esp + 0xa8], 0
jne 0x428e4f
lea eax, [esp + 0x64]
call fcn.004275a0
mov esi, dword [eax + 0x94]
mov dword [esp + 0x18], eax
add eax, 0x44
cmp esi, eax
je 0x428df2
test esi, esi
je 0x428df2
lea esp, [esp]
lea ecx, [esi + 0x30]
call fcn.00416440
lea ecx, [esi + 0x14]
mov edi, eax
call fcn.00416440
mov edx, dword [ebx]
push edi
push eax
mov eax, dword [edx + 0x44]
mov ecx, ebx
call eax
mov esi, dword [esi + 0x50]
cmp dword [esi + 0x40], 0
jne 0x428dee
cmp dword [esi + 0x24], 0
jne 0x428dee
xor esi, esi
test esi, esi
jne 0x428dc0
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x428e18
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x428eb0
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x428e00
xor eax, eax
mov esi, eax
test eax, eax
je 0x428e4f
push 0
push ebx
push esi
call fcn.00437d90
mov esi, dword [esi + 0x40]
add esp, 0xc
test esi, esi
je 0x428e47
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x428ebe
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x428e33
xor eax, eax
mov esi, eax
test eax, eax
jne 0x428e20
lea ecx, [esp + 0xb0]
mov dword [esp + 0x64], vtable.TiXmlDocument.0
call fcn.0040aa00
mov dword [esp + 0x64], vtable.TiXmlNode.0
mov dword [esp + 0xf0], 2
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x428e91
mov edi, edi
mov ecx, esi
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [esi + 0x40]
push 1
call eax
test esi, esi
jne 0x428e80
lea ecx, [esp + 0x84]
call fcn.0040aa00
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xf0], 0xffffffff
xor edi, edi
jmp 0x428edc
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x428e1a
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x428e49
cmp byte [ebx + 0x88], 0
je 0x428edc
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push ebx
mov ecx, ebx
call eax
call fcn.00434650
mov edx, dword [ebx + 0x20]
mov ecx, dword [eax]
call fcn.00431d90
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 0x10]
push ebx
push ecx
mov ecx, dword [ebx + 0xc]
push edi
push esi
push edx
push ecx
push edi
push edi
push 0x86030000
push eax
push str.LiteUI_Window
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esp + 0x20], eax
cmp eax, edi
jne 0x428f27
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4291bc
mov edx, dword [ebx + 0x78]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov esi, dword [ebx + 0x78]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x428f45
mov dword [0x4f006c], esi
mov eax, dword [ebx + 0x80]
cmp eax, edi
je 0x428f66
cmp word [eax], di
je 0x428f66
cmp byte [ebx + 0x88], 0
je 0x428f66
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
mov ecx, ebx
call edx
mov esi, dword [0x4f0070]
mov byte [ebx + 0x88], 0
mov dword [0x4f0074], edi
cmp esi, edi
je 0x428fbf
xor eax, eax
mov dword [0x4f0070], eax
mov dword [0x4f0078], eax
lea edi, [eax + 6]
lea esp, [esp]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x34], edi
call edx
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x428f90
mov eax, dword [ebx + 0x9c]
mov edx, dword [eax + 4]
lea ecx, [ebx + 0x9c]
push ebx
call edx
push ebx
call fcn.00428ab0
mov eax, dword [ebx + 0x78]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0x78]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [ebx + 0x78]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
xor esi, esi
mov byte [ebx + 0x86], 1
mov byte [esp + 0x17], 1
mov dword [esp + 0x18], esi
cmp byte [esp + 0x17], 0
je 0x429050
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429049
push 0
push 0
push 0
push 0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x429049
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
push esi
mov ecx, ebx
call eax
inc esi
test al, al
jne 0x429014
mov byte [esp + 0x17], al
mov dword [esp + 0x18], esi
lea ecx, [ecx]
cmp byte [ebx + 0x86], 0
je 0x429163
mov ecx, dword [ebx + 0x78]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429145
push 0
push 0
push 0
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x429128
test eax, eax
je 0x42914f
mov eax, dword [0x4f0068]
test eax, eax
je 0x4290e1
lea ecx, [eax + 0xc]
xor esi, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
cmp dword [ecx], esi
jle 0x4290e1
lea edi, [eax + 8]
test esi, esi
js 0x4290d8
cmp esi, dword [edi + 4]
jge 0x4290d8
mov eax, dword [edi]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4290d8
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push eax
call edx
test al, al
jne 0x4290f7
mov eax, dword [esp + 0x28]
inc esi
cmp esi, dword [eax]
jl 0x4290b2
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esp + 0x4c]
cmp eax, 0x118
ja 0x429110
je 0x429124
cmp eax, 0xf
je 0x429124
cmp eax, 0xa0
jmp 0x429115
cmp eax, 0x200
je 0x429124
xor esi, esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x18], esi
jmp 0x429128
mov esi, dword [esp + 0x18]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x429050
jmp 0x429156
mov dword [ebx + 0x8c], 2
mov byte [ebx + 0x86], 0
cmp byte [ebx + 0x86], 0
jne 0x429009
cmp dword [esp + 0x24], 0
mov esi, dword [esp + 0x1c]
mov byte [ebx + 0x86], 0
je 0x429182
test esi, esi
je 0x42919e
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x42919e
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42919e
mov dword [0x4f006c], esi
mov ecx, dword [ebx + 0x78]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4291b6
mov edx, dword [ebx + 0x78]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x8c]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0048a346
mov esp, ebp
pop ebp
ret 4