Function at 0x496a24
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 0x496a96
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.004088c4
cmp eax, dword [ebp + 0x14]
jl 0x496a96
mov eax, dword [0x4b5f7c]
cmp byte [eax], 0
je 0x496a96
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x497b94
call fcn.00407ae0
je 0x497b7d
mov eax, dword [0x4b5b48]
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 0x496ad1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
jmp 0x496b13
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 6], 0
jne 0x496af8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 5], 0
je 0x496b0d
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 0x496b13
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4b5f70]
mov eax, dword [eax]
add eax, esi
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [0x4b5f70]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00469fe4
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.004715e8
call fcn.0046acec
push eax
call sub.gdi32.dll_RectVisible
test eax, eax
je 0x497b7d
xor edx, edx
push ebp
push 0x497b73
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x497b62
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], 0xffffffff
jle 0x496bb6
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x81], 0
je 0x496bb6
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 0x496bcb
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + 0x648]
jmp 0x496c5a
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 0x496c07
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 0x60], 0
jne 0x496c09
xor ebx, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp byte [edx + eax + 4], 0
je 0x496c31
test bl, bl
jne 0x496c21
mov bl, 6
jmp 0x496c31
cmp bl, 1
jne 0x496c2a
mov bl, 7
jmp 0x496c31
cmp bl, 2
jne 0x496c31
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 0x496c5a
mov dword [ebp - 0x38], 0x99a8ac
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00470328
test al, al
je 0x496c72
mov eax, dword [ebp - 8]
cmp byte [eax + 0xcc], 0
je 0x496c74
xor ebx, ebx
cmp byte [ebp - 0x65], 0
je 0x496c7c
xor ebx, ebx
cmp dword [ebp + 0x14], 0xffffffff
je 0x496c95
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 0x496cc3
cmp dword [ebp + 0x14], 2
jg 0x496cc3
mov eax, dword [0x4b5f7c]
cmp byte [eax], 0
je 0x496cc3
xor edx, edx
jmp 0x496cc5
mov dl, 1
mov eax, ebx
call fcn.004966a4
pop ecx
cmp dword [ebp + 0x14], 0xffffffff
jne 0x496d25
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe0], 0x20
jne 0x496cfa
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
call fcn.00489c08
jmp 0x49777c
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.00471fb8
jmp 0x49777c
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
cmp dword [edx + eax + 0x27], 0
je 0x49777c
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
mov eax, dword [edx + eax + 0x27]
mov edx, 0x497ba4
call fcn.00407ae0
je 0x49777c
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2b], 0
je 0x49777c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.00470e60
call fcn.0046a664
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x55], 0
xor eax, eax
push ebp
push 0x496df5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b5f7c]
cmp byte [eax], 0
je 0x496deb
cmp dword [ebp - 0x20], 0
je 0x496deb
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xb8], 0
je 0x496deb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe8]
call fcn.0046a664
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 0x496dff
cmp byte [ebp - 0x65], 0
je 0x496e0f
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 [0x497ba8]
cmp dl, byte [eax + ebx + 2]
jne 0x497278
cmp byte [ebp - 0x55], 0
jne 0x496ef1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x27]
test esi, esi
je 0x496e84
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 [0x4b5f70]
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 0x49776f
mov eax, dword [0x4b5b48]
cmp byte [eax + 0x84], 0
je 0x4971dc
mov eax, dword [0x4b5b48]
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 0x496f40
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 [0x4b5f70]
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 0x496ff1
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 [0x4b5f70]
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 0x4970a2
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 [0x4b5f70]
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 0x497153
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 [0x4b5f70]
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 [0x4b5b48]
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 0x49720b
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 [0x4b5f70]
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 0x49776f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov eax, dword [eax + ebx + 0xf]
mov edx, dword [0x4b5f70]
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 [0x4b5f70]
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.00469fe4
imul eax, dword [ebp + 0x14], 0x85
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x620]
test byte [edx + eax + 2], 2
je 0x497561
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 0x4973ad
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.00489c08
jmp 0x497437
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.00471fb8
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe0], 0x20
jne 0x4974c9
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.00489c08
jmp 0x497556
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.00471fb8
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 0x49757e
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 [0x4b5f70]
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 0x4976cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x497636
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 [0x4b5f70]
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 0x49776f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
mov esi, dword [eax + ebx + 0x2b]
test esi, esi
je 0x4976e5
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 [0x4b5f70]
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 0x497b26
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x48], 0
je 0x497b26
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
mov edx, 0x497bb8
call fcn.00407ae0
je 0x497b26
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xec]
call fcn.0046a664
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4977c9
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 0x497b1f
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 0x497b04
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 0x49794f
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 0x497924
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xa
push 0xa
mov edx, dword [0x4b5e30]
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 [0x4b5e30]
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 0x49792b
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 0x497b26
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 0x497b69
cmp dword [ebp + 0x14], 0
jl 0x497b61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x620]
call fcn.004088c4
cmp eax, dword [ebp + 0x14]
jl 0x497b61
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