Function at 0x52e220
Capabilities:
Hide graphical window
Link many functions at runtime

Disassembly:
sub esp, 0x44
push ebx
push ebp
xor eax, eax
cmp dword [esp + 0x50], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], al
je 0x52e23f
cmp dword [edi + 0x40], 6
ja 0x52e24c
cmp dword [edi + 0x6c], eax
je 0x52e24c
mov byte [esp + 0x13], 1
mov dword [edi + 0x6c], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0x3c]
mov esi, dword [edx]
lea eax, [edi + 0x38]
mov ebx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
lea ecx, [ecx]
test ebx, ebx
mov ebp, dword [edi + 0x3c]
lea eax, [edi + 0x38]
je 0x52e28e
cmp ebx, eax
je 0x52e293
call fcn.005532de
cmp esi, ebp
je 0x52e571
test ebx, ebx
jne 0x52e2a4
call fcn.005532de
cmp esi, dword [ebx + 4]
jne 0x52e2ae
call fcn.005532de
cmp dword [esi + 0xc], 0x320
jne 0x52e3d1
test byte [edi + 0x40], 1
je 0x52e34d
cmp esi, dword [ebx + 4]
jne 0x52e2cf
call fcn.005532de
mov eax, dword [edi + 4]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x18], eax
call fcn.004a1350
test eax, eax
je 0x52e2fe
push str.uiview_show_window_part_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e2fe
mov ecx, dword [esp + 0x18]
push 5
push 0x14
push ebp
push ecx
call eax
cmp esi, dword [ebx + 4]
jne 0x52e308
call fcn.005532de
mov esi, dword [esi + 0xc]
mov ebx, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x52e55b
push str.uiview_show_window_part_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e55b
push 0
push 0x15
push esi
push ebx
call eax
lea ecx, [esp + 0x20]
call fcn.0052cce0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jmp 0x52e280
cmp esi, dword [ebx + 4]
jne 0x52e357
call fcn.005532de
mov ebp, dword [esi + 0xc]
mov ebx, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x52e37e
push str.uiview_show_window_part_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e37e
push 0
push 0x14
push ebp
push ebx
call eax
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 4]
jne 0x52e38c
call fcn.005532de
mov esi, dword [esi + 0xc]
mov ebp, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x52e55b
push str.uiview_show_window_part_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e55b
push 5
push 0x15
push esi
push ebp
call eax
lea ecx, [esp + 0x20]
call fcn.0052cce0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jmp 0x52e280
cmp byte [esp + 0x13], 0
jne 0x52e3f7
mov ebp, dword [esp + 0x58]
cmp ebp, 0x2710
jle 0x52e3f7
cmp esi, dword [ebx + 4]
jne 0x52e3ee
call fcn.005532de
cmp dword [esi + 0xc], ebp
jle 0x52e556
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
sar ebp, 1
and eax, reloc.WS2_32.dll_accept
mov dword [esp + 0x18], ebp
jns 0x52e416
dec eax
or eax, 0xfffffffe
inc eax
mov dword [esp + 0x1c], eax
jne 0x52e498
cmp esi, dword [ebx + 4]
jne 0x52e426
call fcn.005532de
mov eax, dword [edi + 4]
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
call fcn.004a1350
test eax, eax
je 0x52e455
push str.uiview_show_window_part_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e455
mov ecx, dword [esp + 0x18]
push 5
push 0x14
push ebx
push ecx
call eax
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 4]
jne 0x52e463
call fcn.005532de
mov eax, dword [edi + 4]
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
call fcn.004a1350
test eax, eax
je 0x52e502
push str.uiview_show_window_part_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e502
mov ecx, dword [esp + 0x18]
push 0
push 0x15
push ebx
push ecx
call eax
jmp 0x52e502
cmp esi, dword [ebx + 4]
jne 0x52e4a2
call fcn.005532de
mov ebp, dword [esi + 0xc]
mov ebx, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x52e4c9
push str.uiview_show_window_part_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e4c9
push 0
push 0x14
push ebp
push ebx
call eax
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 4]
jne 0x52e4d7
call fcn.005532de
mov ebp, dword [esi + 0xc]
mov ebx, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x52e4fe
push str.uiview_show_window_part_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e4fe
push 5
push 0x15
push ebp
push ebx
call eax
mov ebp, dword [esp + 0x18]
mov eax, dword [edi + 0x70]
imul ebp, ebp, 0x66
imul eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x20]
sub ebp, eax
cmp esi, dword [ecx + 4]
mov ebx, ebp
jne 0x52e51e
call fcn.005532de
mov esi, dword [esi + 0xc]
mov ebp, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x52e556
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e556
mov ecx, dword [esp + 0x1c]
push 1
imul ecx, ecx, 0x158
push 0x66
push 0x158
push ebx
push ecx
push esi
push ebp
call eax
add dword [esp + 0x14], 1
lea ecx, [esp + 0x20]
call fcn.0052cce0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jmp 0x52e280
cmp dword [edi + 0x40], 0
mov ebp, dword [esp + 0x14]
je 0x52e5d7
mov ecx, dword [edi + 0x70]
imul ecx, dword [edi + 0x6c]
mov ebx, dword [edi + 4]
mov eax, ebp
cdq
sub eax, edx
mov esi, eax
sar esi, 1
imul esi, esi, 0x66
sub esi, ecx
call fcn.004a1350
test eax, eax
je 0x52e5d4
push str.uiview_move_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x52e5d4
push 1
push 0x66
mov edx, ebp
and edx, reloc.WS2_32.dll_accept
push 0x158
push esi
jns 0x52e5c5
dec edx
or edx, 0xfffffffe
inc edx
imul edx, edx, 0x158
push edx
push 0x320
push ebx
call eax
add ebp, 1
cmp ebp, 6
jle 0x52e69b
xor eax, eax
mov ecx, ebp
and ecx, reloc.WS2_32.dll_accept
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], 0x1c
mov dword [esp + 0x3c], 7
mov dword [esp + 0x40], eax
jns 0x52e61d
dec ecx
or ecx, 0xfffffffe
inc ecx
mov esi, dword [edi + 0x70]
neg ecx
sbb ecx, ecx
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
neg ecx
add ecx, eax
imul ecx, ecx, 0x66
mov eax, ecx
cdq
idiv esi
xor ecx, ecx
push 1
test edx, edx
setne cl
lea edx, [ecx + eax - 1]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov dword [esp + 0x48], edx
cdq
idiv esi
mov edx, dword [edi + 0x7c]
lea ecx, [esp + 0x3c]
push ecx
push 2
push edx
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [edi + 0x7c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x7c]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [edi + 0x7c]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0xc
mov eax, dword [edi + 0x7c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x7c]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0xc