Function at 0x4862d0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [0x52c5ac]
sub esp, 0x20
dec eax
je 0x486305
dec eax
je 0x4862eb
dec eax
mov dword [esp], 0x52c788
xor eax, eax
jmp 0x486312
mov dword [esp], 0x52c6c8
mov dword [esp + 4], 0xbd9e7b
mov dword [esp + 8], 0xffffff
jmp 0x48631a
mov dword [esp], 0x52c608
mov eax, 0xbd9e7b
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ebp, dword [sym.imp.GDI32.dll_MoveToEx]
mov edi, dword [sym.imp.GDI32.dll_LineTo]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov eax, ebx
and eax, 0x80000000
mov dword [esp + 0x1c], eax
je 0x486413
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_InflateRect]
push 0
dec dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_FrameRect]
test bl, 1
mov eax, 0xbdcfce
jne 0x486389
mov eax, dword [esp + 0x14]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call ebx
push 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add ecx, 2
mov dword [esp + 0x3c], eax
push ecx
push edx
push esi
call ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, 0xfffffffe
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add eax, 0xfffffffe
push edx
push eax
push esi
call edi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
inc edx
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, 0xfffffffe
dec ecx
push eax
push ecx
push esi
call edi
mov edx, dword [esp + 0x38]
push edx
push esi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x486419
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x3c]
mov eax, ecx
and eax, 1
mov dword [esp + 0x34], eax
je 0x48642c
xor eax, eax
jmp 0x486445
test cl, 2
je 0x486438
mov eax, 1
jmp 0x486445
not cl
movsx eax, cl
and eax, 4
or al, 8
shr eax, 2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
shl eax, 4
add eax, edx
push eax
push ecx
push esi
call fcn.004861c0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x486524
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_InflateRect]
push 0
dec dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_FrameRect]
mov ecx, dword [esp + 0x34]
neg ecx
sbb ecx, ecx
and ecx, 0xffe71932
add ecx, 0xd6b69c
push ecx
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push esi
call ebx
push 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
add edx, 2
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add ecx, 0xfffffffe
push ecx
push edx
push esi
call edi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add ecx, 0xfffffffe
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
inc eax
push edx
push eax
push esi
call edi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
add ecx, 0xfffffffe
dec edx
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x38]
push eax
push esi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x486536
mov dword [esp + 0x38], 0
jmp 0x486559
mov eax, dword [esp + 0x3c]
test al, 2
je 0x486548
mov dword [esp + 0x38], 1
jmp 0x486559
not al
movsx eax, al
and eax, 4
or al, 8
shr eax, 2
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
shl edx, 4
lea ecx, [esp + 0x20]
lea ebx, [edx + eax]
push ebx
push ecx
push esi
call fcn.004861c0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
add edx, 4
shl edx, 4
mov ecx, dword [edx + eax]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixel]
mov ecx, dword [ebx + 0x44]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
dec eax
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixel]
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
dec edx
push ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixel]
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
dec edx
push ecx
dec eax
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixel]
add byte [edx - 1], ch