Function at 0x502400
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x58d858
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
push 5
mov edi, ecx
xor ebx, ebx
mov ebp, 7
push 0x59beb0
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
call fcn.0040c2f0
lea ecx, [edi + 0x44]
mov dword [esp + 0xa8], ebx
call fcn.00439dd0
test al, al
je 0x50251e
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x59aab8
mov byte [ecx + 4], bl
call fcn.0040c1c0
lea eax, [esp + 0x80]
push eax
lea ecx, [edi + 0xcc]
call fcn.004c2a60
lea esi, [esp + 0x48]
mov byte [esp + 0xa8], 1
call fcn.004fd6c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 2
call fcn.0040a160
cmp dword [esp + 0x60], 8
jb 0x5024f6
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
mov byte [esp + 0xa8], bl
jb 0x50251e
mov edx, dword [esp + 0x68]
push edx
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x98], 8
jb 0x502535
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
jmp 0x502540
lea ecx, [esp + 0x84]
mov dword [esp + 0x14], ecx
mov esi, dword [edi + 0x26c]
mov ebp, dword [edi + 0x268]
call fcn.004a1350
cmp eax, ebx
je 0x502570
push str.uiview_set_window_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x502570
mov edx, dword [esp + 0x14]
push edx
push 0xffffffffffffffff
push esi
push ebp
call eax
mov esi, dword [edi + 0x26c]
mov ebp, dword [edi + 0x268]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.004a1350
cmp eax, ebx
je 0x5025c8
push str.uiview_get_text_extent_point32
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5025c8
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push esi
push ebp
call eax
mov esi, dword [edi + 0x26c]
mov ebp, dword [edi + 0x268]
call fcn.004a1350
cmp eax, ebx
je 0x5025f6
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5025f6
push esi
push ebp
lea edx, [esp + 0x40]
push edx
call eax
mov eax, 0xf0
cmp dword [esp + 0x20], eax
jle 0x502653
cmp dword [esp + 0x98], 8
mov dword [esp + 0x20], eax
jb 0x50261c
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
jmp 0x502627
lea ecx, [esp + 0x84]
mov dword [esp + 0x14], ecx
mov esi, dword [edi + 0x26c]
mov ebp, dword [edi + 0x268]
call fcn.004a1350
cmp eax, ebx
je 0x50267d
push str.uiview_set_tip_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x50267d
mov edx, dword [esp + 0x14]
push edx
jmp 0x502679
mov esi, dword [edi + 0x26c]
mov ebp, dword [edi + 0x268]
call fcn.004a1350
cmp eax, ebx
je 0x50267d
push str.uiview_set_tip_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x50267d
push ebx
push esi
push ebp
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
lea esi, [eax + ecx]
mov ecx, dword [edi + 0x268]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x26c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.004a1350
cmp eax, ebx
je 0x5026e7
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5026e7
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push 1
sub ebp, edx
push ebp
sub esi, ecx
push esi
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ecx
call eax
mov esi, dword [edi + 0x28c]
mov ebp, dword [edi + 0x288]
call fcn.004a1350
cmp eax, ebx
je 0x502715
push str.uiview_get_window_rect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x502715
push esi
push ebp
lea edx, [esp + 0x30]
push edx
call eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
add eax, 5
mov ecx, eax
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x28], eax
add esi, ecx
mov ecx, dword [edi + 0x288]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x28c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call fcn.004a1350
cmp eax, ebx
je 0x50278b
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x50278b
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push 1
sub ebp, edx
push ebp
sub esi, ecx
push esi
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
call eax
cmp dword [esp + 0xb0], ebx
je 0x502826
mov eax, dword [edi + 0x230]
cmp eax, ebx
je 0x502826
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x502826
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x230]
lea esi, [edi + 0x44]
push eax
call fcn.004c1d90
mov ecx, dword [edi + 0x230]
call fcn.004c1db0
test al, al
je 0x502826
lea ecx, [esp + 0x80]
push 0x59beb0
push ecx
call fcn.004f5690
mov ecx, dword [edi + 0x230]
add esp, 8
test al, al
push ebx
jne 0x502821
call fcn.004c2290
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.004f2070
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
mov ecx, dword [edi + 0x230]
push edx
push esi
call fcn.004c2ca0
mov ecx, dword [edi + 0x230]
push 5
call fcn.004c4180
cmp dword [esp + 0x98], 8
jb 0x502840
mov eax, dword [esp + 0x84]
push eax
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00552d63
add esp, 0x98
ret 4