Function at 0x54b160
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5919d1
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
cmp byte [esi + 0x30], 0
jne 0x54b1bc
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 4]
push str.uiview_init_dialog
push eax
mov byte [esi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x54b1bc
push edi
push 0xdb
call eax
mov ebx, dword [esi + 4]
mov dword [esi + 0x40], ebx
mov ecx, 0x3e9
mov dword [esi + 0x44], ecx
lea edi, [esi + 0x40]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 0x48], ecx
mov eax, 0x3ea
mov dword [esi + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x50], eax
mov edx, 0x3eb
mov dword [esi + 0x54], edx
mov eax, dword [esi + 4]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0x3f2
mov eax, dword [esi + 4]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], 0x3f3
mov eax, dword [esi + 4]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 0x3f4
mov ebx, dword [esi + 0x54]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x50]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x24], edx
call fcn.004a1350
cmp eax, ebp
je 0x54b26c
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x54b26c
mov ecx, dword [esp + 0x24]
push ebx
push ecx
lea edx, [esp + 0x64]
push edx
call eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov dword [esi + 0x74], eax
mov ecx, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
mov dword [esp + 0x24], ecx
call fcn.004a1350
cmp eax, ebp
je 0x54b2a7
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x54b2a7
mov edx, dword [esp + 0x24]
push ebx
push edx
lea ecx, [esp + 0x74]
push ecx
call eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], eax
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edi
jmp 0x54b2d0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + edx*4 + 0x4c]
mov dword [esp + 0x24], eax
call fcn.00462da0
cmp dword [eax + 0x2c], ebp
je 0x54b34e
lea edi, [eax + 0x24]
mov eax, dword [edi + 4]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, edi
mov dword [esp + 0x3c], eax
call fcn.00547a40
mov ebx, eax
mov eax, dword [ebx]
cmp eax, ebp
je 0x54b30d
cmp eax, edi
je 0x54b312
call fcn.005532de
mov eax, dword [esp + 0x34]
cmp dword [ebx + 4], eax
setne al
test al, al
jne 0x54b34e
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 4]
mov ebx, dword [eax]
call fcn.004a1350
cmp eax, ebp
je 0x54b347
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x54b347
push ebp
push edi
push ebx
call eax
add dword [esp + 0x1c], 1
jmp 0x54b35e
cmp dword [esi + 0x78], ebp
jne 0x54b35e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + ecx*4 + 0x4c]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 8
add eax, 1
cmp eax, 3
mov dword [esp + 0x18], eax
jb 0x54b2d0
cmp dword [esp + 0x1c], ebp
jle 0x54b4d0
mov edi, dword [esi + 0x44]
mov ebx, dword [esi + 0x40]
call fcn.004a1350
cmp eax, ebp
je 0x54b3a9
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x54b3a9
push edi
push ebx
lea edx, [esp + 0x64]
push edx
call eax
mov edi, dword [esi + 0x4c]
mov ebx, dword [esi + 0x48]
call fcn.004a1350
cmp eax, ebp
je 0x54b3d1
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x54b3d1
push edi
push ebx
lea ecx, [esp + 0x74]
push ecx
call eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x20], eax
lea eax, [esi + 0x40]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], eax
lea ebx, [ebx]
mov edx, dword [esp + ebp*4 + 0x4c]
mov dword [esp + 0x28], edx
call fcn.00462da0
cmp dword [eax + 0x2c], 0
je 0x54b43d
lea edi, [eax + 0x24]
mov eax, dword [edi + 4]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.00547a40
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x54b42a
cmp eax, edi
je 0x54b42f
call fcn.005532de
mov eax, dword [esp + 0x40]
cmp dword [ebx + 4], eax
setne al
test al, al
je 0x54b4b9
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x60]
mov eax, dword [eax]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
call fcn.004a1350
test eax, eax
je 0x54b49b
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54b49b
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x30]
push 1
sub ebp, ecx
push ebp
sub edi, ebx
push edi
push ecx
mov ecx, dword [esp + 0x38]
push ebx
push ecx
push edx
call eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
add eax, ecx
mov edx, eax
sub edx, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
add ecx, edx
mov dword [esp + 0x64], ecx
add dword [esp + 0x18], 8
add ebp, 1
cmp ebp, 3
mov dword [esp + 0x24], ebp
jb 0x54b3f0
xor ebp, ebp
mov dword [esp + 0x30], 0x3eb
call fcn.00462da0
cmp dword [eax + 0x2c], ebp
je 0x54b561
lea edi, [eax + 0x24]
mov eax, dword [edi + 4]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.00547a40
mov ebx, eax
mov eax, dword [ebx]
cmp eax, ebp
je 0x54b509
cmp eax, edi
je 0x54b50e
call fcn.005532de
mov eax, dword [esp + 0x40]
cmp dword [ebx + 4], eax
setne al
test al, al
jne 0x54b561
lea edi, [esi + 0x58]
mov dword [esp + 0x24], 3
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
mov dword [esp + 0x30], ecx
call fcn.004a1350
cmp eax, ebp
je 0x54b552
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x54b552
mov edx, dword [esp + 0x30]
push ebp
push ebx
push edx
call eax
add edi, 8
sub dword [esp + 0x24], 1
jne 0x54b527
jmp 0x54b89f
mov edi, dword [esi + 0x5c]
mov ebx, dword [esi + 0x58]
call fcn.004a1350
cmp eax, ebp
je 0x54b589
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x54b589
push edi
push ebx
lea ecx, [esp + 0x64]
push ecx
call eax
mov edi, dword [esi + 0x64]
mov ebx, dword [esi + 0x60]
call fcn.004a1350
cmp eax, ebp
je 0x54b5b1
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x54b5b1
push edi
push ebx
lea edx, [esp + 0x74]
push edx
call eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jle 0x54b699
mov edi, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
call fcn.004a1350
test eax, eax
je 0x54b5ef
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54b5ef
push edi
push ebx
lea ecx, [esp + 0x74]
push ecx
call eax
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x64]
add eax, edx
mov ecx, eax
sub ecx, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
add edi, ecx
mov dword [esp + 0x64], edi
lea ebx, [esi + 0x58]
mov dword [esp + 0x24], 3
jmp 0x54b620
mov edx, dword [esp + 0x60]
mov ecx, dword [ebx]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
call fcn.004a1350
test eax, eax
je 0x54b674
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54b674
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push 1
sub ebp, edx
push ebp
sub edi, ecx
push edi
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push ecx
call eax
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x20]
lea eax, [edi + edx]
mov ecx, eax
sub ecx, dword [esp + 0x5c]
add ebx, 8
add edi, ecx
sub dword [esp + 0x24], 1
mov dword [esp + 0x64], edi
mov dword [esp + 0x5c], eax
jne 0x54b620
xor ecx, ecx
lea eax, [esi + 0x58]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
lea ebx, [ebx]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x5cc418]
mov dword [esp + 0x38], eax
call fcn.00462da0
lea ecx, [esp + 0x38]
push ecx
lea edi, [eax + 0x18]
lea edx, [esp + 0x34]
push edx
mov ecx, edi
call fcn.00547d80
mov ebx, dword [esp + 0x30]
cmp edi, ebx
mov ebp, dword [edi + 4]
je 0x54b6e7
call fcn.005532de
mov edi, dword [esp + 0x34]
cmp ebp, edi
je 0x54b708
test ebx, ebx
jne 0x54b6f8
call fcn.005532de
cmp edi, dword [ebx + 4]
jne 0x54b702
call fcn.005532de
cmp byte [edi + 0x10], 0
jne 0x54b737
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 4]
mov ebx, dword [eax]
call fcn.004a1350
test eax, eax
je 0x54b730
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54b730
push 0
push edi
push ebx
call eax
add dword [esp + 0x18], 1
jmp 0x54b747
cmp dword [esi + 0x7c], 0
jne 0x54b747
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [esi + 0x7c], ecx
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 8
add eax, 4
cmp eax, 0xc
mov dword [esp + 0x24], eax
jb 0x54b6b0
cmp dword [esp + 0x18], 0
jle 0x54b89f
mov ebx, dword [esi + 0x5c]
mov ebp, dword [esi + 0x58]
lea edi, [esi + 0x58]
call fcn.004a1350
test eax, eax
je 0x54b796
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54b796
push ebx
push ebp
lea edx, [esp + 0x64]
push edx
call eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x24], edi
imul eax, dword [esp + 0x18]
sub dword [esi + 0x74], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebx + 0x5cc418]
mov dword [esp + 0x38], ecx
call fcn.00462da0
lea edi, [eax + 0x18]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00547d80
mov ebp, dword [esp + 0x28]
cmp edi, ebp
mov ecx, dword [edi + 4]
mov dword [esp + 0x40], ecx
je 0x54b7e7
call fcn.005532de
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
je 0x54b88a
test ebp, ebp
jne 0x54b7fe
call fcn.005532de
cmp edi, dword [ebp + 4]
jne 0x54b808
call fcn.005532de
cmp byte [edi + 0x10], 0
je 0x54b88a
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x80], edx
mov edx, dword [eax]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
call fcn.004a1350
test eax, eax
je 0x54b86c
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54b86c
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x30]
push 1
sub ebp, ecx
push ebp
sub edi, ebx
push edi
push ecx
mov ecx, dword [esp + 0x48]
push ebx
push ecx
push edx
call eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
add eax, ecx
mov edx, eax
sub edx, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
add ecx, edx
mov dword [esp + 0x64], ecx
add dword [esp + 0x24], 8
add ebx, 4
cmp ebx, 0xc
mov dword [esp + 0x1c], ebx
jb 0x54b7b0
push 0x80
call fcn.0055289e
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x98], 0
je 0x54b8c8
mov ecx, eax
call fcn.005496d0
jmp 0x54b8ca
xor eax, eax
mov ecx, dword [esi + 4]
push 0
push ecx
or edi, 0xffffffff
mov ecx, eax
mov dword [esp + 0xa0], edi
mov dword [esi + 0x38], eax
call fcn.00548210
push 0xfc
call fcn.0055289e
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x98], 1
je 0x54b90d
mov ecx, eax
call fcn.0054ab10
jmp 0x54b90f
xor eax, eax
mov edx, dword [esi + 4]
push 0
push edx
mov ecx, eax
mov dword [esp + 0xa0], edi
mov dword [esi + 0x34], eax
call fcn.005482a0
push 0x40
call fcn.0055289e
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x98], 2
je 0x54b94c
mov ecx, eax
call fcn.00549af0
jmp 0x54b94e
xor eax, eax
mov ecx, dword [esi + 4]
push 0
push ecx
mov ecx, eax
mov dword [esp + 0xa0], edi
mov dword [esi + 0x3c], eax
call fcn.00548330
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10