Function at 0x498498
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 0x49850a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.00408b24
cmp eax, dword [ebp + 0x14]
jl 0x49850a
mov eax, dword [0x4bc81c]
cmp byte [eax], 0
je 0x49850a
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x499608
call fcn.00407d18
je 0x4995f1
mov eax, dword [0x4bc3e0]
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 0x498545
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
jmp 0x498587
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 6], 0
jne 0x49856c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 5], 0
je 0x498581
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 0x498587
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4bc810]
mov eax, dword [eax]
add eax, esi
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [0x4bc810]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046ae04
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.004724d8
call fcn.0046bbb4
push eax
call sub.gdi32.dll_RectVisible
test eax, eax
je 0x4995f1
xor edx, edx
push ebp
push 0x4995e7
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4995d6
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], 0xffffffff
jle 0x49862a
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x81], 0
je 0x49862a
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 0x49863f
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + 0x648]
jmp 0x4986ce
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 0x49867b
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 0x60], 0
jne 0x49867d
xor ebx, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 4], 0
je 0x4986a5
test bl, bl
jne 0x498695
mov bl, 6
jmp 0x4986a5
cmp bl, 1
jne 0x49869e
mov bl, 7
jmp 0x4986a5
cmp bl, 2
jne 0x4986a5
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 0x4986ce
mov dword [ebp - 0x38], 0x99a8ac
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00471268
test al, al
je 0x4986e6
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd0], 0
je 0x4986e8
xor ebx, ebx
cmp byte [ebp - 0x65], 0
je 0x4986f0
xor ebx, ebx
cmp dword [ebp + 0x14], 0xffffffff
je 0x498709
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 0x498737
cmp dword [ebp + 0x14], 2
jg 0x498737
mov eax, dword [0x4bc81c]
cmp byte [eax], 0
je 0x498737
xor edx, edx
jmp 0x498739
mov dl, 1
mov eax, ebx
call fcn.00498118
pop ecx
cmp dword [ebp + 0x14], 0xffffffff
jne 0x498799
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe4], 0x20
jne 0x49876e
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
call fcn.0048b218
jmp 0x4991f0
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.00472ea8
jmp 0x4991f0
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x27], 0
je 0x4991f0
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x499618
call fcn.00407d18
je 0x4991f0
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2b], 0
je 0x4991f0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.00471da0
call fcn.0046b484
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x55], 0
xor eax, eax
push ebp
push 0x498869
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4bc81c]
cmp byte [eax], 0
je 0x49885f
cmp dword [ebp - 0x20], 0
je 0x49885f
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xb8], 0
je 0x49885f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xec]
call fcn.0046b484
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 0x498873
cmp byte [ebp - 0x65], 0
je 0x498883
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 [0x49961c]
cmp dl, byte [eax + ebx + 2]
jne 0x498cec
cmp byte [ebp - 0x55], 0
jne 0x498965
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x27]
test esi, esi
je 0x4988f8
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 [0x4bc810]
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 0x4991e3
mov eax, dword [0x4bc3e0]
cmp byte [eax + 0x84], 0
je 0x498c50
mov eax, dword [0x4bc3e0]
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 0x4989b4
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 [0x4bc810]
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 0x498a65
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 [0x4bc810]
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 0x498b16
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 [0x4bc810]
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 0x498bc7
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 [0x4bc810]
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 [0x4bc3e0]
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 0x498c7f
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 [0x4bc810]
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 0x4991e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0xf]
mov edx, dword [0x4bc810]
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 [0x4bc810]
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.0046ae04
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
test byte [edx + eax + 2], 2
je 0x498fd5
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 0x498e21
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.0048b218
jmp 0x498eab
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.00472ea8
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe4], 0x20
jne 0x498f3d
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.0048b218
jmp 0x498fca
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.00472ea8
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 0x498ff2
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 [0x4bc810]
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 0x499143
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x4990aa
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 [0x4bc810]
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 0x4991e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x499159
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 [0x4bc810]
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 0x49959a
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x48], 0
je 0x49959a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
mov edx, 0x49962c
call fcn.00407d18
je 0x49959a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xf0]
call fcn.0046b484
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x49923d
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 0x499593
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 0x499578
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 0x4993c3
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 0x499398
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xa
push 0xa
mov edx, dword [0x4bc6c8]
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 [0x4bc6c8]
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 0x49939f
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 0x49959a
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 0x4995dd
cmp dword [ebp + 0x14], 0
jl 0x4995d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.00408b24
cmp eax, dword [ebp + 0x14]
jl 0x4995d5
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