Function at 0x46d50b
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x49a9cf
call fcn.00496f64
sub esp, 0x840
push ebx
push esi
mov ebx, ecx
xor eax, eax
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], eax
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0xb7c4]
push ecx
push eax
push str.masterconfig.ini
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], eax
call fcn.004705e4
push 0x398
call fcn.0042493a
add esp, 0x14
mov dword [ebp - 0x24], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
test eax, eax
je 0x46d56f
push ecx
mov ecx, eax
call fcn.0047a638
mov esi, eax
jmp 0x46d571
mov esi, ecx
or dword [ebp - 4], 0xffffffff
push ecx
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.0047a552
push ecx
push 0x4a873c
push str.allLanguages
push 0x4a8750
mov ecx, esi
call fcn.0047a5cb
mov edi, ebx
mov dword [ebp - 0x2c], eax
mov edx, eax
sub edi, eax
mov cl, byte [edx]
mov byte [edi + edx + 0x9376], cl
inc edx
test cl, cl
jne 0x46d5a3
xor eax, eax
mov edi, 0x3ff
push edi
push eax
mov byte [ebp - 0x44c], al
lea eax, [ebp - 0x44b]
push eax
call fcn.0042a910
add esp, 0xc
xor eax, eax
mov byte [ebp - 0x84c], al
push edi
push eax
lea eax, [ebp - 0x84b]
push eax
call fcn.0042a910
pop ecx
pop ecx
push 0x4a513e
push str.region_codes
mov edi, 0x4a8750
mov ecx, esi
push edi
call fcn.0047a5cb
lea edx, [ebp - 0x44c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x46d606
push ecx
push 0x4a513e
push str.region_strings
push edi
mov ecx, esi
call fcn.0047a5cb
lea edx, [ebp - 0x84c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x46d62b
push ecx
push 0x4a513e
push str.HardwareTrackingURL
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0xa376], cl
inc eax
test cl, cl
jne 0x46d64c
push dword [ebp - 0x1c]
lea eax, [ebx + 0xb7c4]
push eax
call fcn.004703c2
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
xor ecx, ecx
lea edi, [ebp - 0x47]
mov byte [ebp - 0x48], cl
stosd dword es:[edi], eax
mov byte [ebp - 0x3c], cl
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x3b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [0x4ca9e8]
mov edi, 0x4a5c80
add eax, 0xf28
push eax
lea eax, [ebp - 0x3c]
push edi
push eax
call esi
mov eax, dword [0x4ca9e8]
add esp, 0x14
add eax, 0xf40
push eax
lea eax, [ebp - 0x48]
push edi
push eax
call esi
lea ecx, [ebp - 0x44c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d6bf
sub ecx, edx
je 0x46d729
xor eax, eax
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046e65f
mov edi, dword [ebp - 0x20]
pop ecx
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov esi, ecx
test eax, eax
jle 0x46d712
mov bl, cl
lea eax, [ebp - 0x3c]
push eax
push dword [edi + esi*4]
call fcn.0042678f
neg eax
pop ecx
sbb al, al
inc al
or bl, al
inc esi
pop ecx
cmp esi, dword [ebp - 0x24]
jl 0x46d6ef
test bl, bl
mov ebx, dword [ebp - 0x18]
jne 0x46d729
push dword [edi]
lea eax, [ebx + 0xf28]
push 0x4a8720
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046e65f
mov edi, dword [ebp - 0x20]
pop ecx
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov esi, ecx
test eax, eax
jle 0x46d76e
mov bl, cl
lea eax, [ebp - 0x48]
push eax
push dword [edi + esi*4]
call fcn.0042678f
neg eax
pop ecx
sbb al, al
inc al
or bl, al
inc esi
pop ecx
cmp esi, dword [ebp - 0x24]
jl 0x46d74b
test bl, bl
mov ebx, dword [ebp - 0x18]
jne 0x46d785
push dword [edi]
lea eax, [ebx + 0xf40]
push 0x4a8720
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0xb7c4]
push eax
push str.config.ini
call fcn.004705e4
push 0x398
call fcn.0042493a
add esp, 0x14
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x46d7d2
xor ecx, ecx
push ecx
mov ecx, eax
call fcn.0047a638
mov esi, eax
mov dword [ebp - 0x24], esi
jmp 0x46d7d9
xor eax, eax
mov esi, eax
mov dword [ebp - 0x24], eax
or dword [ebp - 4], 0xffffffff
push ecx
push dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x20]
call fcn.0047a552
push ecx
push 0x4a513e
push str.WebOLR
mov edi, 0x4a8750
mov ecx, esi
push edi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0xf58], cl
inc eax
test cl, cl
jne 0x46d807
push ecx
push 0x4a513e
push str.UpgradeServer
push edi
mov ecx, esi
call fcn.0047a5cb
lea ecx, [ebx + 0x1758]
mov edx, ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x46d832
push ecx
push 0x4a513e
push str.urlmktg
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x1f58], cl
inc eax
test cl, cl
jne 0x46d853
push ecx
push 0x4a513e
push str.UninstallSurvey
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x2758], cl
inc eax
test cl, cl
jne 0x46d878
push ecx
push 0x4a513e
push str.TrackingUrl
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x2f58], cl
inc eax
test cl, cl
jne 0x46d89d
push ecx
push str.install:___eula.html
push str.urlStartPage
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x3758], cl
inc eax
test cl, cl
jne 0x46d8c2
push ecx
push str.install:___autostart.html
push str.urlAutoStartPage
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x3f58], cl
inc eax
test cl, cl
jne 0x46d8e7
push ecx
push str.install:___marketing.html
push str.urlEndPage
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x4758], cl
inc eax
test cl, cl
jne 0x46d90c
push ecx
push 0x4a513e
push str.FlashCasinoURL
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x4f58], cl
inc eax
test cl, cl
jne 0x46d931
push ecx
push 0x4a513e
push str.CloseDialogMarketingURL
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x5758], cl
inc eax
test cl, cl
jne 0x46d956
push ecx
push 0x4a513e
push str.PCMChatURL
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x5f58], cl
inc eax
test cl, cl
jne 0x46d97b
push ecx
push 0x4a513e
push str.AbortedInstallURL
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x6758], cl
inc eax
test cl, cl
jne 0x46d9a0
push ecx
push 0x4a513e
push str.CasinoURL
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x6f58], cl
inc eax
test cl, cl
jne 0x46d9c5
push ecx
push str.install:___PromoQuitInstall.html
push str.HtmlExitDialogURL
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x7758], cl
inc eax
test cl, cl
jne 0x46d9ea
push ecx
xor eax, eax
mov ecx, esi
push eax
push str.PostHardwareTracking
push edi
call fcn.0047a57c
test eax, eax
push ecx
setne al
mov ecx, esi
mov byte [ebx + 0xab77], al
xor eax, eax
push eax
push str.PostTracking
push edi
call fcn.0047a57c
test eax, eax
push ecx
setne al
mov ecx, esi
mov byte [ebx + 0xab78], al
xor eax, eax
push eax
push str.PostPCMTracking
push edi
call fcn.0047a57c
push ecx
push 0x4a513e
test eax, eax
mov ecx, esi
push str.intername
setne al
push edi
mov byte [ebx + 0xab79], al
call fcn.0047a5cb
lea ecx, [ebx + 0x89dc]
mov edx, ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x46da69
push ecx
push 0x4a513e
push str.InternalNameOverride
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x8b5c], cl
inc eax
test cl, cl
jne 0x46da8a
push ecx
push 0x4a513e
push str.defaultinstallloc
push edi
mov ecx, esi
call fcn.0047a5cb
lea ecx, [ebx + 0x8a5c]
mov edx, ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x46dab5
push ecx
push 0x4a513e
push str.registry
push edi
mov ecx, esi
call fcn.0047a5cb
lea edi, [ebx + 0x8adc]
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x46dadc
push ecx
push 0x4a513e
push str.extinstallname
push 0x4a8750
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x88dc], cl
inc eax
test cl, cl
jne 0x46db01
push ecx
push 0x4a513e
push str.extinstallparm
push 0x4a8750
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x895c], cl
inc eax
test cl, cl
jne 0x46db2a
push ecx
push 0x4a513e
push str.pcmtrackingurl
push 0x4a8750
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x7f58], cl
inc eax
test cl, cl
jne 0x46db53
push ecx
xor eax, eax
mov ecx, esi
push eax
push str.serverid
push 0x4a8750
call fcn.0047a57c
push ecx
push 0x4a7a00
push str.pcmversion
push 0x4a8750
mov ecx, esi
mov dword [ebx + 0x88d8], eax
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x8858], cl
inc eax
test cl, cl
jne 0x46db97
lea ecx, [ebx + 0xf40]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x28]
jne 0x46dbae
sub ecx, edx
sar ecx, 1
jne 0x46dbed
push ecx
push 0x4a873c
push str.Lang
push 0x4a8750
mov ecx, esi
call fcn.0047a5cb
push eax
lea eax, [ebx + 0xf40]
push 0x4a8720
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push ecx
push 0x4a513e
push str.Publisher
push 0x4a8750
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x8bdc], cl
inc eax
test cl, cl
jne 0x46dc08
push ecx
push 0x4a513e
push str.URLInfoAbout
push 0x4a8750
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x8cdb], cl
inc eax
test cl, cl
jne 0x46dc31
push ecx
push 0x4a513e
push 0x4a7a34
push 0x4a8750
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x8dda], cl
inc eax
test cl, cl
jne 0x46dc5a
push ecx
push 0x4a513e
push str.Contact
push 0x4a8750
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x8ed9], cl
inc eax
test cl, cl
jne 0x46dc83
push ecx
xor eax, eax
mov ecx, esi
push eax
push str.HiddenInstall
push 0x4a8750
call fcn.0047a57c
test eax, eax
mov eax, dword [0x4ca9e8]
setne cl
push ecx
mov byte [eax + 0xb7c2], cl
xor eax, eax
push eax
push str.outputDebugStrings
push 0x4a8750
mov ecx, esi
call fcn.0047a57c
test eax, eax
mov eax, dword [0x4ca9e8]
setne cl
mov byte [eax + 0xb7c3], cl
mov eax, dword [0x4ca9e8]
cmp byte [eax + 0xb7c2], 0
je 0x46dcee
xor eax, eax
inc eax
jmp 0x46dd03
push ecx
xor eax, eax
mov ecx, esi
push eax
push str.fAutorun
push 0x4a8750
call fcn.0047a57c
push ecx
push 2
push str.fInstallType
push 0x4a8750
mov ecx, esi
mov dword [ebx + 0x906a], eax
call fcn.0047a57c
push ecx
mov dword [ebx + 0x9066], eax
mov ecx, esi
xor eax, eax
push eax
push str.fExternalSurvey
push 0x4a8750
call fcn.0047a57c
push ecx
mov dword [ebx + 0x906e], eax
mov ecx, esi
xor eax, eax
push eax
push str.flags
push 0x4a8750
call fcn.0047a57c
push ecx
push 3
push str.concurrentDownloads
push 0x4a8750
mov ecx, esi
mov byte [ebx + 0x9375], al
call fcn.0047a57c
push ecx
mov dword [ebx + 0x9072], eax
mov ecx, esi
lea eax, [ebx + 0x89dc]
push eax
push str.ViperInternalName
push 0x4a8750
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx + 0x9175], cl
inc eax
test cl, cl
jne 0x46dd90
push ecx
lea eax, [ebx + 0x1758]
mov ecx, esi
push eax
push str.ViperUpgradeServer
push 0x4a8750
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx + 0x9076], cl
inc eax
test cl, cl
jne 0x46ddbb
push ecx
lea eax, [ebx + 0x8a5c]
mov ecx, esi
push eax
push str.ViperDefaultInstall
push 0x4a8750
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx + 0x91f5], cl
inc eax
test cl, cl
jne 0x46dde6
push ecx
push edi
push str.ViperRegistry
mov edi, 0x4a8750
mov ecx, esi
push edi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx + 0x9275], cl
inc eax
test cl, cl
jne 0x46de0c
push ecx
push 0x4a513e
push str.ViperGameList
push edi
mov ecx, esi
call fcn.0047a5cb
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx + 0x92f5], cl
inc eax
test cl, cl
jne 0x46de31
push ecx
push 0x4a513e
push str.GlobalCacheDir
push edi
mov ecx, esi
call fcn.0047a5cb
mov ecx, eax
call fcn.0046eee2
mov edi, ebx
mov dword [ebp - 0x28], eax
mov edx, eax
sub edi, eax
mov cl, byte [edx]
mov byte [edx + edi + 0xab7b], cl
inc edx
test cl, cl
jne 0x46de62
push ecx
push 3
push str.DownloadRetryLimit
mov edi, 0x4a8750
mov ecx, esi
push edi
call fcn.0047a57c
push ecx
push 0x1d4c0
push str.PacketTimeout
push edi
mov ecx, esi
mov dword [ebx + 0xac7f], eax
call fcn.0047a57c
push dword [ebp - 0x28]
mov dword [ebx + 0xac83], eax
call fcn.00406283
xor eax, eax
mov ecx, esi
push eax
push str.fLGARequirements
push edi
call fcn.0047a57c
push ecx
mov dword [ebx + 0xac87], eax
mov ecx, esi
xor eax, eax
push eax
push str.fTrackBeforeEula
push edi
call fcn.0047a57c
mov ecx, dword [0x4ca9e8]
push ecx
mov dword [ecx + 0xac8b], eax
xor eax, eax
push eax
push str.enableIcabs
push edi
mov ecx, esi
call fcn.0047a57c
test eax, eax
mov eax, dword [0x4ca9e8]
setne cl
push ecx
mov byte [eax + 0xab7a], cl
xor eax, eax
push eax
push str.delayedExternalLaunch
push edi
mov ecx, esi
call fcn.0047a57c
test eax, eax
mov eax, dword [0x4ca9e8]
setne cl
push ecx
mov byte [eax + 0xb7a0], cl
xor eax, eax
push eax
push str.getExternalInstaller
push edi
mov ecx, esi
call fcn.0047a57c
test eax, eax
mov eax, dword [0x4ca9e8]
setne cl
push ecx
push 0x4a513e
push str.ExternalInstallerLocation
mov byte [eax + 0xac8f], cl
mov ecx, esi
push edi
call fcn.0047a5cb
mov ecx, dword [0x4ca9e8]
lea edx, [ecx + 0xac90]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x46df61
push ecx
push 0x4a513e
push str.ExternalInstallerParams
push edi
mov ecx, esi
call fcn.0047a5cb
mov ecx, dword [0x4ca9e8]
lea edx, [ecx + 0xb490]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x46df8a
push ecx
push 0x4a513e
push str.ExternalInstallerHash
push edi
mov ecx, esi
call fcn.0047a5cb
mov ecx, dword [0x4ca9e8]
lea edx, [ecx + 0xb594]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x46dfb3
push ecx
push 0x4a513e
push str.ExternalInstallerRegistry
push edi
mov ecx, esi
call fcn.0047a5cb
mov ecx, dword [0x4ca9e8]
lea edx, [ecx + 0xb698]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x46dfdc
push ecx
xor eax, eax
mov ecx, esi
push eax
push str.ExternalInstallerSize
push edi
call fcn.0047a57c
mov ecx, dword [0x4ca9e8]
push ecx
push 0x23c
push str.MarketingIFrameWidth
mov dword [ecx + 0xb79c], eax
mov ecx, esi
push edi
call fcn.0047a57c
mov ecx, dword [0x4ca9e8]
push ecx
push 0xd2
push str.MarketingIFrameHeight
mov dword [ecx + 0xb7a1], eax
mov ecx, esi
push edi
call fcn.0047a57c
mov ecx, dword [0x4ca9e8]
push ecx
push 0x28a
push str.HTMLQuitDialogWidth
mov dword [ecx + 0xb7a5], eax
mov ecx, esi
push edi
call fcn.0047a57c
mov ecx, dword [0x4ca9e8]
push ecx
push 0x172
push str.HTMLQuitDialogHeight
mov dword [ecx + 0xb7a9], eax
mov ecx, esi
push edi
call fcn.0047a57c
mov ecx, dword [0x4ca9e8]
mov dword [ecx + 0xb7ad], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebx + 0xb7c4]
push eax
push str.icon.ico
call fcn.004705e4
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
test ecx, ecx
je 0x46e0bd
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46e0bd
mov dword [ebx + 0xe1c], ecx
mov dword [ebx + 0xe20], eax
mov ecx, dword [0x4ca9e8]
xor edx, edx
inc edx
mov al, byte [ecx + 4]
and al, dl
mov byte [ecx + 0xb7b1], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 1
and al, dl
mov byte [ecx + 0xb7b2], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 2
and al, dl
mov byte [ecx + 0xb7b3], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 3
and al, dl
mov byte [ecx + 0xb7b4], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 4
and al, dl
mov byte [ecx + 0xb7b5], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 0xa
and al, dl
mov byte [ecx + 0xb7bf], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 0xe
and al, dl
mov byte [ecx + 0xb7c0], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 0xf
and al, dl
mov byte [ecx + 0xb7c1], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 0xb
and al, dl
mov byte [ecx + 0xb7b6], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 0xc
and al, dl
mov byte [ecx + 0xb7b7], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 0xd
and al, dl
mov byte [ecx + 0xb7b8], al
mov eax, dword [0x4ca9e8]
cmp byte [eax + 0xb7b6], 0
jne 0x46e1bc
cmp byte [eax + 0xb7b7], 0
jne 0x46e1bc
cmp byte [eax + 0xb7b8], 0
jne 0x46e1bc
xor ecx, ecx
jmp 0x46e1be
mov ecx, edx
mov byte [eax + 0xb7b9], cl
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 5
and al, dl
mov byte [ecx + 0xb7ba], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 6
and al, dl
mov byte [ecx + 0xb7bb], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 7
and al, dl
mov byte [ecx + 0xb7bc], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 8
and al, dl
mov byte [ecx + 0xb7bd], al
mov ecx, dword [0x4ca9e8]
mov eax, dword [ecx + 4]
shr eax, 9
and al, dl
cmp byte [0x4ca9c6], 0
mov byte [ecx + 0xb7be], al
je 0x46e2f0
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7b1], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7b2], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7b3], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7b4], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7b5], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7bf], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7c0], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7c1], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7b9], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7b6], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7b7], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7b8], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7ba], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7bb], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7bc], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7bd], dl
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7be], dl
cmp dword [0x4ca9d4], 0
jne 0x46e3f7
mov ecx, dword [ebp - 0x2c]
call fcn.0046e72c
lea edx, [ebp - 0x84c]
lea ecx, [ebp - 0x44c]
call fcn.0046e592
cmp dword [0x4ca9d4], 0
mov edi, 0x4ca9d4
je 0x46e3f7
lea esi, [ebx + 0xf40]
xor eax, eax
mov edx, dword [edi]
mov ecx, str.stringtable.res
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebx + 0xb7c4]
push eax
call fcn.0046c9e9
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x46e37c
mov eax, dword [edi]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push dword [eax + 0x14]
call fcn.0046e4fb
pop ecx
push dword [ebp - 0x18]
lea eax, [ebx + 0xb7c4]
push eax
call fcn.004703c2
pop ecx
pop ecx
mov edx, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov ecx, str.theme.res
push eax
lea eax, [ebx + 0xb7c4]
push eax
call fcn.0046c9e9
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x46e3c2
mov eax, dword [edi]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push dword [eax + 0x14]
call fcn.0046e4fb
pop ecx
push dword [ebp - 0x18]
lea eax, [ebx + 0xb7c4]
push eax
call fcn.004703c2
pop ecx
pop ecx
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x14]
call fcn.0046e427
push esi
push dword [edi]
call fcn.00428830
pop ecx
pop ecx
test eax, eax
jne 0x46e3e5
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x8fd8], eax
mov edi, dword [edi]
xor eax, eax
add edi, 0x18
cmp dword [edi], eax
jne 0x46e330
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
call fcn.004703c2
pop ecx
pop ecx
test esi, esi
je 0x46e416
mov ecx, esi
call fcn.0047a60e
push esi
call fcn.0042490f
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret