Function at 0x49804c
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 0x4980be
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.004088c4
cmp eax, dword [ebp + 0x14]
jl 0x4980be
mov eax, dword [0x4b77c8]
cmp byte [eax], 0
je 0x4980be
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x4991bc
call fcn.00407ae0
je 0x4991a5
mov eax, dword [0x4b7394]
movzx eax, byte [eax + 0x8c]
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 8]
mov byte [eax + 0x100], 1
push 8
call sub.user32.dll_GetSysColor
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xd4]
cmp eax, dword [ebp - 4]
sete byte [ebp - 0x65]
cmp dword [ebp + 0x14], 0xffffffff
jne 0x4980f9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
jmp 0x49813b
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 6], 0
jne 0x498120
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 5], 0
je 0x498135
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 0x49813b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4b77bc]
mov eax, dword [eax]
add eax, esi
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [0x4b77bc]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046a138
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.0047173c
call fcn.0046ae40
push eax
call sub.gdi32.dll_RectVisible
test eax, eax
je 0x4991a5
xor edx, edx
push ebp
push 0x49919b
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x49918a
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], 0xffffffff
jle 0x4981de
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x81], 0
je 0x4981de
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 0x4981f3
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + 0x648]
jmp 0x498282
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 0x49822f
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 0x60], 0
jne 0x498231
xor ebx, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 4], 0
je 0x498259
test bl, bl
jne 0x498249
mov bl, 6
jmp 0x498259
cmp bl, 1
jne 0x498252
mov bl, 7
jmp 0x498259
cmp bl, 2
jne 0x498259
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 0x498282
mov dword [ebp - 0x38], 0x99a8ac
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0047047c
test al, al
je 0x49829a
mov eax, dword [ebp - 8]
cmp byte [eax + 0xcc], 0
je 0x49829c
xor ebx, ebx
cmp byte [ebp - 0x65], 0
je 0x4982a4
xor ebx, ebx
cmp dword [ebp + 0x14], 0xffffffff
je 0x4982bd
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 0x4982eb
cmp dword [ebp + 0x14], 2
jg 0x4982eb
mov eax, dword [0x4b77c8]
cmp byte [eax], 0
je 0x4982eb
xor edx, edx
jmp 0x4982ed
mov dl, 1
mov eax, ebx
call fcn.00497ccc
pop ecx
cmp dword [ebp + 0x14], 0xffffffff
jne 0x49834d
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe0], 0x20
jne 0x498322
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
call fcn.0048b230
jmp 0x498da4
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xdc]
push eax
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
call fcn.0047210c
jmp 0x498da4
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x27], 0
je 0x498da4
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x4991cc
call fcn.00407ae0
je 0x498da4
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2b], 0
je 0x498da4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.00470fb4
call fcn.0046a7b8
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x55], 0
xor eax, eax
push ebp
push 0x49841d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b77c8]
cmp byte [eax], 0
je 0x498413
cmp dword [ebp - 0x20], 0
je 0x498413
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xb8], 0
je 0x498413
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe8]
call fcn.0046a7b8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe8]
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 0x498427
cmp byte [ebp - 0x65], 0
je 0x498437
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 [0x4991d0]
cmp dl, byte [eax + ebx + 2]
jne 0x4988a0
cmp byte [ebp - 0x55], 0
jne 0x498519
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x27]
test esi, esi
je 0x4984ac
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.0040774c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x3b]
mov edx, dword [0x4b77bc]
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 0x498d97
mov eax, dword [0x4b7394]
cmp byte [eax + 0x84], 0
je 0x498804
mov eax, dword [0x4b7394]
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 0x498568
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.0040774c
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 [0x4b77bc]
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 0x498619
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.0040774c
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 [0x4b77bc]
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 0x4986ca
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.0040774c
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 [0x4b77bc]
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 0x49877b
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.0040774c
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 [0x4b77bc]
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 [0x4b7394]
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 0x498833
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.0040774c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0x3b]
mov edx, dword [0x4b77bc]
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 0x498d97
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0xf]
mov edx, dword [0x4b77bc]
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 [0x4b77bc]
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.0046a138
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
test byte [edx + eax + 2], 2
je 0x498b89
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 + 0xe0], 0x20
jne 0x4989d5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
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 + 0x98]
sub ecx, dword [eax + 0x10]
sub ecx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp + 0x18]
call fcn.0048b230
jmp 0x498a5f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xdc]
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 + 0x98]
sub ecx, dword [eax + 0x10]
sub ecx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp + 0x18]
call fcn.0047210c
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe0], 0x20
jne 0x498af1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
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 + 0x98]
sub ecx, dword [eax + 0x10]
sub ecx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp + 0x18]
call fcn.0048b230
jmp 0x498b7e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xdc]
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 + 0x98]
sub ecx, dword [eax + 0x10]
sub ecx, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp + 0x18]
call fcn.0047210c
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 0x498ba6
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.0040774c
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 [0x4b77bc]
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 0x498cf7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x498c5e
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.0040774c
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 [0x4b77bc]
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 0x498d97
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x498d0d
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.0040774c
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 [0x4b77bc]
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 0x49914e
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x48], 0
je 0x49914e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
mov edx, 0x4991e0
call fcn.00407ae0
je 0x49914e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xec]
call fcn.0046a7b8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x498df1
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 0x499147
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.0040774c
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.gdi32.dll_GetTextExtentPoint32W
test eax, eax
je 0x49912c
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 0x498f77
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 0x498f4c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xa
push 0xa
mov edx, dword [0x4b767c]
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 [0x4b767c]
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 0x498f53
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 0x49914e
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 0x499191
cmp dword [ebp + 0x14], 0
jl 0x499189
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.004088c4
cmp eax, dword [ebp + 0x14]
jl 0x499189
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