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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc11e
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5176f0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x5176f0]
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 [0x51c1e4]
xor edi, edi
mov dword [esp + 0x20], ecx
cmp eax, edi
je 0x42927d
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x429289
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
cmp esi, edi
jne 0x4292b8
mov edx, dword [0x51c1ec]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4292a9
mov dword [0x51c1ec], eax
jmp 0x4292ae
mov eax, dword [0x51c1ec]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp eax, edi
je 0x4292dd
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x4292dd
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4292dd
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 0x429469
cmp word [eax], di
je 0x429469
cmp byte [ebx + 0x88], 0
je 0x42947c
lea eax, [esp + 0x64]
push eax
call fcn.0045a8e0
mov dword [esp + 0xf0], edi
call fcn.00434c00
mov edx, dword [ebx + 0x80]
mov ecx, dword [eax]
push edi
push edi
call fcn.00432a40
push eax
lea ecx, [esp + 0x70]
call fcn.00457e30
cmp byte [esp + 0xa8], 0
jne 0x4293ef
lea eax, [esp + 0x64]
call fcn.00427be0
mov esi, dword [eax + 0x94]
mov dword [esp + 0x18], eax
add eax, 0x44
cmp esi, eax
je 0x429392
test esi, esi
je 0x429392
lea esp, [esp]
lea ecx, [esi + 0x30]
call fcn.004169d0
lea ecx, [esi + 0x14]
mov edi, eax
call fcn.004169d0
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 0x42938e
cmp dword [esi + 0x24], 0
jne 0x42938e
xor esi, esi
test esi, esi
jne 0x429360
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x4293b8
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x429450
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x4293a0
xor eax, eax
mov esi, eax
test eax, eax
je 0x4293ef
push 0
push ebx
push esi
call fcn.00438340
mov esi, dword [esi + 0x40]
add esp, 0xc
test esi, esi
je 0x4293e7
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x42945e
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x4293d3
xor eax, eax
mov esi, eax
test eax, eax
jne 0x4293c0
lea ecx, [esp + 0xb0]
mov dword [esp + 0x64], vtable.TiXmlDocument.0
call fcn.0040b0a0
mov dword [esp + 0x64], vtable.TiXmlNode.0
mov dword [esp + 0xf0], 2
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x429431
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 0x429420
lea ecx, [esp + 0x84]
call fcn.0040b0a0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xf0], 0xffffffff
xor edi, edi
jmp 0x42947c
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x4293ba
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x4293e9
cmp byte [ebx + 0x88], 0
je 0x42947c
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push ebx
mov ecx, ebx
call eax
call fcn.00434c00
mov edx, dword [ebx + 0x20]
mov ecx, dword [eax]
call fcn.00432340
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 0x4294c7
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42975c
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 0x4294e5
mov dword [0x51c1ec], esi
mov eax, dword [ebx + 0x80]
cmp eax, edi
je 0x429506
cmp word [eax], di
je 0x429506
cmp byte [ebx + 0x88], 0
je 0x429506
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
mov ecx, ebx
call edx
mov esi, dword [0x51c1f0]
mov byte [ebx + 0x88], 0
mov dword [0x51c1f4], edi
cmp esi, edi
je 0x42955f
xor eax, eax
mov dword [0x51c1f0], eax
mov dword [0x51c1f8], 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 0x429530
mov eax, dword [ebx + 0x9c]
mov edx, dword [eax + 4]
lea ecx, [ebx + 0x9c]
push ebx
call edx
push ebx
call fcn.00429050
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 0x4295f0
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4295e9
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 0x4295e9
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
push esi
mov ecx, ebx
call eax
inc esi
test al, al
jne 0x4295b4
mov byte [esp + 0x17], al
mov dword [esp + 0x18], esi
lea ecx, [ecx]
cmp byte [ebx + 0x86], 0
je 0x429703
mov ecx, dword [ebx + 0x78]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4296e5
push 0
push 0
push 0
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x4296c8
test eax, eax
je 0x4296ef
mov eax, dword [0x51c1e8]
test eax, eax
je 0x429681
lea ecx, [eax + 0xc]
xor esi, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
cmp dword [ecx], esi
jle 0x429681
lea edi, [eax + 8]
test esi, esi
js 0x429678
cmp esi, dword [edi + 4]
jge 0x429678
mov eax, dword [edi]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x429678
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 0x429697
mov eax, dword [esp + 0x28]
inc esi
cmp esi, dword [eax]
jl 0x429652
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 0x4296b0
je 0x4296c4
cmp eax, 0xf
je 0x4296c4
cmp eax, 0xa0
jmp 0x4296b5
cmp eax, 0x200
je 0x4296c4
xor esi, esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x18], esi
jmp 0x4296c8
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 0x4295f0
jmp 0x4296f6
mov dword [ebx + 0x8c], 2
mov byte [ebx + 0x86], 0
cmp byte [ebx + 0x86], 0
jne 0x4295a9
cmp dword [esp + 0x24], 0
mov esi, dword [esp + 0x1c]
mov byte [ebx + 0x86], 0
je 0x429722
test esi, esi
je 0x42973e
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x42973e
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42973e
mov dword [0x51c1ec], esi
mov ecx, dword [ebx + 0x78]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429756
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.004ae123
mov esp, ebp
pop ebp
ret 4