Function at 0x4993b8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x4993c1
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, 0x5b06de
call fcn.004d57f0
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x54], 0x238d
mov dword [ebp - 0x58], 1
mov word [ebp - 0x14], 8
push 0x5b0568
call fcn.00401b34
pop ecx
mov ecx, dword [0x5b0564]
cmp ecx, 4
jbe 0x49943a
push 0x5b0568
call fcn.00401b48
pop ecx
mov dword [ebp - 0x54], 0x2391
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x49b18b
inc dword [0x5b0564]
push 0x5b0568
call fcn.00401b48
test byte [ebp + 0x11], 1
pop ecx
je 0x499454
mov dword [ebp - 0x48], edi
mov ebx, dword [ebp + 0x10]
and ebx, 0x1000
test ebx, ebx
je 0x499464
mov dword [ebp - 0x4c], edi
test byte [ebp + 0x11], 2
je 0x499472
call sub.USER32.dll_CreatePopupMenu
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x50], eax
test byte [ebp + 0x12], 0x10
je 0x499484
mov dword [ebp - 0x50], 3
test ebx, ebx
je 0x49949e
push 0
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call fcn.00499360
add esp, 8
mov ecx, dword [0x529db8]
test ecx, ecx
je 0x4994d0
mov eax, dword [0x52a63c]
test eax, eax
jne 0x4994d0
call fcn.004ae7cc
cmp al, 1
je 0x4994d0
mov byte [ebp - 0x43], 0
mov dword [ebp - 0x54], 0x2393
mov word [ebp - 0x14], 0
jmp 0x49b0af
call fcn.0047d3d0
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.0047d3e0
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 0x499555
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 0x49957d
xor eax, eax
or ecx, 0xffffffff
mov edi, 0x616992
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 [0x52a63c]
test eax, eax
je 0x4995b8
mov dl, byte [0x612a5e]
test dl, dl
je 0x4995b8
xor eax, eax
or ecx, 0xffffffff
mov edi, 0x612a5e
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 [0x52e404]
test eax, eax
je 0x4995c7
mov byte [ebp - 0x64], 0x31
jmp 0x4995cb
mov byte [ebp - 0x64], 0x30
mov byte [ebp - 0x63], 0x31
test byte [ebp + 0x11], 1
je 0x4995ef
push 0x5f619b
push 0x3fff
push 2
push 0x3fff
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_ModifyMenuA
test byte [ebp + 0x12], 0x10
je 0x49961b
push 0x1e
push 0x48d
lea ecx, [ebp - 0x4ec]
push ecx
push 0
push 1
call fcn.0047cbb4
pop ecx
push eax
call fcn.004836ac
add esp, 0x14
mov dword [ebp - 0x30], eax
jmp 0x499640
push 0x1e
push 0x48d
lea eax, [ebp - 0x4ec]
push eax
call fcn.0047d3c8
push eax
call fcn.0047cae8
push eax
call fcn.004836ac
add esp, 0x14
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
test edx, edx
jne 0x4997a6
test byte [ebp + 0x12], 0x10
jne 0x499656
call fcn.0047cbf4
test byte [ebp + 0x11], 0x10
je 0x49975c
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 1
jne 0x499678
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004184f4
add esp, 8
push 1
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00498f8c
add esp, 8
test eax, eax
je 0x49968e
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 2
je 0x49975c
push 0x5f61a7
lea edx, [ebp - 0x24ec]
push edx
call fcn.004d75f8
add esp, 8
movsx ecx, byte [0x63f8a6]
cmp ecx, 0x34
jne 0x49970b
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 0x49975c
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 0x499794
test byte [ebp + 0x12], 2
je 0x499784
push 0x5f61c1
push 0x3fff
push 2
push 0x3fff
mov eax, dword [ebp - 0x48]
push eax
call sub.USER32.dll_ModifyMenuA
jmp 0x499794
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 0x49b0af
test byte [ebp + 0x12], 0x10
jne 0x4997b1
call fcn.0047cbe4
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0xae]
test eax, eax
jne 0x49991c
mov edx, dword [ebp - 0x30]
push edx
call fcn.0047fb38
test byte [ebp + 0x11], 0x10
pop ecx
je 0x4998d2
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 1
jne 0x4997ee
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004184f4
add esp, 8
push 1
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00498f8c
add esp, 8
test eax, eax
je 0x499804
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 2
je 0x4998d2
push 0x5f61da
lea edx, [ebp - 0x24ec]
push edx
call fcn.004d75f8
add esp, 8
movsx ecx, byte [0x63f8a6]
cmp ecx, 0x34
jne 0x499881
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 0x4998d2
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 0x49990a
test byte [ebp + 0x12], 2
je 0x4998fa
push 0x5f61f4
push 0x3fff
push 2
push 0x3fff
mov eax, dword [ebp - 0x48]
push eax
call sub.USER32.dll_ModifyMenuA
jmp 0x49990a
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 0x49b0af
mov byte [ebp - 0x42], 0
test byte [ebp + 0x11], 0x10
je 0x49993e
mov byte [ebp - 0x43], 1
test byte [ebp + 0x12], 1
jne 0x49993e
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004184f4
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 0x499959
mov byte [ebp - 0x41], 1
jmp 0x49995d
mov byte [ebp - 0x41], 0
mov dl, byte [ebp - 0x41]
test dl, dl
je 0x499987
inc ebx
lea ecx, [ebp - 0x64ec]
push ecx
push ebx
call fcn.00498d8c
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x64ec]
push eax
call fcn.004db08c
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 0x499a2a
xor edi, edi
test ebx, ebx
je 0x49aebb
lea eax, [ebp - 0x84ec]
push eax
push ebx
call fcn.00498d8c
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x49aebb
inc edi
lea edx, [ebp - 0x44ec]
push edx
push ebx
call fcn.00498d8c
add esp, 8
mov ebx, eax
inc edi
lea ecx, [ebp - 0x64ec]
push ecx
push ebx
call fcn.00498d8c
add esp, 8
mov ebx, eax
inc edi
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.00498d8c
add esp, 8
mov ebx, eax
inc edi
mov edx, dword [ebp - 0x2c]
cmp edi, edx
je 0x499ab2
lea ecx, [ebp - 0x24ec]
push ecx
push ebx
call fcn.00498d8c
add esp, 8
mov ebx, eax
inc edi
mov eax, dword [ebp - 0x2c]
cmp edi, eax
jne 0x499a0b
jmp 0x499ab2
mov edx, dword [ebp - 0x5c]
movsx ecx, byte [edx]
dec ecx
jne 0x49aebb
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.004524d4
add esp, 0x10
lea ecx, [ebp - 0x64ec]
mov eax, edi
add eax, 0x5b
push 0x300
push 0x28
push ecx
push eax
call fcn.004524d4
add esp, 0x10
lea edx, [ebp - 0x44ec]
mov ecx, edi
add ecx, 0x1f
push 0x300
push 0x3c
push edx
push ecx
call fcn.004524d4
add esp, 0x10
lea eax, [ebp - 0x40]
add edi, 0x83
push 0x300
push 2
push eax
push edi
call fcn.004524d4
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 0x5f620e
push edx
call fcn.004d75f8
add esp, 0x14
test byte [ebp + 0x12], 0x10
je 0x499af5
push 0x5f621b
lea ecx, [ebp - 0x24ec]
push ecx
call fcn.004d2e40
add esp, 8
test byte [ebp + 0x11], 0x10
je 0x49a872
movsx eax, byte [ebp - 0x40]
add eax, 0xffffffcf
cmp eax, 0x17
ja case.0x499b0b.58
jmp dword [eax*4 + 0x499b12]
movsx edx, byte [0x63f8a6]
cmp edx, 0x34
jne 0x499bd5
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 0x49a872
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 0x49a872
movsx ecx, byte [0x63f8a6]
cmp ecx, 0x34
jne 0x499c8e
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 0x49a872
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 0x49a872
movsx eax, byte [0x63f8a6]
cmp eax, 0x34
jne 0x499d47
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 0x49a872
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 0x49a872
movsx edx, byte [0x63f8a6]
cmp edx, 0x34
jne 0x499e01
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 0x49a872
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 0x49a872
movsx ecx, byte [0x63f8a6]
cmp ecx, 0x34
jne 0x499eba
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 0x49a872
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 0x49a872
movsx eax, byte [0x63f8a6]
cmp eax, 0x34
jne 0x499f73
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 0x49a872
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 0x49a872
movsx edx, byte [0x63f8a6]
cmp edx, 0x34
jne 0x49a02d
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 0x49a872
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 0x49a872
movsx ecx, byte [0x63f8a6]
cmp ecx, 0x34
jne 0x49a0e6
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 0x49a872
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 0x49a872
movsx eax, byte [0x63f8a6]
cmp eax, 0x34
jne 0x49a19f
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 0x49a872
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 0x49a872
movsx edx, byte [0x63f8a6]
cmp edx, 0x34
jne 0x49a259
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 0x49a872
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 0x49a872
movsx ecx, byte [0x63f8a6]
cmp ecx, 0x34
jne 0x49a312
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 0x49a872
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 0x49a872
movsx eax, byte [0x63f8a6]
cmp eax, 0x34
jne 0x49a3cb
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 0x49a872
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 0x49a872
movsx edx, byte [0x63f8a6]
cmp edx, 0x34
jne 0x49a485
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 0x49a872
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 0x49a872
movsx ecx, byte [0x63f8a6]
cmp ecx, 0x34
jne 0x49a53e
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 0x49a872
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 0x49a872
movsx eax, byte [0x63f8a6]
cmp eax, 0x34
jne 0x49a5f7
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 0x49a872
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 0x49a872
movsx edx, byte [0x63f8a6]
cmp edx, 0x34
jne 0x49a6b1
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 0x49a872
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 0x49a872
movsx ecx, byte [0x63f8a6]
cmp ecx, 0x34
jne 0x49a76a
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 0x49a872
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 0x49a872
movsx eax, byte [0x63f8a6]
cmp eax, 0x34
jne 0x49a820
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 0x49a872
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 0x49aeae
movsx edx, byte [ebp - 0x40]
add edx, 0xffffffcf
cmp edx, 0x17
ja case.0x49a888.49
jmp dword [edx*4 + 0x49a88f]
lea ecx, [ebp - 0x84ec]
push ecx
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49a910
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.00457f98
pop ecx
push eax
push 5
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49a967
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.00457f98
pop ecx
push eax
push 4
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49a9be
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.00457f98
pop ecx
push eax
push 6
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49aa15
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.00457f98
pop ecx
push eax
push 0x20
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49aa6c
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.00457f98
pop ecx
push eax
push 0x21
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49aac3
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.00457f98
pop ecx
push eax
push 0x22
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49ab1a
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.00457f98
pop ecx
push eax
push 0x23
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49ab71
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.00457f98
pop ecx
push eax
push 0x24
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49abc8
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.00457f98
pop ecx
push eax
push 0x25
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49ac1f
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.00457f98
pop ecx
push eax
push 0x26
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49ac76
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.00457f98
pop ecx
push eax
push 0x27
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49accd
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.00457f98
pop ecx
push eax
push 0x28
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49ad24
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.00457f98
pop ecx
push eax
push 0x29
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49ad7b
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.00457f98
pop ecx
push eax
push 0x2a
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49add2
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.00457f98
pop ecx
push eax
push 0x2b
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49ae29
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.00457f98
pop ecx
push eax
push 0x2c
call fcn.00457f98
pop ecx
push eax
push 0
push edi
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49aeae
lea eax, [ebp - 0x84ec]
push eax
call fcn.004db08c
pop ecx
mov edi, eax
or edi, 0x80000
test byte [ebp + 0x12], 0x10
je 0x49ae7d
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.00457f98
pop ecx
push eax
push 0x2d
call fcn.00457f98
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 0x49999a
test esi, esi
jne 0x49b035
test byte [ebp + 0x11], 1
je 0x49af3a
lea eax, [ebp - 0x44c]
lea edx, [ebp - 0x24ec]
push eax
push 0x5f621e
push edx
call fcn.004d75f8
add esp, 0xc
test byte [ebp + 0x12], 2
je 0x49af2a
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.00457f98
pop ecx
push eax
push 0x19
call fcn.00457f98
pop ecx
push eax
push 0
push 0x3fff
mov edx, dword [ebp - 0x48]
push edx
call sub.USER32.dll_SetMenuItemBitmaps
jmp 0x49af3a
push 0
push 0x3fff
mov ecx, dword [ebp - 0x48]
push ecx
call sub.USER32.dll_DeleteMenu
test byte [ebp + 0x11], 0x10
je 0x49b06a
push esi
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00498f8c
add esp, 8
test eax, eax
je 0x49af59
mov byte [ebp - 0x43], 1
lea edx, [ebp - 0x44c]
lea ecx, [ebp - 0x24ec]
push edx
push 0x5f6226
push ecx
call fcn.004d75f8
add esp, 0xc
test byte [ebp + 0x12], 2
je 0x49b06a
movsx eax, byte [0x63f8a6]
cmp eax, 0x34
jne 0x49afe1
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 0x49b06a
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 0x49b06a
test byte [ebp + 0x11], 0x10
je 0x49b054
push esi
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00498f8c
add esp, 8
test eax, eax
je 0x49b054
mov byte [ebp - 0x42], 1
mov byte [ebp - 0x43], 1
test byte [ebp + 0x11], 1
je 0x49b06a
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 0x49991c
mov edx, dword [ebp - 0x30]
push edx
call fcn.0047fb38
pop ecx
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x14], 0
jmp 0x49b0af
mov word [ebp - 0x14], 0x14
test byte [ebp + 0x11], 0x10
je 0x49b102
mov ecx, dword [ebp - 0x28]
inc ecx
je 0x49b0d3
mov eax, dword [ebp - 0x28]
push eax
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0041865c
add esp, 0xc
push 1
push 0x64
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.USER32.dll_GetDlgItem
push eax
call fcn.00499360
add esp, 8
mov al, byte [ebp - 0x43]
cmp al, 1
jne 0x49b102
push 0x64
mov edx, dword [ebp - 0x4c]
push edx
call sub.USER32.dll_GetDlgItem
push eax
call fcn.00499398
pop ecx
test byte [0x528c3c], 0x40
je 0x49b122
push 0x5f6246
push 0x5f6239
push 0x528c40
call fcn.004541dc
add esp, 0xc
mov word [ebp - 0x14], 0
jmp 0x49b14d
push 0x5b0568
call fcn.00401b34
pop ecx
dec dword [0x5b0564]
push 0x5b0568
call fcn.00401b48
test byte [ebp + 0x11], 2
pop ecx
je 0x49b17e
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x49b18b
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