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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57f2be
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x600f84]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x600f84]
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 [0x607984]
xor edi, edi
mov dword [esp + 0x20], ecx
cmp eax, edi
je 0x428d0d
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x428d19
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
cmp esi, edi
jne 0x428d48
mov edx, dword [0x60798c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x428d39
mov dword [0x60798c], eax
jmp 0x428d3e
mov eax, dword [0x60798c]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp eax, edi
je 0x428d6d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x428d6d
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x428d6d
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 0x428ef9
cmp word [eax], di
je 0x428ef9
cmp byte [ebx + 0x88], 0
je 0x428f0c
lea eax, [esp + 0x64]
push eax
call fcn.0045a270
mov dword [esp + 0xf0], edi
call fcn.00434690
mov edx, dword [ebx + 0x80]
mov ecx, dword [eax]
push edi
push edi
call fcn.004324c0
push eax
lea ecx, [esp + 0x70]
call fcn.004577b0
cmp byte [esp + 0xa8], 0
jne 0x428e7f
lea eax, [esp + 0x64]
call fcn.004275d0
mov esi, dword [eax + 0x94]
mov dword [esp + 0x18], eax
add eax, 0x44
cmp esi, eax
je 0x428e22
test esi, esi
je 0x428e22
lea esp, [esp]
lea ecx, [esi + 0x30]
call fcn.00416420
lea ecx, [esi + 0x14]
mov edi, eax
call fcn.00416420
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 0x428e1e
cmp dword [esi + 0x24], 0
jne 0x428e1e
xor esi, esi
test esi, esi
jne 0x428df0
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x428e48
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x428ee0
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x428e30
xor eax, eax
mov esi, eax
test eax, eax
je 0x428e7f
push 0
push ebx
push esi
call fcn.00437dc0
mov esi, dword [esi + 0x40]
add esp, 0xc
test esi, esi
je 0x428e77
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x428eee
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x428e63
xor eax, eax
mov esi, eax
test eax, eax
jne 0x428e50
lea ecx, [esp + 0xb0]
mov dword [esp + 0x64], vtable.TiXmlDocument.0
call fcn.0040a980
mov dword [esp + 0x64], vtable.TiXmlNode.0
mov dword [esp + 0xf0], 2
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x428ec1
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 0x428eb0
lea ecx, [esp + 0x84]
call fcn.0040a980
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xf0], 0xffffffff
xor edi, edi
jmp 0x428f0c
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x428e4a
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x428e79
cmp byte [ebx + 0x88], 0
je 0x428f0c
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push ebx
mov ecx, ebx
call eax
call fcn.00434690
mov edx, dword [ebx + 0x20]
mov ecx, dword [eax]
call fcn.00431dc0
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 0x428f57
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4291ec
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 0x428f75
mov dword [0x60798c], esi
mov eax, dword [ebx + 0x80]
cmp eax, edi
je 0x428f96
cmp word [eax], di
je 0x428f96
cmp byte [ebx + 0x88], 0
je 0x428f96
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
mov ecx, ebx
call edx
mov esi, dword [0x607990]
mov byte [ebx + 0x88], 0
mov dword [0x607994], edi
cmp esi, edi
je 0x428fef
xor eax, eax
mov dword [0x607990], eax
mov dword [0x607998], 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 0x428fc0
mov eax, dword [ebx + 0x9c]
mov edx, dword [eax + 4]
lea ecx, [ebx + 0x9c]
push ebx
call edx
push ebx
call fcn.00428ae0
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 0x429080
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429079
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 0x429079
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
push esi
mov ecx, ebx
call eax
inc esi
test al, al
jne 0x429044
mov byte [esp + 0x17], al
mov dword [esp + 0x18], esi
lea ecx, [ecx]
cmp byte [ebx + 0x86], 0
je 0x429193
mov ecx, dword [ebx + 0x78]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429175
push 0
push 0
push 0
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x429158
test eax, eax
je 0x42917f
mov eax, dword [0x607988]
test eax, eax
je 0x429111
lea ecx, [eax + 0xc]
xor esi, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
cmp dword [ecx], esi
jle 0x429111
lea edi, [eax + 8]
test esi, esi
js 0x429108
cmp esi, dword [edi + 4]
jge 0x429108
mov eax, dword [edi]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x429108
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 0x429127
mov eax, dword [esp + 0x28]
inc esi
cmp esi, dword [eax]
jl 0x4290e2
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 0x429140
je 0x429154
cmp eax, 0xf
je 0x429154
cmp eax, 0xa0
jmp 0x429145
cmp eax, 0x200
je 0x429154
xor esi, esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x18], esi
jmp 0x429158
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 0x429080
jmp 0x429186
mov dword [ebx + 0x8c], 2
mov byte [ebx + 0x86], 0
cmp byte [ebx + 0x86], 0
jne 0x429039
cmp dword [esp + 0x24], 0
mov esi, dword [esp + 0x1c]
mov byte [ebx + 0x86], 0
je 0x4291b2
test esi, esi
je 0x4291ce
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x4291ce
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4291ce
mov dword [0x60798c], esi
mov ecx, dword [ebx + 0x78]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4291e6
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.005521f1
mov esp, ebp
pop ebp
ret 4