Function at 0x4af698
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
mov byte [0x5ce4a8], 1
mov eax, esi
mov edx, dword [0x46c4f0]
call fcn.004048c0
test al, al
je 0x4af6e3
push 0
push 0x40000
mov eax, dword [0x5d1b08]
mov eax, dword [eax]
push eax
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4af6e5
xor ebx, ebx
test ebx, ebx
je 0x4af701
cmp dword [ebx + 0x268], 0
je 0x4af701
call fcn.00504fb4
test al, al
je 0x4af701
mov byte [ebp - 0x71], 1
jmp 0x4af705
mov byte [ebp - 0x71], 0
call fcn.00504fb4
test al, al
je 0x4b000a
mov eax, esi
mov edx, dword [0x46c4f0]
call fcn.004048c0
test al, al
je 0x4b000a
cmp dword [ebx + 0x268], 0
je 0x4af76a
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x4af74a
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebx + 0xcc], eax
jmp 0x4af76a
xor edx, edx
xor eax, eax
call fcn.0050e440
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.004cceec
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
pop edx
call fcn.0050e440
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00437b04
call fcn.004329bc
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004acfe4
cmp dword [ebp - 0x1c], 0
je 0x4b02e7
cmp dword [ebx + 0x268], 0
jne 0x4af7f5
push 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407eb0
lea edx, [ebp - 0xc0]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.004fe4ac
mov eax, dword [ebp - 0x1c]
call fcn.00437b04
call fcn.00432dc4
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x78], 0x11b
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.00407ecc
cmp dword [ebp - 0x10], 0
jle 0x4af849
mov byte [ebp - 0x52], 0
jmp 0x4af850
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x51], 1
mov eax, dword [ebx + 0x268]
test eax, eax
je 0x4afd6b
cmp dword [eax + 0x18], 0
jne 0x4af875
call fcn.004da0d8
mov eax, dword [ebx + 0x268]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x3c], ecx
cmp dword [eax + 0x30], 0
je 0x4af8b0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x30]
push eax
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00461e10
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x268]
call fcn.004da0d8
cmp byte [ebx + 0x208], 0
je 0x4af8ee
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.004d26b0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x6c], eax
jmp 0x4af9ef
mov eax, dword [ebx + 0x24c]
call fcn.00461e10
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4af9a3
mov eax, dword [ebx + 0x50]
call fcn.00511f64
mov eax, dword [eax + 0xc4]
movzx edi, word [eax + 0x2e]
mov eax, dword [ebx + 0x50]
call fcn.00511f64
mov eax, dword [eax + 0xc4]
cmp di, word [eax + 0x2c]
je 0x4af9a3
mov eax, dword [ebx + 0x24c]
call fcn.00461e10
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004bf0dc
push eax
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.004d26b0
mov edi, dword [ebp - 0xbc]
mov eax, dword [ebx + 0x268]
call fcn.004bf1c0
add edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004bf144
sub edi, eax
pop eax
sub edi, eax
mov eax, dword [ebx + 0x50]
call fcn.00511f64
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x2c]
add edi, eax
mov eax, dword [ebx + 0x50]
call fcn.00511f64
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x2e]
sub edi, eax
mov dword [ebp - 0x6c], edi
jmp 0x4af9ef
mov eax, dword [ebx + 0x24c]
call fcn.00461e10
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004bf0dc
push eax
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.004d26b0
mov edi, dword [ebp - 0xbc]
mov eax, dword [ebx + 0x268]
call fcn.004bf1c0
add edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004bf144
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0x6c], edi
mov eax, dword [ebx + 0x24c]
call fcn.00461e10
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004bf0dc
push eax
mov eax, dword [ebx + 0x268]
call fcn.004bf1e0
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.004d26b0
add edi, dword [ebp - 0xc0]
mov dword [ebp - 0x70], edi
lea eax, [ebp - 0xb0]
push eax
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0xb0]
sub edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00475e8c
mov edx, dword [ebp - 0xac]
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00475ec8
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x80]
call fcn.00459324
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x7c]
call fcn.00459358
push 3
mov eax, dword [ebx + 0x24c]
call fcn.00461e10
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x70]
push eax
push edi
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00461e10
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x64], eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00437b04
call fcn.00432ef8
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00461e10
push eax
mov eax, dword [0x5d1718]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00461e10
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
call fcn.0050e440
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407eb0
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00437b04
call fcn.00432ef8
xor ecx, ecx
pop edx
call fcn.00508f28
cmp dword [ebp - 0x10], 0
jle 0x4afc8f
push ebp
call fcn.004af2f4
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4afc88
push ebp
call fcn.004af448
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00437b04
call fcn.00432ef8
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00461e10
push eax
mov eax, dword [0x5d1718]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x8c]
call fcn.00461e10
mov dword [ebp - 0x9c], eax
movzx eax, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea eax, [edx + edx*2]
test eax, eax
jge 0x4afc1b
xor eax, eax
mov dword [ebp - 0x94], eax
jmp 0x4afc2d
movzx eax, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea eax, [edx + edx*2]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xff
jle 0x4afc45
mov dword [ebp - 0x98], 0xff
jmp 0x4afc51
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
push 0
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x9c]
call fcn.004be010
push ebp
call fcn.004af63c
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x4afc7f
push 0xc
call sub.kernel32.dll_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x4afba7
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x64]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x5ce4a8], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x328], 0
je 0x4afcb9
movzx edx, byte [ebp - 0xc]
call fcn.00475df8
push 0
push 1
push 0xb
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004d9f70
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00461e10
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x78]
or eax, 4
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x70]
push eax
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00461e10
push eax
call sub.user32.dll_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004d8f20
lea eax, [ebp - 0x90]
call fcn.004118cc
lea eax, [ebp - 0x8c]
call fcn.004118cc
jmp 0x4afff5
lea eax, [ebp - 0xb0]
push eax
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46c86c]
call fcn.0046f934
mov edi, eax
mov dword [0x5ce4a4], edi
mov dword [edi + 0xc], 0xffffff9e
xor edx, edx
mov eax, edi
call fcn.00471970
mov edx, dword [esi + 0x40]
mov eax, dword [0x5ce4a4]
call fcn.004592bc
mov edx, dword [esi + 0x44]
mov eax, dword [0x5ce4a4]
call fcn.004592f0
mov edx, dword [esi + 0x48]
mov eax, dword [0x5ce4a4]
call fcn.00459324
mov edx, dword [esi + 0x4c]
mov eax, dword [0x5ce4a4]
call fcn.00459358
push 0xffffffffffffffec
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4afe01
mov dl, 3
mov eax, dword [0x5ce4a4]
call fcn.00471d90
or edi, 0xffffffff
jmp 0x4afe16
push 3
mov eax, dword [ebx + 0x24c]
call fcn.00461e10
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x78]
and eax, 0xfffffffd
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [0x5ce4a4]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x5ce4a4]
mov eax, dword [eax + 0x40]
push eax
push edi
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x64], eax
push 0xffffffffffffffec
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00437b04
call fcn.00432ef8
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
mov eax, dword [0x5d1718]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
call fcn.0050e440
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407eb0
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00437b04
call fcn.00432ef8
xor ecx, ecx
pop edx
call fcn.00508f28
cmp dword [ebp - 0x10], 0
jle 0x4aff98
push ebp
call fcn.004af2f4
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4aff91
push ebp
call fcn.004af448
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00437b04
call fcn.00432ef8
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
mov eax, dword [0x5d1718]
mov eax, dword [eax]
call eax
push ebp
call fcn.004af63c
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x4aff8c
push 0xc
call sub.kernel32.dll_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x4aff32
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x64]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x5ce4a8], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x328], 0
je 0x4affc2
movzx edx, byte [ebp - 0xc]
call fcn.00475df8
push 0
push 1
push 0xb
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x5ce4a4
call fcn.004118cc
lea eax, [ebp - 0x58]
call fcn.004118cc
lea eax, [ebp - 0x1c]
call fcn.004118cc
jmp 0x4b02e7
cmp dword [0x5ce4a4], 0
jne 0x4b001a
mov eax, esi
call fcn.004af1dc
cmp dword [0x5ce4a4], 0
je 0x4b02e7
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.0050e440
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00437b04
call fcn.004329bc
mov eax, dword [ebp - 0x1c]
call fcn.00437b04
call fcn.00432ef8
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x60], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004acfe4
cmp dword [ebp - 0x1c], 0
je 0x4b02e7
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00437b04
call fcn.00432ef8
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.00437b04
call fcn.00432dc4
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.0050e440
mov dword [ebp - 0x5c], eax
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x71], 0
jne 0x4b00f1
test ebx, ebx
je 0x4b00f1
mov edi, ebx
mov eax, edi
call fcn.004bfbbc
cmp dword [0x5ce4a4], 0
je 0x4b02e7
push 0
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004c0004
push eax
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x10], 0
jle 0x4b01cd
mov eax, 0xff
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
mov ebx, 0xff
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4b01cd
test ebx, ebx
jge 0x4b0138
xor eax, eax
mov dword [ebp - 0xa0], eax
jmp 0x4b013e
mov dword [ebp - 0xa0], ebx
push 0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x5ce4b8
lea eax, [ebp - 0x5c]
call fcn.0050e1b8
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.00437b04
call fcn.00432ef8
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x5d1b70]
cmp dword [eax], 0
je 0x4b01ae
push 0
push 0x30000
mov eax, dword [0x5d1b08]
mov eax, dword [eax]
push eax
mov eax, dword [0x5d1b70]
mov eax, dword [eax]
call fcn.00461e10
push eax
call sub.user32.dll_SendMessageA
inc edi
sub ebx, dword [ebp - 0x68]
cmp edi, dword [ebp - 0x10]
jg 0x4b01cd
cmp dword [ebp - 0x10], 0
jle 0x4b01c4
push 0xc
call sub.kernel32.dll_Sleep_1
cmp edi, dword [ebp - 0x10]
jle 0x4b012a
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00437b04
call fcn.00432ef8
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x5d1b70]
cmp dword [eax], 0
je 0x4b0224
push 0
push 0x30000
mov eax, dword [0x5d1b08]
mov eax, dword [eax]
push eax
mov eax, dword [0x5d1b70]
mov eax, dword [eax]
call fcn.00461e10
push eax
call sub.user32.dll_SendMessageA
mov byte [0x5ce4a8], 0
cmp byte [esi + 0x57], 0
je 0x4b02af
push 0
push 1
push 0xb
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x5d18c8]
cmp dword [eax], 6
jl 0x4b0264
push 0x585
push 0
push 0
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x46c4f0]
call fcn.004048c0
test al, al
je 0x4b0290
push 0xffffffffffffffec
mov eax, esi
call fcn.00461e10
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4b02af
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x5ce4a4]
call fcn.00461e10
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x5ce4a4
call fcn.004118cc
lea eax, [ebp - 0x5c]
call fcn.004118cc
mov eax, 0x5ce4b8
call fcn.004118cc
lea eax, [ebp - 0x1c]
call fcn.004118cc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4