Function at 0x4bee80
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x4fa60e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x388
mov eax, dword [0x544f00]
push ebx
push esi
xor ebx, ebx
push edi
mov ecx, 0x544f00
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], 0x544f00
call dword [eax + 4]
mov eax, dword [0x53d63c]
mov dword [esp + 0x39c], ebx
cmp eax, ebx
mov edi, 1
jne 0x4bef28
cmp dword [0x53d638], ebx
jne 0x4bef28
push 0xf8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x39c], 1
je 0x4beefd
push ebx
mov ecx, eax
call fcn.00404dd0
jmp 0x4beeff
xor eax, eax
mov ecx, dword [0x52ed10]
mov byte [esp + 0x39c], 0
push ecx
push 0x404da0
mov ecx, 0x542398
mov dword [0x53d638], eax
call fcn.004021a0
mov dword [0x53d63c], edi
mov edx, dword [0x544f00]
mov esi, dword [0x53d638]
push ebp
mov ecx, 0x544f00
mov dword [esp + 0x3a0], 0xffffffff
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push esi
call dword [eax + 0x84]
mov eax, dword [esp + 0x3c]
push 0x400
cmp eax, ebx
je 0x4bef67
push 4
jmp 0x4bef69
push 5
mov ebp, dword [esp + 0x3b0]
push ebp
call dword [sym.imp.USER32.dll_RemoveMenu]
mov edx, dword [0x544f40]
mov ecx, 0x544f40
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x53d630]
mov dword [esp + 0x3a0], 2
cmp eax, ebx
jne 0x4beff7
cmp dword [0x53d62c], ebx
jne 0x4beff7
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x3a0], 3
je 0x4befcd
push ebx
mov ecx, eax
call fcn.00403840
jmp 0x4befcf
xor eax, eax
mov dword [0x53d62c], eax
mov eax, dword [0x52e7f4]
push eax
push 0x403810
mov ecx, 0x542398
mov byte [esp + 0x3a8], 2
call fcn.004021a0
mov dword [0x53d630], edi
mov edx, dword [0x544f40]
mov esi, dword [0x53d62c]
mov ecx, 0x544f40
mov dword [esp + 0x3a0], 0xffffffff
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
push esi
call dword [eax + 0x1bc]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x295]
mov byte [esp + 0x294], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x8d]
mov byte [esp + 0x8c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x5c]
lea edx, [esp + 0x294]
push eax
push ebx
push 0x42a
push ebp
mov dword [esp + 0x6c], 0x30
mov dword [esp + 0x70], 0x40
mov dword [esp + 0x74], ebx
mov dword [esp + 0x90], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x8c]
cmp eax, ebx
mov edi, 0x53a9d4
jne 0x4bf0a7
mov edi, 0x53a9c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x53a9c4
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x298]
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
cmp eax, ebx
je 0x4bf10c
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x8c]
push ecx
push ebx
push 0x42a
push ebp
mov dword [esp + 0x90], eax
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
mov edx, dword [0x544f00]
mov ecx, 0x544f00
mov dword [esp + 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x53d63c]
mov dword [esp + 0x3a0], 4
cmp eax, ebx
jne 0x4bf1af
cmp dword [0x53d638], ebx
jne 0x4bf1af
push 0xf8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x3a0], 5
je 0x4bf181
push ebx
mov ecx, eax
call fcn.00404dd0
jmp 0x4bf183
xor eax, eax
mov dword [0x53d638], eax
mov eax, dword [0x52ed10]
push eax
push 0x404da0
mov ecx, 0x542398
mov byte [esp + 0x3a8], 4
call fcn.004021a0
mov dword [0x53d63c], 1
mov edx, dword [0x544f00]
mov esi, dword [0x53d638]
or edi, 0xffffffff
mov ecx, 0x544f00
mov dword [esp + 0x3a0], edi
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
push esi
call dword [eax + 0xa4]
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
test eax, eax
jl 0x4bf2b9
mov eax, dword [esp + 0x50]
cmp eax, 4
je 0x4bf255
cmp eax, 5
je 0x4bf255
push 0x403
push 2
push ebp
call ebx
push 3
push 0x41b
push ebp
call ebx
push 3
push 0x41c
push ebp
call ebx
push 3
push 0x41d
push ebp
call ebx
push 3
push 0x8007
push ebp
call ebx
push 3
push 0x41e
push ebp
call ebx
push 3
push 0x41f
push ebp
call ebx
push 3
push 0xbc0
push ebp
call ebx
push 3
push 0x803b
push ebp
call ebx
push 3
jmp 0x4bf2b1
push 0x400
push 2
push ebp
call ebx
push 0
push 0x41b
push ebp
call ebx
push 0
push 0x41c
push ebp
call ebx
push 0
push 0x41d
push ebp
call ebx
push 0
push 0x8007
push ebp
call ebx
push 0
push 0x41e
push ebp
call ebx
push 0
push 0x41f
push ebp
call ebx
push 0
push 0xbc0
push ebp
call ebx
push 0
push 0x803b
push ebp
call ebx
push 0
push 0x41a
push ebp
call ebx
mov eax, dword [0x541d2c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x48], esi
je 0x4bf31c
mov dword [esp + 0x10], esi
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x3a8], 6
call dword [edx + 0xc0]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4bf30b
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [edx + 0x24]
cmp dword [esp + 0x48], esi
jle 0x4bf307
push esi
push 0x41a
push ebp
call ebx
mov eax, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0x3a0], edi
je 0x4bf31c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [0x544f00]
mov ecx, 0x544f00
mov dword [esp + 0x54], esi
mov dword [esp + 0x18], ecx
call dword [eax + 4]
mov eax, dword [0x53d63c]
mov dword [esp + 0x3a0], 7
cmp eax, esi
jne 0x4bf3a3
cmp dword [0x53d638], esi
jne 0x4bf3a3
push 0xf8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov byte [esp + 0x3a0], 8
je 0x4bf374
push esi
mov ecx, eax
call fcn.00404dd0
jmp 0x4bf376
xor eax, eax
mov ecx, dword [0x52ed10]
mov byte [esp + 0x3a0], 7
push ecx
push 0x404da0
mov ecx, 0x542398
mov dword [0x53d638], eax
call fcn.004021a0
mov dword [0x53d63c], 1
mov edx, dword [0x544f00]
mov esi, dword [0x53d638]
mov ecx, 0x544f00
mov dword [esp + 0x3a0], edi
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x54]
push ecx
push esi
call dword [eax + 0xb0]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4bf3e5
push 0
push 0x4b0
push ebp
call ebx
push 0x400
jmp 0x4bf3f4
push 3
push 0x4b0
push ebp
call ebx
push 0x403
push 5
push ebp
call ebx
push 9
push ebp
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x4bf8a2
push 0x403
push 9
push ebp
call ebx
mov dword [esp + 0x30], esi
mov edx, dword [0x544f00]
mov ecx, 0x544f00
mov dword [esp + 0x3a0], 9
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x53d63c]
mov byte [esp + 0x3a0], 0xa
cmp eax, esi
jne 0x4bf4ab
cmp dword [0x53d638], esi
jne 0x4bf4ab
push 0xf8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov byte [esp + 0x3a0], 0xb
je 0x4bf47d
push esi
mov ecx, eax
call fcn.00404dd0
jmp 0x4bf47f
xor eax, eax
mov dword [0x53d638], eax
mov eax, dword [0x52ed10]
push eax
push 0x404da0
mov ecx, 0x542398
mov byte [esp + 0x3a8], 0xa
call fcn.004021a0
mov dword [0x53d63c], 1
mov edx, dword [0x544f00]
mov esi, dword [0x53d638]
mov ecx, 0x544f00
mov byte [esp + 0x3a0], 9
call dword [edx + 8]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00451720
test eax, eax
jl 0x4bf5db
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4bf5db
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
mov dword [esp + 0x20], eax
jle 0x4bf5db
push 0x400
push 9
push ebp
call ebx
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0x400
push 0
push edi
call esi
test eax, eax
je 0x4bf525
push 0x400
push 0
push edi
call esi
test eax, eax
jne 0x4bf517
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x34], esi
jle 0x4bf5bb
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
lea ebp, [esi + 0xc80]
lea eax, [esp + 0x28]
mov byte [esp + 0x3a0], 0xc
lea edx, [ebp - 0xc7f]
push edx
push 0x53a9bc
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4bf58b
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x28]
push eax
push ebp
push 0
push edi
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x3a0], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x4bf537
mov ebp, dword [esp + 0x3a8]
mov ecx, dword [esp + 0x34]
push 0
add ecx, 0xc80
add esi, 0xc7f
push ecx
push esi
push 0xc80
push edi
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov edx, dword [0x544f00]
mov ecx, 0x544f00
mov byte [esp + 0x3a0], 0xf
mov dword [esp + 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x53d63c]
mov byte [esp + 0x3a0], 0x10
cmp eax, esi
jne 0x4bf671
cmp dword [0x53d638], esi
jne 0x4bf671
push 0xf8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov byte [esp + 0x3a0], 0x11
je 0x4bf643
push esi
mov ecx, eax
call fcn.00404dd0
jmp 0x4bf645
xor eax, eax
mov dword [0x53d638], eax
mov eax, dword [0x52ed10]
push eax
push 0x404da0
mov ecx, 0x542398
mov byte [esp + 0x3a8], 0x10
call fcn.004021a0
mov dword [0x53d63c], 1
mov edx, dword [0x544f00]
mov esi, dword [0x53d638]
mov ecx, 0x544f00
mov byte [esp + 0x3a0], 0xf
call dword [edx + 8]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004515f0
test eax, eax
jl 0x4bf847
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4bf847
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x534060
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4bf847
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4bf847
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x53a030
push eax
call dword [ecx]
test eax, eax
jl 0x4bf847
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4bf847
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4bf847
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x4bf749
push 0x400
push 9
push ebp
call ebx
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0x400
push 0
push edi
call esi
test eax, eax
je 0x4bf760
push 0x400
push 0
push edi
call esi
test eax, eax
jne 0x4bf739
jmp 0x4bf760
add eax, 0xc80
push 0x53d5d0
push eax
push 0x800
push edi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], esi
jle 0x4bf824
lea ebp, [eax + 0xc81]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x10]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x190]
push 0x104
push eax
push 2
push ecx
mov byte [esp + 0x1a0], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0x190]
lea ecx, [esp + 0x28]
push edx
call sub.MFC42.DLL_CString::CString_2
push 0x53a9b0
push 0x53a9a8
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a8], 0x12
call sub.MFC42.DLL_CString::Replace
cmp dword [esp + 0x34], 1
jne 0x4bf7f2
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
push eax
push ebp
push 0
push edi
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x3a0], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
inc esi
inc ebp
cmp esi, eax
jl 0x4bf77c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0
lea edx, [ecx + eax + 0xc81]
lea ecx, [esi + eax + 0xc80]
push edx
add eax, 0xc81
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x3a0], 0xe
test eax, eax
je 0x4bf85d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x3a0], 0xd
test eax, eax
je 0x4bf873
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a0], 9
test eax, eax
je 0x4bf889
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3a0], 0xffffffff
test eax, eax
je 0x4bf8a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x3a8]
push 8
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ebp, eax
test ebp, ebp
je 0x4bfa83
push 0x403
push 8
push esi
call ebx
mov dword [esp + 0x10], 0
mov edx, dword [0x544f00]
mov ecx, 0x544f00
mov dword [esp + 0x3a0], 0x13
mov dword [esp + 0x18], 0x544f00
call dword [edx + 4]
mov eax, dword [0x53d63c]
mov byte [esp + 0x3a0], 0x14
test eax, eax
jne 0x4bf966
mov eax, dword [0x53d638]
test eax, eax
jne 0x4bf966
push 0xf8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x3a0], 0x15
je 0x4bf937
mov ecx, esi
call fcn.004505c0
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x4bf939
xor esi, esi
mov eax, dword [0x52ed10]
mov ecx, 0x542398
push eax
push 0x404da0
mov byte [esp + 0x3a8], 0x14
mov dword [0x53d638], esi
call fcn.004021a0
mov dword [0x53d63c], 1
mov edx, dword [0x544f00]
mov esi, dword [0x53d638]
mov ecx, 0x544f00
mov byte [esp + 0x3a0], 0x13
call dword [edx + 8]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00451620
test eax, eax
jl 0x4bfa64
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bfa6e
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
mov dword [esp + 0x14], eax
jle 0x4bfa64
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x3a8]
push 0x400
push 8
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0x400
push 0
push ebp
call esi
test eax, eax
je 0x4bf9f7
push 0x400
push 0
push ebp
call esi
test eax, eax
jne 0x4bf9e9
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x4bfa64
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea edi, [esi + 0x1b58]
lea edx, [esp + 0x1c]
mov byte [esp + 0x3a0], 0x16
lea ecx, [edi - 0x1b57]
push ecx
push 0x53a9a0
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x28]
add esp, 0xc
xor eax, eax
cmp ebx, esi
setne al
dec eax
push ecx
and eax, 8
push edi
push eax
push ebp
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a0], 0x13
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x4bfa01
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
test eax, eax
mov dword [esp + 0x3a0], 0xffffffff
je 0x4bfa83
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ebp, dword [esp + 0x3a8]
push 0xa
push ebp
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
test edi, edi
je 0x4bff09
push 0x403
push 0xa
push ebp
call ebx
mov eax, dword [esp + 0x50]
cmp eax, 4
je 0x4bfab9
cmp eax, 5
jne 0x4bff09
mov dword [esp + 0x28], 0
mov eax, dword [0x544f00]
mov ecx, 0x544f00
mov dword [esp + 0x3a0], 0x17
mov dword [esp + 0x18], ecx
call dword [eax + 4]
mov eax, dword [0x53d63c]
mov byte [esp + 0x3a0], 0x18
test eax, eax
jne 0x4bfb55
mov eax, dword [0x53d638]
test eax, eax
jne 0x4bfb55
push 0xf8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x3a0], 0x19
je 0x4bfb25
mov ecx, esi
call fcn.004505c0
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x4bfb27
xor esi, esi
mov ecx, dword [0x52ed10]
mov byte [esp + 0x3a0], 0x18
push ecx
push 0x404da0
mov ecx, 0x542398
mov dword [0x53d638], esi
call fcn.004021a0
mov dword [0x53d63c], 1
mov edx, dword [0x544f00]
mov esi, dword [0x53d638]
mov ecx, 0x544f00
mov byte [esp + 0x3a0], 0x17
call dword [edx + 8]
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.004515f0
test eax, eax
jl 0x4bfef0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4bfef4
mov dword [esp + 0x10], 0
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x534060
push eax
mov byte [esp + 0x3ac], 0x1a
call dword [ecx + 0xc]
test eax, eax
jl 0x4bfed3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bfede
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
xor ebp, ebp
push 0x534450
push eax
mov byte [esp + 0x3ac], 0x1b
mov dword [esp + 0x2c], ebp
call dword [ecx]
test eax, eax
jl 0x4bfd18
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4bfd18
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x20]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
jle 0x4bfd18
mov eax, dword [esp + 0x2c]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3a8]
push 0x400
push 0xa
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0x400
push 0
push edi
call esi
test eax, eax
je 0x4bfc56
push 0x400
push 0
push edi
call esi
test eax, eax
jne 0x4bfc48
xor esi, esi
test ebp, ebp
jle 0x4bfcf8
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov bl, 0x1c
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x24]
push edx
push esi
mov ecx, dword [eax]
push 0
push eax
mov byte [esp + 0x3b0], bl
call dword [ecx + 0x2c]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x24]
mov byte [esp + 0x3a0], 0x1d
push eax
call fcn.004e30fa
push eax
lea ecx, [esp + 0x20]
push 0x53a998
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + 0x1f40]
push edx
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a0], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
push ecx
call ebp
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x4bfc68
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
mov ebp, eax
mov edx, dword [esp + 0x18]
push 0
add edx, 0x1f40
add esi, 0x1f3f
push edx
push esi
push 0x1f40
push edi
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push 0x53a030
mov ecx, dword [eax]
push eax
mov byte [esp + 0x3ac], 0x1e
call dword [ecx]
test eax, eax
jl 0x4bfea7
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4bfeab
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4bfea7
test ebp, ebp
jg 0x4bfda7
mov eax, dword [esp + 0x3a8]
push 0x400
push 0xa
push eax
call ebx
push 0x400
push 0
push edi
call esi
test eax, eax
je 0x4bfdbf
push 0x400
push 0
push edi
call esi
test eax, eax
jne 0x4bfd97
jmp 0x4bfdbf
add ebp, 0x1f40
push 0x53d5d0
push ebp
push 0x800
push edi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x34], esi
jle 0x4bfe80
mov ecx, dword [esp + 0x20]
mov bl, 0x1f
lea ebp, [ecx + 0x1f41]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov edx, dword [eax]
push ecx
push esi
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x190]
push 0x104
push edx
push 2
push eax
mov byte [esp + 0x1a0], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 0x190]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
push 0x53a9b0
push 0x53a9a8
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a8], bl
call sub.MFC42.DLL_CString::Replace
cmp dword [esp + 0x14], 1
jne 0x4bfe52
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x1c]
push edx
push ebp
push 0
push edi
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a0], 0x1e
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
inc esi
inc ebp
cmp esi, eax
jl 0x4bfddd
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push 0
lea edx, [ecx + eax + 0x1f41]
lea ecx, [esi + eax + 0x1f40]
push edx
add eax, 0x1f41
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0x3a0], 0x1b
je 0x4bfebd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a0], 0x1a
test eax, eax
je 0x4bfed3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x3a8]
test eax, eax
mov byte [esp + 0x3a0], 0x17
je 0x4bfef0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x3a0], 0xffffffff
je 0x4bff09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [0x544f00]
mov ecx, 0x544f00
mov dword [esp + 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x53d63c]
mov ebx, 0x20
test eax, eax
mov dword [esp + 0x3a0], ebx
jne 0x4bffd2
mov eax, dword [0x53d638]
test eax, eax
jne 0x4bffd2
push 0xf8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x3a0], 0x21
je 0x4bff6f
mov ecx, esi
call fcn.004505c0
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x4bff71
xor esi, esi
mov eax, dword [0x5423a0]
mov edi, dword [0x52ed10]
mov dword [0x53d638], esi
xor esi, esi
lea ebp, [eax - 1]
mov byte [esp + 0x3a0], bl
test ebp, ebp
mov ebx, 0x404da0
jl 0x4bffb2
lea ecx, [esp + 0x34]
push esi
push ecx
mov ecx, 0x542398
call fcn.00408fc0
cmp edi, dword [esp + 0x38]
jge 0x4bffb2
inc esi
cmp esi, ebp
jle 0x4bff97
push 1
push edi
push ebx
push esi
mov ecx, 0x542398
call fcn.00408fe0
mov ebp, dword [esp + 0x3a8]
mov dword [0x53d63c], 1
mov edx, dword [0x544f00]
mov esi, dword [0x53d638]
mov ecx, 0x544f00
mov dword [esp + 0x3a0], 0xffffffff
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
push esi
call dword [eax + 0x9c]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c003f
push 0xb
push ebp
call dword [sym.imp.USER32.dll_GetSubMenu]
mov esi, eax
test esi, esi
je 0x4c003f
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c0031
push 0
jmp 0x4c0033
push 8
push 0x800e
push esi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], 0
test eax, eax
je 0x4c0078
mov edx, dword [eax]
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [edx + 0x50]
mov edx, dword [esp + 0x4c]
push 0
add edx, 0x803c
push edx
push 0x803e
push 0x803c
push ebp
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [0x544f40]
mov ecx, 0x544f40
mov dword [esp + 0x18], ecx
call dword [eax + 4]
mov eax, dword [0x53d630]
mov ebx, 0x22
test eax, eax
mov dword [esp + 0x3a0], ebx
jne 0x4c0153
mov eax, dword [0x53d62c]
test eax, eax
jne 0x4c0153
push 0x24
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x3a0], 0x23
je 0x4c00ef
mov ecx, esi
call fcn.0042e4d0
mov dword [esi], vtable.CComObjectNoRef_class_CKMPConfigMngr_.3.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CKMPConfigMngr_.2.0
mov dword [esi + 8], vtable.CComObjectNoRef_class_CKMPConfigMngr_.1.0
mov dword [esi + 0xc], vtable.CComObjectNoRef_class_CKMPConfigMngr_.0
jmp 0x4c00f1
xor esi, esi
mov ecx, dword [0x5423a0]
mov edi, dword [0x52e7f4]
mov dword [0x53d62c], esi
xor esi, esi
lea ebp, [ecx - 1]
mov byte [esp + 0x3a0], bl
test ebp, ebp
mov ebx, 0x403810
jl 0x4c0133
lea edx, [esp + 0x34]
push esi
push edx
mov ecx, 0x542398
call fcn.00408fc0
cmp edi, dword [esp + 0x38]
jge 0x4c0133
inc esi
cmp esi, ebp
jle 0x4c0118
push 1
push edi
push ebx
push esi
mov ecx, 0x542398
call fcn.00408fe0
mov ebp, dword [esp + 0x3a8]
mov dword [0x53d630], 1
mov eax, dword [0x544f40]
mov ebx, dword [0x53d62c]
mov ecx, 0x544f40
mov dword [esp + 0x3a0], 0xffffffff
call dword [eax + 8]
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x4c017f
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
test ebx, ebx
mov dword [esp + 0x3a0], 0x24
je 0x4c01c4
mov edx, dword [ebx]
lea eax, [esp + 0x58]
push eax
push ebx
call dword [edx + 0x44]
push 5
push ebp
call dword [sym.imp.USER32.dll_GetSubMenu]
test eax, eax
je 0x4c01c4
mov ecx, dword [esp + 0x58]
push 0
add ecx, 0x4b2
push ecx
push 0x4b6
push 0x4b2
push eax
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [0x543388]
test eax, eax
jne 0x4c0256
push 8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor edi, edi
cmp esi, edi
je 0x4c0204
mov dword [esi + 4], edi
mov ecx, 0x5432d8
mov byte [esp + 0x3a0], 0x26
mov dword [esi], vtable.ATL::CComObject_class_CMainMenuBuilder_.0
call fcn.004bac20
jmp 0x4c0206
xor esi, esi
cmp esi, edi
mov byte [esp + 0x3a0], 0x24
je 0x4c03b3
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
push 0x531860
push esi
call dword [edx]
mov esi, eax
cmp esi, edi
jge 0x4c0397
mov eax, dword [0x543388]
cmp eax, edi
je 0x4c023e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
mov dword [0x543388], edi
jge 0x4c0256
cmp esi, 0x80004002
je 0x4c0256
push esi
call fcn.004e2fd8
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4c03dd
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4c03dd
mov eax, dword [0x543388]
test eax, eax
je 0x4c0403
push 0x12
push ebp
call dword [sym.imp.USER32.dll_GetSubMenu]
mov esi, eax
mov eax, dword [0x543388]
test eax, eax
jne 0x4c0299
push 0x80004003
call fcn.004e2fd8
mov edi, dword [0x543388]
push 0
push 0
push esi
mov ebp, dword [edi]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
mov ecx, edi
call dword [ebp + 0xc]
mov eax, dword [0x543388]
test eax, eax
jne 0x4c02c5
push 0x80004003
call fcn.004e2fd8
mov edi, dword [0x543388]
push 1
push 1
push esi
mov ebp, dword [edi]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
mov ecx, edi
call dword [ebp + 0xc]
mov eax, dword [0x543388]
test eax, eax
jne 0x4c02f1
push 0x80004003
call fcn.004e2fd8
mov edi, dword [0x543388]
push 2
push 2
push esi
mov ebp, dword [edi]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
mov ecx, edi
call dword [ebp + 0xc]
mov eax, dword [0x543388]
test eax, eax
jne 0x4c031d
push 0x80004003
call fcn.004e2fd8
mov edi, dword [0x543388]
push 3
push 3
push esi
mov ebp, dword [edi]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
mov ecx, edi
call dword [ebp + 0xc]
mov eax, dword [0x543388]
test eax, eax
jne 0x4c0349
push 0x80004003
call fcn.004e2fd8
mov edi, dword [0x543388]
push 4
push 4
push esi
mov ebp, dword [edi]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
mov ecx, edi
call dword [ebp + 0xc]
mov eax, dword [0x543388]
test eax, eax
jne 0x4c0375
push 0x80004003
call fcn.004e2fd8
mov edi, dword [0x543388]
push 5
push 5
push esi
mov ebp, dword [edi]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
mov ecx, edi
call dword [ebp + 0xc]
mov ebp, dword [esp + 0x3a8]
jmp 0x4c0403
mov eax, dword [0x543388]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x4c023e
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4c023e
mov eax, dword [0x543388]
cmp eax, edi
je 0x4c0256
test eax, eax
mov dword [0x543388], 0
je 0x4c0256
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4c0256
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0x400
push 0x11
push ebp
call esi
push 0x400
push 0x11
push ebp
call esi
push 0x400
push 0x11
push ebp
call esi
jmp 0x4c0409
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0xd
push ebp
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.004c0bd0
add esp, 4
test eax, eax
jne 0x4c0429
push 0x400
push 0xd
push ebp
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4c043b
push 0x400
push 6
push ebp
call esi
push ebp
call fcn.00402930
add esp, 4
mov esi, eax
test ebx, ebx
mov dword [esp + 0x3a0], 0xffffffff
pop ebp
je 0x4c045c
mov edx, dword [ebx]
push ebx
call dword [edx + 8]
mov ecx, dword [esp + 0x394]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x394
ret