Function at 0x49a7a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
dec ecx
add byte [edi], al
dec edi
add byte [esi], dl
inc ebp
add byte [edx], dl
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
inc edx
add byte [ecx], cl
inc edi
add byte [eax + eax + 0x4f], al
add byte [edi], dl
dec esi
add byte [eax], bh
add byte [eax], al
add byte [eax], al
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov esi, dword [ebp + 8]
mov byte [ebp - 0x19], 0
cmp dword [ebp + 0x14], 0
jl 0x49a812
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.00408afc
cmp eax, dword [ebp + 0x14]
jl 0x49a812
mov eax, dword [0x4c28b8]
cmp byte [eax], 0
je 0x49a812
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x49b910
call fcn.00407d18
je 0x49b8f9
mov eax, dword [0x4c2474]
movzx eax, byte [eax + 0x8c]
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 8]
mov byte [eax + 0x108], 1
push 8
call sub.user32.dll_GetSysColor
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xd8]
cmp eax, dword [ebp - 4]
sete byte [ebp - 0x65]
cmp dword [ebp + 0x14], 0xffffffff
jne 0x49a84d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
jmp 0x49a88f
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 6], 0
jne 0x49a874
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 5], 0
je 0x49a889
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [edx + eax + 7]
mov dword [ebp - 0x28], ecx
jmp 0x49a88f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4c28ac]
mov eax, dword [eax]
add eax, esi
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [0x4c28ac]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046acb0
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.004723a0
call fcn.0046ba60
push eax
call sub.gdi32.dll_RectVisible
test eax, eax
je 0x49b8f9
xor edx, edx
push ebp
push 0x49b8ef
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x49b8de
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], 0xffffffff
jle 0x49a932
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x81], 0
je 0x49a932
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x81]
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], 0xffffffff
jne 0x49a947
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + 0x648]
jmp 0x49a9d6
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
movzx ebx, byte [edx + eax + 1]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 0x5e], 0
je 0x49a983
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 0x60], 0
jne 0x49a985
xor ebx, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 4], 0
je 0x49a9ad
test bl, bl
jne 0x49a99d
mov bl, 6
jmp 0x49a9ad
cmp bl, 1
jne 0x49a9a6
mov bl, 7
jmp 0x49a9ad
cmp bl, 2
jne 0x49a9ad
mov bl, 8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov edx, dword [edx + eax + 0x66]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 0x72], 0
je 0x49a9d6
mov dword [ebp - 0x38], 0x99a8ac
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00471124
test al, al
je 0x49a9ee
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd0], 0
je 0x49a9f0
xor ebx, ebx
cmp byte [ebp - 0x65], 0
je 0x49a9f8
xor ebx, ebx
cmp dword [ebp + 0x14], 0xffffffff
je 0x49aa11
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov byte [edx + eax], bl
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
push ebp
cmp dword [ebp + 0x14], 0
jl 0x49aa3f
cmp dword [ebp + 0x14], 2
jg 0x49aa3f
mov eax, dword [0x4c28b8]
cmp byte [eax], 0
je 0x49aa3f
xor edx, edx
jmp 0x49aa41
mov dl, 1
mov eax, ebx
call fcn.0049a420
pop ecx
cmp dword [ebp + 0x14], 0xffffffff
jne 0x49aaa1
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe4], 0x20
jne 0x49aa76
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
call fcn.0048c60c
jmp 0x49b4f8
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
push eax
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
call fcn.00472d70
jmp 0x49b4f8
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x27], 0
je 0x49b4f8
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x49b920
call fcn.00407d18
je 0x49b4f8
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2b], 0
je 0x49b4f8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.00471c68
call fcn.0046b330
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x55], 0
xor eax, eax
push ebp
push 0x49ab71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c28b8]
cmp byte [eax], 0
je 0x49ab67
cmp dword [ebp - 0x20], 0
je 0x49ab67
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xb8], 0
je 0x49ab67
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xec]
call fcn.0046b330
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + 0x11]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0xd0]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0xd4]
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x55], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49ab7b
cmp byte [ebp - 0x65], 0
je 0x49ab8b
push 8
call sub.user32.dll_GetSysColor
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SetTextColor
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax + 0x47], ecx
imul ebx, dword [ebp + 0x14], 0x85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
movzx edx, byte [0x49b924]
cmp dl, byte [eax + ebx + 2]
jne 0x49aff4
cmp byte [ebp - 0x55], 0
jne 0x49ac6d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x27]
test esi, esi
je 0x49ac00
sub esi, 4
mov esi, dword [esi]
push esi
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
call fcn.00407984
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x3b]
mov edx, dword [0x4c28ac]
add eax, dword [edx]
add eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x74]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x17]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x33]
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_TextOutW
jmp 0x49b4eb
mov eax, dword [0x4c2474]
cmp byte [eax + 0x84], 0
je 0x49af58
mov eax, dword [0x4c2474]
mov eax, dword [eax + 0x88]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SetTextColor
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x49acbc
mov eax, dword [ebp - 0x6c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
call fcn.00407984
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x3b]
inc eax
mov edx, dword [0x4c28ac]
add eax, dword [edx]
add eax, dword [ebp - 0x50]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x74]
inc eax
imul edx, dword [ebp + 0x14], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
add eax, dword [ecx + edx + 0x17]
imul edx, dword [ebp + 0x14], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
add eax, dword [ecx + edx + 0x33]
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_TextOutW
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x49ad6d
mov eax, dword [ebp - 0x70]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
call fcn.00407984
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x3b]
dec eax
mov edx, dword [0x4c28ac]
add eax, dword [edx]
add eax, dword [ebp - 0x50]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x74]
dec eax
imul edx, dword [ebp + 0x14], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
add eax, dword [ecx + edx + 0x17]
imul edx, dword [ebp + 0x14], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
add eax, dword [ecx + edx + 0x33]
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_TextOutW
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x49ae1e
mov eax, dword [ebp - 0x74]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
call fcn.00407984
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x3b]
dec eax
mov edx, dword [0x4c28ac]
add eax, dword [edx]
add eax, dword [ebp - 0x50]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x74]
inc eax
imul edx, dword [ebp + 0x14], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
add eax, dword [ecx + edx + 0x17]
imul edx, dword [ebp + 0x14], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
add eax, dword [ecx + edx + 0x33]
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_TextOutW
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x49aecf
mov eax, dword [ebp - 0x78]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
call fcn.00407984
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x3b]
inc eax
mov edx, dword [0x4c28ac]
add eax, dword [edx]
add eax, dword [ebp - 0x50]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x74]
dec eax
imul edx, dword [ebp + 0x14], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
add eax, dword [ecx + edx + 0x17]
imul edx, dword [ebp + 0x14], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
add eax, dword [ecx + edx + 0x33]
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_TextOutW
mov eax, dword [0x4c2474]
mov eax, dword [eax + 0x7c]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SetTextColor
imul ebx, dword [ebp + 0x14], 0x85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x27]
test esi, esi
je 0x49af87
sub esi, 4
mov esi, dword [esi]
push esi
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
call fcn.00407984
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x3b]
mov edx, dword [0x4c28ac]
add eax, dword [edx]
add eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x74]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x17]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x33]
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_TextOutW
jmp 0x49b4eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0xf]
mov edx, dword [0x4c28ac]
add eax, dword [edx]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x17]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [0x4c28ac]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x74]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x17]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x33]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0046acb0
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
test byte [edx + eax + 2], 2
je 0x49b2dd
lea eax, [ebp - 0x88]
push eax
call sub.gdi32.dll_CreateRectRgnIndirect
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe4], 0x20
jne 0x49b129
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov ecx, dword [edx + eax + 0x74]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x17]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x33]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x37]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
sub ecx, dword [eax + 0x10]
sub ecx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp + 0x18]
call fcn.0048c60c
jmp 0x49b1b3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
push eax
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov ecx, dword [edx + eax + 0x74]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x17]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x33]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x37]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
sub ecx, dword [eax + 0x10]
sub ecx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp + 0x18]
call fcn.00472d70
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe4], 0x20
jne 0x49b245
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
push eax
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov ecx, dword [edx + eax + 0x74]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x17]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x33]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x37]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
sub ecx, dword [eax + 0x10]
sub ecx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp + 0x18]
call fcn.0048c60c
jmp 0x49b2d2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe0]
push eax
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov ecx, dword [edx + eax + 0x74]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x17]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x33]
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add ecx, dword [edx + eax + 0x37]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
sub ecx, dword [eax + 0x10]
sub ecx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp + 0x18]
call fcn.00472d70
push 0
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SelectClipRgn
imul ebx, dword [ebp + 0x14], 0x85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x27]
test esi, esi
je 0x49b2fa
sub esi, 4
mov esi, dword [esi]
push 0
push esi
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
call fcn.00407984
push eax
lea eax, [ebp - 0x88]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x3b]
mov edx, dword [0x4c28ac]
add eax, dword [edx]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x3f]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x74]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x17]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x33]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x37]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_ExtTextOutW
imul ebx, dword [ebp + 0x14], 0x85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
test byte [eax + ebx + 2], 1
je 0x49b44b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x49b3b2
sub esi, 4
mov esi, dword [esi]
push 0
push esi
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x2b]
call fcn.00407984
push eax
lea eax, [ebp - 0x88]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x3b]
mov edx, dword [0x4c28ac]
add eax, dword [edx]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x3f]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0xf]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x74]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x17]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x33]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x37]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_ExtTextOutW
jmp 0x49b4eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x49b461
sub esi, 4
mov esi, dword [esi]
push 0
push esi
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x2b]
call fcn.00407984
push eax
lea eax, [ebp - 0x88]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x3b]
mov edx, dword [0x4c28ac]
add eax, dword [edx]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x3f]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x74]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x17]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x33]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
add eax, dword [edx + ebx + 0x37]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_ExtTextOutW
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SelectObject
cmp dword [ebp - 0x20], 0
je 0x49b8a2
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x48], 0
je 0x49b8a2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
mov edx, 0x49b934
call fcn.00407d18
je 0x49b8a2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xf0]
call fcn.0046b330
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x49b545
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x30], eax
xor edx, edx
push ebp
push 0x49b89b
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
call fcn.00407984
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_GetTextExtentPoint32W
test eax, eax
je 0x49b880
mov eax, dword [ebp - 0x5c]
add eax, 2
mov dword [ebp - 0x64], eax
push 0x808080
push 1
push 0
call sub.gdi32.dll_CreatePen
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x44], eax
xor edx, edx
push ebp
push 0x49b6cb
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x808080
call sub.gdi32.dll_CreateSolidBrush
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x4c], eax
xor edx, edx
push ebp
push 0x49b6a0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xa
push 0xa
mov edx, dword [0x4c2768]
mov edx, dword [edx]
add edx, 4
add edx, 0xfffffffd
push edx
imul edx, dword [ebp + 0x14], 0x85
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
mov edx, dword [ecx + edx + 0x74]
imul ecx, dword [ebp + 0x14], 0x85
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x620]
add edx, dword [ebx + ecx + 0x17]
mov ecx, dword [ebp - 0x20]
add edx, dword [ecx + 0x30]
add edx, 6
push edx
mov edx, dword [0x4c2768]
mov edx, dword [edx]
sub edx, dword [ebp - 0x64]
add edx, 4
add edx, 0xfffffffd
push edx
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov edx, dword [edx + eax + 0x74]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x620]
add edx, dword [ecx + eax + 0x17]
mov eax, dword [ebp - 0x20]
add edx, dword [eax + 0x30]
sub edx, dword [ebp - 0x60]
sub edx, 2
push edx
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_RoundRect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b6a7
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_DeleteObject
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b8a2
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_SelectObject
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b8e5
cmp dword [ebp + 0x14], 0
jl 0x49b8dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.00408afc
cmp eax, dword [ebp + 0x14]
jl 0x49b8dd
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov byte [edx + eax + 0x73], 0
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14