Function at 0x52b4d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x144], ebx
mov ebx, ecx
mov esi, eax
xor eax, eax
push ebp
push 0x52b948
push dword fs:[eax]
mov dword fs:[eax], esp
movsx eax, dx
cmp eax, 8
ja case.default.0x52b520
jmp dword [eax*4 + 0x52b527]
mov edx, 1
mov eax, esi
call fcn.00520164
jmp case.default.0x52b520
mov eax, esi
call fcn.0052adec
mov edx, eax
mov eax, esi
call fcn.00520164
jmp case.default.0x52b520
mov edx, dword [esi + 0x2a4]
inc edx
mov eax, esi
call fcn.00520164
jmp case.default.0x52b520
mov edx, dword [esi + 0x2a4]
dec edx
mov eax, esi
call fcn.00520164
jmp case.default.0x52b520
test byte [esi + 0x337], 0x80
setne al
and eax, 0x7f
mov edx, dword [esi + 0x280]
sub edx, eax
add edx, dword [esi + 0x2a4]
mov eax, esi
call fcn.00520164
jmp case.default.0x52b520
test byte [esi + 0x337], 0x80
setne al
and eax, 0x7f
mov edx, dword [esi + 0x280]
sub edx, eax
push edx
mov edx, dword [esi + 0x2a4]
pop eax
sub edx, eax
mov eax, esi
call fcn.00520164
jmp case.default.0x52b520
mov byte [esi + 0x3f8], 1
mov eax, esi
call fcn.0052adec
cmp eax, 0x7fff
jle 0x52b626
push 0x7fff
movsx eax, bx
push eax
mov eax, esi
call fcn.0052adec
add eax, dword [esi + 0x280]
dec eax
push eax
call sub.kernel32.dll_MulDiv
mov edx, eax
mov eax, esi
call fcn.00520164
jmp 0x52b630
movsx edx, bx
mov eax, esi
call fcn.00520164
test byte [esi + 0x338], 8
je case.default.0x52b520
call fcn.00520c2c
mov ebx, eax
mov edx, dword [esi + 0x294]
mov eax, ebx
call fcn.004656b0
mov al, byte [esi + 0x298]
sub al, 1
jae 0x52b6bc
lea eax, [ebp - 0x138]
push eax
mov edx, dword [esi + 0x2a4]
mov eax, esi
call fcn.0052ae64
mov dword [ebp - 0x140], eax
mov byte [ebp - 0x13c], 0
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x144]
mov eax, dword [0x5d32ac]
call fcn.00406368
mov eax, dword [ebp - 0x144]
xor ecx, ecx
pop edx
call fcn.00409dc8
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x108]
mov ecx, 0xff
call fcn.004046b0
jmp 0x52b751
lea eax, [ebp - 0x148]
push eax
mov edx, dword [esi + 0x2a4]
mov eax, esi
call fcn.0052ae64
mov dword [ebp - 0x158], eax
mov byte [ebp - 0x154], 0
mov eax, esi
call fcn.0052adec
mov edx, eax
sub edx, dword [esi + 0x2a4]
mov eax, dword [esi + 0x280]
call fcn.0042d8a4
mov edx, eax
add edx, dword [esi + 0x2a4]
mov eax, esi
call fcn.0052ae64
mov dword [ebp - 0x150], eax
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x158]
push eax
lea edx, [ebp - 0x15c]
mov eax, dword [0x5d3ac8]
call fcn.00406368
mov eax, dword [ebp - 0x15c]
mov ecx, 1
pop edx
call fcn.00409dc8
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x108]
mov ecx, 0xff
call fcn.004046b0
push 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x108]
call fcn.00404678
mov ecx, dword [ebp - 0x160]
mov edx, 0xc8
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xd8]
test byte [esi + 0x338], 1
je 0x52b84a
push 0x14
call sub.user32.dll_GetSystemMetrics
mov edi, eax
lea eax, [ebp - 0x134]
xor ecx, ecx
mov edx, 0x1c
call fcn.00402e10
mov dword [ebp - 0x134], 0x1c
mov dword [ebp - 0x130], 0x17
cmp byte [esi + 0x23d], 0
je 0x52b7db
lea eax, [ebp - 0x134]
push eax
push 1
mov eax, esi
call fcn.0046be24
push eax
call sub.comctl32.dll_FlatSB_GetScrollInfo
mov eax, esi
call fcn.00464f58
mov edx, edi
add edx, edx
sub eax, edx
mov dword [ebp - 0x164], eax
fild dword [ebp - 0x164]
fild dword [ebp - 0x11c]
fild dword [ebp - 0x128]
fdivp st(1)
fmulp st(1)
call fcn.00402bcc
mov edx, dword [ebp - 0x10c]
sub edx, dword [ebp - 0x114]
shr edx, 1
add eax, edx
add edi, eax
push edi
mov eax, esi
call fcn.00464f14
sub eax, dword [ebp - 0x110]
sub eax, 4
lea ecx, [ebp - 0x140]
pop edx
call fcn.00418498
lea edx, [ebp - 0x140]
lea ecx, [ebp - 8]
mov eax, esi
call fcn.00465028
jmp 0x52b87a
mov eax, esi
call fcn.00464f14
sub eax, dword [ebp - 0x110]
sub eax, 4
lea ecx, [ebp - 0x140]
mov edx, 0xa
call fcn.00418498
lea edx, [ebp - 0x140]
lea ecx, [ebp - 8]
mov eax, esi
call fcn.00465028
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x118]
push eax
call sub.user32.dll_OffsetRect
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x108]
call fcn.00404678
mov ecx, dword [ebp - 0x168]
lea edx, [ebp - 0x118]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xd0]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x88]
jmp case.default.0x52b520
mov byte [esi + 0x3f8], 0
test byte [esi + 0x338], 8
je case.default.0x52b520
push 0
call fcn.00520c2c
call fcn.0046be24
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x7c]
cmp word [esi + 0x3d2], 0
je 0x52b904
mov cl, 1
mov edx, esi
mov eax, dword [esi + 0x3d4]
call dword [esi + 0x3d0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b94f
lea eax, [ebp - 0x168]
call fcn.00404414
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.00404438
lea eax, [ebp - 0x148]
mov edx, 2
call fcn.00404438
lea eax, [ebp - 0x138]
call fcn.00404414
ret