Function at 0x4fd9d0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x50]
lea ecx, [esi + 0x134]
mov dword [esi + 0x11c], 1
mov dword [esi + 0x128], edi
call fcn.0042e410
xor ebx, ebx
mov dword [esi + 0x120], ebx
call fcn.004c7a80
mov eax, dword [esi + 0xa8]
mov ebp, dword [esi + 0xf0]
add eax, 2
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xec]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], eax
call fcn.004a1350
cmp eax, ebx
je 0x4fda70
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fda70
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esp + 0x3c]
push edx
call eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
sub eax, 2
cmp edi, 1
mov dword [esp + 0x18], eax
jne 0x4fda96
mov eax, dword [esi + 4]
push 0x65
push eax
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4fdaa8
mov ecx, dword [esi + 4]
push ebx
push 0x1d4c0
push 0x65
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x18], 8
jb 0x4fdabb
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
jmp 0x4fdac2
add eax, 4
mov dword [esp + 0x14], eax
mov edi, dword [esi + 0x118]
mov ebp, dword [esi + 0x114]
call fcn.004a1350
cmp eax, ebx
je 0x4fdaf2
push str.uiview_set_window_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdaf2
mov ecx, dword [esp + 0x14]
push ecx
push 0xffffffffffffffff
push edi
push ebp
call eax
mov edx, dword [esp + 0x4c]
cmp dword [edx + 0x14], ebx
je 0x4fdb33
mov edi, dword [esi + 0x118]
mov ebp, dword [esi + 0x114]
call fcn.004a1350
cmp eax, ebx
je 0x4fdb2b
push str.uiview_get_text_extent_point32
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdb2b
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push edi
push ebp
call eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x18], 8
jb 0x4fdb42
mov eax, dword [eax + 4]
jmp 0x4fdb45
add eax, 4
mov edi, dword [esi + 0x110]
mov ebp, dword [esi + 0x10c]
mov dword [esp + 0x48], eax
call fcn.004a1350
cmp eax, ebx
je 0x4fdb79
push str.uiview_set_window_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdb79
mov ecx, dword [esp + 0x48]
push ecx
push 0xffffffffffffffff
push edi
push ebp
call eax
mov edi, dword [esi + 0x110]
mov ebp, dword [esi + 0x10c]
call fcn.004a1350
cmp eax, ebx
je 0x4fdba9
push str.uiview_get_text_extent_point32
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdba9
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push edi
push ebp
call eax
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, edi
sub eax, edx
cmp ecx, eax
jge 0x4fdbce
mov eax, edi
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x50], eax
jmp 0x4fdbd2
mov dword [esp + 0x1c], eax
mov edi, dword [esi + 0x110]
mov ebp, dword [esi + 0x10c]
call fcn.004a1350
cmp eax, ebx
je 0x4fdc00
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdc00
push edi
push ebp
lea ecx, [esp + 0x2c]
push ecx
call eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov edx, dword [esi + 0x110]
mov ebp, dword [esp + 0x1c]
sub edi, eax
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x10c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
call fcn.004a1350
cmp eax, ebx
je 0x4fdc59
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdc59
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
push 1
push edi
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edx
call eax
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x14], ebx
mov edi, dword [esi + 0x118]
mov ebp, dword [esi + 0x114]
je 0x4fdd1e
call fcn.004a1350
cmp eax, ebx
je 0x4fdc94
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdc94
push edi
push ebp
lea ecx, [esp + 0x2c]
push ecx
call eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x118]
sub edi, eax
mov ebp, eax
mov eax, dword [esp + 0x50]
add edx, eax
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x114]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], edx
call fcn.004a1350
cmp eax, ebx
je 0x4fdcf5
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdcf5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
push 1
push edi
push ecx
mov ecx, dword [esp + 0x5c]
push ebp
push edx
mov edx, dword [esp + 0x5c]
push ecx
push edx
call eax
mov edi, dword [esi + 0x118]
mov ebp, dword [esi + 0x114]
call fcn.004a1350
cmp eax, ebx
je 0x4fdd3c
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdd3c
push 5
jmp 0x4fdd38
call fcn.004a1350
cmp eax, ebx
je 0x4fdd3c
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdd3c
push ebx
push edi
push ebp
call eax
mov edi, dword [esi + 0x110]
mov ebp, dword [esi + 0x10c]
call fcn.004a1350
cmp eax, ebx
je 0x4fdd67
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdd67
push 5
push edi
push ebp
call eax
mov edi, dword [esi + 0xf0]
mov ebp, dword [esi + 0xec]
call fcn.004a1350
cmp eax, ebx
je 0x4fdd92
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fdd92
push 5
push edi
push ebp
call eax
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 4]
push str.uiview_show_background_bitmap
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4fddba
push ebx
push 1
push 1
push 0x3e8
push 0x59648c
push edi
call eax
push ebx
mov ecx, esi
call fcn.004f3240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xc