Function at 0x495850
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x495859
mov eax, dword [ebp - 4]
add esp, 0xfffffb18
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, 0x597b62
call fcn.004d08c0
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x54], 0x238d
mov dword [ebp - 0x58], 1
mov word [ebp - 0x14], 8
push 0x5979ec
call fcn.00401b2c
pop ecx
mov ecx, dword [0x5979e8]
cmp ecx, 4
jbe 0x4958d2
push 0x5979ec
call fcn.00401b40
pop ecx
mov dword [ebp - 0x54], 0x2391
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x497623
inc dword [0x5979e8]
push 0x5979ec
call fcn.00401b40
test byte [ebp + 0x11], 1
pop ecx
je 0x4958ec
mov dword [ebp - 0x48], edi
mov ebx, dword [ebp + 0x10]
and ebx, 0x1000
test ebx, ebx
je 0x4958fc
mov dword [ebp - 0x4c], edi
test byte [ebp + 0x11], 2
je 0x49590a
call sub.USER32.dll_CreatePopupMenu
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x50], eax
test byte [ebp + 0x12], 0x10
je 0x49591c
mov dword [ebp - 0x50], 3
test ebx, ebx
je 0x495936
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call fcn.004957f8
add esp, 8
mov ecx, dword [0x5175b0]
test ecx, ecx
je 0x495968
mov eax, dword [0x517e34]
test eax, eax
jne 0x495968
call fcn.004aa8c8
cmp al, 1
je 0x495968
mov byte [ebp - 0x43], 0
mov dword [ebp - 0x54], 0x2393
mov word [ebp - 0x14], 0
jmp 0x497547
call fcn.00479bc4
mov edi, eax
xor eax, eax
push esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x4ec]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
call fcn.00479bd4
mov edi, eax
xor eax, eax
push esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x4ce]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
test esi, esi
je 0x4959ed
xor eax, eax
push esi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x44c]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x495a15
xor eax, eax
or ecx, 0xffffffff
mov edi, 0x5fed52
lea esi, [ebp - 0x44c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x517e34]
test eax, eax
je 0x495a50
mov dl, byte [0x5f8e1e]
test dl, dl
je 0x495a50
xor eax, eax
or ecx, 0xffffffff
mov edi, 0x5f8e1e
lea esi, [ebp - 0x44c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x519bfc]
test eax, eax
je 0x495a5f
mov byte [ebp - 0x64], 0x31
jmp 0x495a63
mov byte [ebp - 0x64], 0x30
mov byte [ebp - 0x63], 0x31
test byte [ebp + 0x11], 1
je 0x495a87
push 0x5dc87b
push 0x3fff
push 2
push 0x3fff
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_ModifyMenuA
test byte [ebp + 0x12], 0x10
je 0x495ab3
push 0x1e
push 0x48d
lea ecx, [ebp - 0x4ec]
push ecx
push 0
push 1
call fcn.004793a8
pop ecx
push eax
call fcn.0047fea0
add esp, 0x14
mov dword [ebp - 0x30], eax
jmp 0x495ad8
push 0x1e
push 0x48d
lea eax, [ebp - 0x4ec]
push eax
call fcn.00479bbc
push eax
call fcn.004792dc
push eax
call fcn.0047fea0
add esp, 0x14
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x495c3e
test byte [ebp + 0x12], 0x10
jne 0x495aee
call fcn.004793e8
test byte [ebp + 0x11], 0x10
je 0x495bf4
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 1
jne 0x495b10
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00417c0c
add esp, 8
push 1
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00495424
add esp, 8
test eax, eax
je 0x495b26
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 2
je 0x495bf4
push 0x5dc887
lea edx, [ebp - 0x24ec]
push edx
call fcn.004d26c8
add esp, 8
movsx ecx, byte [0x627c66]
cmp ecx, 0x34
jne 0x495ba3
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x43
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x495bf4
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x2e
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
test byte [ebp + 0x11], 1
je 0x495c2c
test byte [ebp + 0x12], 2
je 0x495c1c
push 0x5dc8a1
push 0x3fff
push 2
push 0x3fff
mov eax, dword [ebp - 0x48]
push eax
call sub.USER32.dll_ModifyMenuA
jmp 0x495c2c
push 0
push 0x3fff
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_DeleteMenu
mov dword [ebp - 0x54], 0x2395
mov word [ebp - 0x14], 0
jmp 0x497547
test byte [ebp + 0x12], 0x10
jne 0x495c49
call fcn.004793d8
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0xae]
test eax, eax
jne 0x495db4
mov edx, dword [ebp - 0x30]
push edx
call fcn.0047c32c
test byte [ebp + 0x11], 0x10
pop ecx
je 0x495d6a
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 1
jne 0x495c86
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00417c0c
add esp, 8
push 1
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00495424
add esp, 8
test eax, eax
je 0x495c9c
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 2
je 0x495d6a
push 0x5dc8ba
lea edx, [ebp - 0x24ec]
push edx
call fcn.004d26c8
add esp, 8
movsx ecx, byte [0x627c66]
cmp ecx, 0x34
jne 0x495d19
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x43
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x495d6a
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x2e
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
test byte [ebp + 0x11], 1
je 0x495da2
test byte [ebp + 0x12], 2
je 0x495d92
push 0x5dc8d4
push 0x3fff
push 2
push 0x3fff
mov eax, dword [ebp - 0x48]
push eax
call sub.USER32.dll_ModifyMenuA
jmp 0x495da2
push 0
push 0x3fff
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_DeleteMenu
mov dword [ebp - 0x54], 0x2397
mov word [ebp - 0x14], 0
jmp 0x497547
mov byte [ebp - 0x42], 0
test byte [ebp + 0x11], 0x10
je 0x495dd6
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 1
jne 0x495dd6
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00417c0c
add esp, 8
mov eax, dword [ebp - 0x30]
add eax, 0xb6
mov dword [ebp - 0x34], eax
mov ebx, eax
xor esi, esi
mov al, byte [ebx]
test al, al
jne 0x495df1
mov byte [ebp - 0x41], 1
jmp 0x495df5
mov byte [ebp - 0x41], 0
mov dl, byte [ebp - 0x41]
test dl, dl
je 0x495e1f
inc ebx
lea ecx, [ebp - 0x64ec]
push ecx
push ebx
call fcn.00495224
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x64ec]
push eax
call fcn.004d615c
pop ecx
mov dword [ebp - 0x2c], eax
mov edx, esi
shl edx, 5
add edx, esi
lea edx, [esi + edx*4]
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + edx]
mov dword [ebp - 0x5c], eax
movsx edx, byte [ebp - 0x41]
dec edx
jne 0x495ec2
xor edi, edi
test ebx, ebx
je 0x497353
lea eax, [ebp - 0x84ec]
push eax
push ebx
call fcn.00495224
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x497353
inc edi
lea edx, [ebp - 0x44ec]
push edx
push ebx
call fcn.00495224
add esp, 8
mov ebx, eax
inc edi
lea ecx, [ebp - 0x64ec]
push ecx
push ebx
call fcn.00495224
add esp, 8
mov ebx, eax
inc edi
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.00495224
add esp, 8
mov ebx, eax
inc edi
mov edx, dword [ebp - 0x2c]
cmp edi, edx
je 0x495f4a
lea ecx, [ebp - 0x24ec]
push ecx
push ebx
call fcn.00495224
add esp, 8
mov ebx, eax
inc edi
mov eax, dword [ebp - 0x2c]
cmp edi, eax
jne 0x495ea3
jmp 0x495f4a
mov edx, dword [ebp - 0x5c]
movsx ecx, byte [edx]
dec ecx
jne 0x497353
mov edi, esi
push 0x300
shl edi, 5
lea eax, [ebp - 0x84ec]
add edi, esi
push 0x1e
push eax
mov eax, dword [ebp - 0x34]
lea edi, [esi + edi*4]
add edi, eax
mov edx, edi
inc edx
push edx
call fcn.0044f890
add esp, 0x10
lea ecx, [ebp - 0x64ec]
mov eax, edi
add eax, 0x5b
push 0x300
push 0x28
push ecx
push eax
call fcn.0044f890
add esp, 0x10
lea edx, [ebp - 0x44ec]
mov ecx, edi
add ecx, 0x1f
push 0x300
push 0x3c
push edx
push ecx
call fcn.0044f890
add esp, 0x10
lea eax, [ebp - 0x40]
add edi, 0x83
push 0x300
push 2
push eax
push edi
call fcn.0044f890
add esp, 0x10
lea edx, [ebp - 0x84ec]
lea ecx, [ebp - 0x64ec]
push edx
push ecx
lea eax, [ebp - 0x44ec]
lea edx, [ebp - 0x24ec]
push eax
push 0x5dc8ee
push edx
call fcn.004d26c8
add esp, 0x14
test byte [ebp + 0x12], 0x10
je 0x495f8d
push 0x5dc8fb
lea ecx, [ebp - 0x24ec]
push ecx
call fcn.004cdf10
add esp, 8
test byte [ebp + 0x11], 0x10
je 0x496d0a
movsx eax, byte [ebp - 0x40]
add eax, 0xffffffcf
cmp eax, 0x17
ja case.0x495fa3.58
jmp dword [eax*4 + 0x495faa]
movsx edx, byte [0x627c66]
cmp edx, 0x34
jne 0x49606d
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x33
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 5
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx ecx, byte [0x627c66]
cmp ecx, 0x34
jne 0x496126
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x33
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 5
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx eax, byte [0x627c66]
cmp eax, 0x34
jne 0x4961df
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x32
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 4
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx edx, byte [0x627c66]
cmp edx, 0x34
jne 0x496299
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x34
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 6
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx ecx, byte [0x627c66]
cmp ecx, 0x34
jne 0x496352
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x35
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x20
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx eax, byte [0x627c66]
cmp eax, 0x34
jne 0x49640b
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x36
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x21
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx edx, byte [0x627c66]
cmp edx, 0x34
jne 0x4964c5
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x37
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x22
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx ecx, byte [0x627c66]
cmp ecx, 0x34
jne 0x49657e
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x38
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x23
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx eax, byte [0x627c66]
cmp eax, 0x34
jne 0x496637
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x39
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x24
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx edx, byte [0x627c66]
cmp edx, 0x34
jne 0x4966f1
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x3a
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x25
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx ecx, byte [0x627c66]
cmp ecx, 0x34
jne 0x4967aa
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x3b
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x26
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx eax, byte [0x627c66]
cmp eax, 0x34
jne 0x496863
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x3c
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x27
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx edx, byte [0x627c66]
cmp edx, 0x34
jne 0x49691d
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x3d
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x28
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx ecx, byte [0x627c66]
cmp ecx, 0x34
jne 0x4969d6
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x3e
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x29
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx eax, byte [0x627c66]
cmp eax, 0x34
jne 0x496a8f
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x40
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x2a
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx edx, byte [0x627c66]
cmp edx, 0x34
jne 0x496b49
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x3f
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov cx, word [ebp - 0x50]
and cx, 0xffff
movzx eax, cx
shl eax, 0x10
or eax, 0x2b
push eax
lea edx, [ebp - 0x24ec]
push edx
push 0
push 0x180
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx ecx, byte [0x627c66]
cmp ecx, 0x34
jne 0x496c02
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x41
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov ax, word [ebp - 0x50]
and ax, 0xffff
movzx edx, ax
shl edx, 0x10
or edx, 0x2c
push edx
lea ecx, [ebp - 0x24ec]
push ecx
push 0
push 0x180
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
movsx eax, byte [0x627c66]
cmp eax, 0x34
jne 0x496cb8
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x42
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x496d0a
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x2d
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
test byte [ebp + 0x11], 1
je 0x497346
movsx edx, byte [ebp - 0x40]
add edx, 0xffffffcf
cmp edx, 0x17
ja case.0x496d20.49
jmp dword [edx*4 + 0x496d27]
lea ecx, [ebp - 0x84ec]
push ecx
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x496da8
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 5
call fcn.00455234
pop ecx
push eax
push 5
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x496dff
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 4
call fcn.00455234
pop ecx
push eax
push 4
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x496e56
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 6
call fcn.00455234
pop ecx
push eax
push 6
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x496ead
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x20
call fcn.00455234
pop ecx
push eax
push 0x20
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x496f04
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x21
call fcn.00455234
pop ecx
push eax
push 0x21
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x496f5b
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x22
call fcn.00455234
pop ecx
push eax
push 0x22
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x496fb2
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x23
call fcn.00455234
pop ecx
push eax
push 0x23
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x497009
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x24
call fcn.00455234
pop ecx
push eax
push 0x24
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x497060
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x25
call fcn.00455234
pop ecx
push eax
push 0x25
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x4970b7
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x26
call fcn.00455234
pop ecx
push eax
push 0x26
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49710e
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x27
call fcn.00455234
pop ecx
push eax
push 0x27
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x497165
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x28
call fcn.00455234
pop ecx
push eax
push 0x28
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x4971bc
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x29
call fcn.00455234
pop ecx
push eax
push 0x29
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x497213
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x2a
call fcn.00455234
pop ecx
push eax
push 0x2a
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49726a
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x2b
call fcn.00455234
pop ecx
push eax
push 0x2b
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x4972c1
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x2c
call fcn.00455234
pop ecx
push eax
push 0x2c
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x497346
lea eax, [ebp - 0x84ec]
push eax
call fcn.004d615c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x497315
or edi, 0x10000
lea eax, [ebp - 0x44ec]
push eax
push edi
push 0
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_AppendMenuA
push 0x2d
call fcn.00455234
pop ecx
push eax
push 0x2d
call fcn.00455234
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
inc esi
add dword [ebp - 0x5c], 0x85
jmp 0x495e32
test esi, esi
jne 0x4974cd
test byte [ebp + 0x11], 1
je 0x4973d2
lea eax, [ebp - 0x44c]
lea edx, [ebp - 0x24ec]
push eax
push 0x5dc8fe
push edx
call fcn.004d26c8
add esp, 0xc
test byte [ebp + 0x12], 2
je 0x4973c2
lea ecx, [ebp - 0x24ec]
push ecx
push 0x3fff
push 2
push 0x3fff
mov eax, dword [ebp - 0x48]
push eax
call sub.USER32.dll_ModifyMenuA
push 0x19
call fcn.00455234
pop ecx
push eax
push 0x19
call fcn.00455234
pop ecx
push eax
push 0
push 0x3fff
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x4973d2
push 0
push 0x3fff
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_DeleteMenu
test byte [ebp + 0x11], 0x10
je 0x497502
push esi
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00495424
add esp, 8
test eax, eax
je 0x4973f1
mov byte [ebp - 0x43], 1
lea edx, [ebp - 0x44c]
lea ecx, [ebp - 0x24ec]
push edx
push 0x5dc906
push ecx
call fcn.004d26c8
add esp, 0xc
test byte [ebp + 0x12], 2
je 0x497502
movsx eax, byte [0x627c66]
cmp eax, 0x34
jne 0x497479
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x44
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x497502
mov dx, word [ebp - 0x50]
and dx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or ecx, 0x2f
push ecx
lea eax, [ebp - 0x24ec]
push eax
push 0
push 0x180
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push eax
push 0x19a
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
push 1
push 0
push 0x64
mov eax, dword [ebp - 0x4c]
push eax
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_InvalidateRect
jmp 0x497502
test byte [ebp + 0x11], 0x10
je 0x4974ec
push esi
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00495424
add esp, 8
test eax, eax
je 0x4974ec
mov byte [ebp - 0x42], 1
mov byte [ebp - 0x43], 1
test byte [ebp + 0x11], 1
je 0x497502
push 0
push 0x3fff
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_DeleteMenu
mov al, byte [ebp - 0x42]
cmp al, 1
je 0x495db4
mov edx, dword [ebp - 0x30]
push edx
call fcn.0047c32c
pop ecx
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x14], 0
jmp 0x497547
mov word [ebp - 0x14], 0x14
test byte [ebp + 0x11], 0x10
je 0x49759a
mov ecx, dword [ebp - 0x28]
inc ecx
je 0x49756b
mov eax, dword [ebp - 0x28]
push eax
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00417d74
add esp, 0xc
push 1
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call fcn.004957f8
add esp, 8
mov al, byte [ebp - 0x43]
cmp al, 1
jne 0x49759a
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call fcn.00495830
pop ecx
test byte [0x516434], 0x40
je 0x4975ba
push 0x5dc926
push 0x5dc919
push 0x516438
call fcn.00451598
add esp, 0xc
mov word [ebp - 0x14], 0
jmp 0x4975e5
push 0x5979ec
call fcn.00401b2c
pop ecx
dec dword [0x5979e8]
push 0x5979ec
call fcn.00401b40
test byte [ebp + 0x11], 2
pop ecx
je 0x497616
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x497623
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x84f8]
mov esi, dword [ebp - 0x84f4]
mov ebx, dword [ebp - 0x84f0]
pop ebp
ret