Function at 0x483710
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x585c38
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483b65
xor ebp, ebp
cmp dword [esi + 0x80], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
je 0x4838f5
mov ebx, dword [esi + 0x68]
lea edi, [esi + 0x64]
mov esi, dword [edi]
mov dword [esp + 0x1c], 0x50
mov dword [esp + 0x20], ebp
call fcn.004a1350
cmp eax, ebp
je 0x483806
push str.uiview_get_text_extent_point32
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x483806
lea ecx, [esp + 0x1c]
push ecx
push ebp
push ebp
push ebx
push esi
call eax
mov esi, dword [edi + 4]
mov ebx, dword [edi]
call fcn.004a1350
cmp eax, ebp
je 0x48382d
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x48382d
push esi
push ebx
lea edx, [esp + 0x2c]
push edx
call eax
mov eax, dword [esp + 0x1c]
cmp eax, 0x190
mov ecx, dword [esp + 0x24]
lea edx, [eax + ecx]
mov dword [esp + 0x2c], edx
jle 0x4838c9
mov eax, dword [esp + 0x14]
add eax, 0x6c
lea esi, [esp + 0x88]
call fcn.004835d0
mov esi, 8
cmp dword [eax + 0x18], esi
mov dword [esp + 0xac], ebp
jb 0x483870
mov eax, dword [eax + 4]
jmp 0x483873
add eax, 4
push eax
mov ecx, edi
call fcn.00429770
cmp dword [esp + 0xa0], esi
mov dword [esp + 0xac], 0xffffffff
jb 0x48389f
mov eax, dword [esp + 0x8c]
push eax
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 0x190]
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebp
mov word [esp + 0x8c], bp
mov dword [esp + 0x2c], eax
jmp 0x4838d8
mov ecx, edi
call fcn.004297a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
push 1
sub esi, edx
push esi
sub eax, ecx
push eax
push edx
push ecx
mov ecx, edi
call fcn.004296d0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esi + 0x40]
mov ebx, dword [esi + 0x3c]
add esi, 0x3c
add ecx, 7
mov dword [esp + 0x18], ecx
call fcn.00482eb0
test eax, eax
je 0x48396c
mov edi, dword [esi + 4]
mov ebx, dword [esi]
call fcn.004a1350
cmp eax, ebp
je 0x483939
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x483939
push edi
push ebx
lea edx, [esp + 0x3c]
push edx
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
push 1
sub ecx, eax
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.004296d0
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
lea ecx, [edi + eax + 3]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0x48]
mov ebx, dword [esi + 0x44]
add esi, 0x44
call fcn.00482eb0
test eax, eax
je 0x4839dc
mov edi, dword [esi + 4]
mov ebx, dword [esi]
call fcn.004a1350
cmp eax, ebp
je 0x4839a9
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x4839a9
push edi
push ebx
lea edx, [esp + 0x4c]
push edx
call eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
push 1
sub ecx, eax
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.004296d0
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
lea ecx, [edi + eax + 3]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0x38]
mov ebx, dword [esi + 0x34]
add esi, 0x34
call fcn.00482eb0
test eax, eax
je 0x483a3c
mov edi, dword [esi + 4]
mov ebx, dword [esi]
call fcn.004a1350
cmp eax, ebp
je 0x483a19
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x483a19
push edi
push ebx
lea edx, [esp + 0x6c]
push edx
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 0x64]
push 1
sub ecx, eax
push ecx
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.004296d0
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0x60]
mov ebx, dword [esi + 0x5c]
add esi, 0x5c
call fcn.00482eb0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x50]
mov ebx, dword [eax + 0x4c]
add eax, 0x4c
call fcn.00482eb0
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov dword [esp + 0x84], eax
call fcn.004a1350
cmp eax, ebp
je 0x483a92
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x483a92
push edi
push ebx
lea ecx, [esp + 0x5c]
push ecx
call eax
cmp dword [esp + 0x18], ebp
je 0x483af4
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov dword [esp + 0x1c], 0x50
mov dword [esp + 0x20], ebp
call fcn.004a1350
cmp eax, ebp
je 0x483acd
push str.uiview_get_text_extent_point32
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x483acd
lea edx, [esp + 0x1c]
push edx
push ebp
push ebp
push edi
push ebx
call eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
add eax, ecx
push 1
sub edi, edx
push edi
mov dword [esp + 0x64], eax
sub eax, ecx
push eax
push edx
push ecx
mov ecx, esi
call fcn.004296d0
cmp dword [esp + 0x84], ebp
je 0x483b55
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0x50]
mov ebx, dword [esi + 0x4c]
add esi, 0x4c
call fcn.004a1350
cmp eax, ebp
je 0x483b2c
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x483b2c
push edi
push ebx
lea ecx, [esp + 0x7c]
push ecx
call eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x74]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x64]
push ecx
push eax
add edx, 7
push edx
mov ecx, esi
call fcn.004296d0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x88]
push eax
call fcn.0044a930
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret