Function at 0x499f80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
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 0x499ff2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.00408afc
cmp eax, dword [ebp + 0x14]
jl 0x499ff2
mov eax, dword [0x4ba7ec]
cmp byte [eax], 0
je 0x499ff2
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x49b0f0
call fcn.00407d18
je 0x49b0d9
mov eax, dword [0x4ba3b8]
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 0x49a02d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
jmp 0x49a06f
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 6], 0
jne 0x49a054
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 5], 0
je 0x49a069
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 0x49a06f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4ba7e0]
mov eax, dword [eax]
add eax, esi
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [0x4ba7e0]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046a7f0
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.00471f14
call fcn.0046b5a0
push eax
call sub.gdi32.dll_RectVisible
test eax, eax
je 0x49b0d9
xor edx, edx
push ebp
push 0x49b0cf
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x49b0be
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], 0xffffffff
jle 0x49a112
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x81], 0
je 0x49a112
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 0x49a127
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + 0x648]
jmp 0x49a1b6
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 0x49a163
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 0x60], 0
jne 0x49a165
xor ebx, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 4], 0
je 0x49a18d
test bl, bl
jne 0x49a17d
mov bl, 6
jmp 0x49a18d
cmp bl, 1
jne 0x49a186
mov bl, 7
jmp 0x49a18d
cmp bl, 2
jne 0x49a18d
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 0x49a1b6
mov dword [ebp - 0x38], 0x99a8ac
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00470c54
test al, al
je 0x49a1ce
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd0], 0
je 0x49a1d0
xor ebx, ebx
cmp byte [ebp - 0x65], 0
je 0x49a1d8
xor ebx, ebx
cmp dword [ebp + 0x14], 0xffffffff
je 0x49a1f1
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 0x49a21f
cmp dword [ebp + 0x14], 2
jg 0x49a21f
mov eax, dword [0x4ba7ec]
cmp byte [eax], 0
je 0x49a21f
xor edx, edx
jmp 0x49a221
mov dl, 1
mov eax, ebx
call fcn.00499c00
pop ecx
cmp dword [ebp + 0x14], 0xffffffff
jne 0x49a281
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe4], 0x20
jne 0x49a256
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
call fcn.0048d0f8
jmp 0x49acd8
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.004728e4
jmp 0x49acd8
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x27], 0
je 0x49acd8
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x49b100
call fcn.00407d18
je 0x49acd8
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2b], 0
je 0x49acd8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.0047178c
call fcn.0046ae70
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x55], 0
xor eax, eax
push ebp
push 0x49a351
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ba7ec]
cmp byte [eax], 0
je 0x49a347
cmp dword [ebp - 0x20], 0
je 0x49a347
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xb8], 0
je 0x49a347
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xec]
call fcn.0046ae70
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 + 0xcc]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0xd0]
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 0x49a35b
cmp byte [ebp - 0x65], 0
je 0x49a36b
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 [0x49b104]
cmp dl, byte [eax + ebx + 2]
jne 0x49a7d4
cmp byte [ebp - 0x55], 0
jne 0x49a44d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x27]
test esi, esi
je 0x49a3e0
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 [0x4ba7e0]
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 0x49accb
mov eax, dword [0x4ba3b8]
cmp byte [eax + 0x84], 0
je 0x49a738
mov eax, dword [0x4ba3b8]
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 0x49a49c
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 [0x4ba7e0]
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 0x49a54d
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 [0x4ba7e0]
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 0x49a5fe
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 [0x4ba7e0]
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 0x49a6af
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 [0x4ba7e0]
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 [0x4ba3b8]
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 0x49a767
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 [0x4ba7e0]
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 0x49accb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0xf]
mov edx, dword [0x4ba7e0]
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 [0x4ba7e0]
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.0046a7f0
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
test byte [edx + eax + 2], 2
je 0x49aabd
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 0x49a909
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.0048d0f8
jmp 0x49a993
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.004728e4
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe4], 0x20
jne 0x49aa25
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.0048d0f8
jmp 0x49aab2
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.004728e4
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 0x49aada
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 [0x4ba7e0]
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 0x49ac2b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x49ab92
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 [0x4ba7e0]
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 0x49accb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x49ac41
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 [0x4ba7e0]
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 0x49b082
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x48], 0
je 0x49b082
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
mov edx, 0x49b114
call fcn.00407d18
je 0x49b082
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xf0]
call fcn.0046ae70
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x49ad25
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 0x49b07b
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 0x49b060
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 0x49aeab
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 0x49ae80
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xa
push 0xa
mov edx, dword [0x4ba6a0]
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 [0x4ba6a0]
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 0x49ae87
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 0x49b082
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 0x49b0c5
cmp dword [ebp + 0x14], 0
jl 0x49b0bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.00408afc
cmp eax, dword [ebp + 0x14]
jl 0x49b0bd
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