Function at 0x405e4a
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x44ed3d
call fcn.0044e3f4
sub esp, 0x83c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
add eax, 0xb7c4
push ecx
push eax
xor ebx, ebx
push str.masterconfig.ini
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
call fcn.004075c6
push 0x3a0
call fcn.0043ac16
add esp, 0x14
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x405ea7
push ebx
mov ecx, eax
call fcn.004179e0
mov dword [ebp - 0x1c], eax
jmp 0x405eaa
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x18]
call fcn.00416b00
mov ecx, dword [ebp - 0x1c]
push ebx
push 0x4542e0
push str.allLanguages
mov esi, str.config
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dword [ebp - 0x2c], eax
mov edi, eax
lea eax, [ecx + 0x9376]
mov cl, byte [edi]
mov byte [eax + edi], cl
inc edi
cmp cl, bl
jne 0x405ee6
mov edi, 0x3ff
push edi
lea eax, [ebp - 0x447]
push ebx
push eax
mov byte [ebp - 0x448], bl
call fcn.0043bbc0
add esp, 0xc
push edi
lea eax, [ebp - 0x847]
push ebx
push eax
mov byte [ebp - 0x848], bl
call fcn.0043bbc0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ebx
mov edi, 0x453270
push edi
push str.region_codes
push esi
call fcn.004149a0
lea ecx, [ebp - 0x448]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
cmp dl, bl
jne 0x405f40
mov ecx, dword [ebp - 0x1c]
push ebx
push edi
push str.region_strings
push esi
call fcn.004149a0
lea ecx, [ebp - 0x848]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
cmp dl, bl
jne 0x405f62
mov ecx, dword [ebp - 0x1c]
push ebx
push edi
push str.HardwareTrackingURL
push esi
call fcn.004149a0
mov edi, dword [ebp + 8]
sub edi, eax
mov cl, byte [eax]
mov byte [edi + eax + 0xa376], cl
inc eax
cmp cl, bl
jne 0x405f81
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call fcn.004075fa
xor eax, eax
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x38], bl
lea edi, [ebp - 0x37]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [0x46a494]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
add eax, 0xf28
push eax
lea eax, [ebp - 0x38]
push 0x453358
push eax
call edi
mov eax, dword [0x46a494]
add esp, 0x14
add eax, 0xf40
push eax
lea eax, [ebp - 0x44]
push 0x453358
push eax
call edi
lea eax, [ebp - 0x448]
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405ff1
sub eax, edi
je 0x40605b
mov dword [ebp - 0x24], ebx
lea ebx, [ebp - 0x24]
lea eax, [ebp - 0x448]
call fcn.00405327
mov ebx, dword [ebp - 0x24]
xor edi, edi
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x11], 0
test eax, eax
jle 0x406040
lea eax, [ebp - 0x38]
push eax
push dword [ebx + edi*4]
call fcn.0044b825
neg eax
sbb al, al
inc al
or byte [ebp - 0x11], al
inc edi
pop ecx
pop ecx
cmp edi, dword [ebp - 0x20]
jl 0x40601d
cmp byte [ebp - 0x11], 0
jne 0x406059
push dword [ebx]
mov eax, dword [ebp + 8]
add eax, 0xf28
push 0x4542c4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor ebx, ebx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
lea ebx, [ebp - 0x18]
call fcn.00405327
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x11], bl
cmp eax, ebx
jle 0x40609c
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax + edi*4]
call fcn.0044b825
neg eax
sbb al, al
inc al
or byte [ebp - 0x11], al
inc edi
pop ecx
pop ecx
cmp edi, dword [ebp - 0x20]
jl 0x406077
cmp byte [ebp - 0x11], bl
jne 0x4060b8
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp + 8]
add eax, 0xf40
push 0x4542c4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x24], ebx
push str.config.ini
mov dword [ebp - 0x18], ebx
call fcn.004075c6
push 0x3a0
call fcn.0043ac16
add esp, 0x14
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
cmp eax, ebx
je 0x4060fb
push ebx
mov ecx, eax
call fcn.004179e0
mov dword [ebp - 0x10], eax
jmp 0x4060fe
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x24]
call fcn.00416b00
mov ecx, dword [ebp - 0x10]
push ebx
mov edi, 0x453270
push edi
push str.WebOLR
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0xf58], dl
inc eax
cmp dl, bl
jne 0x40612b
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.urlmktg
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x1f58], dl
inc eax
cmp dl, bl
jne 0x40614e
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.UninstallSurvey
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x2758], dl
inc eax
cmp dl, bl
jne 0x406171
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.TrackingUrl
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x2f58], dl
inc eax
cmp dl, bl
jne 0x406194
mov ecx, dword [ebp - 0x10]
push ebx
push str.install:___eula.html
push str.urlStartPage
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x3758], dl
inc eax
cmp dl, bl
jne 0x4061bb
mov ecx, dword [ebp - 0x10]
push ebx
push str.install:___autostart.html
push str.urlAutoStartPage
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x3f58], dl
inc eax
cmp dl, bl
jne 0x4061e2
mov ecx, dword [ebp - 0x10]
push ebx
push str.install:___marketing.html
push str.urlEndPage
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x4758], dl
inc eax
cmp dl, bl
jne 0x406209
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.FlashCasinoURL
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x4f58], dl
inc eax
cmp dl, bl
jne 0x40622c
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.CloseDialogMarketingURL
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x5758], dl
inc eax
cmp dl, bl
jne 0x40624f
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.PCMChatURL
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x5f58], dl
inc eax
cmp dl, bl
jne 0x406272
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.AbortedInstallURL
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x6758], dl
inc eax
cmp dl, bl
jne 0x406295
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.CasinoURL
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x6f58], dl
inc eax
cmp dl, bl
jne 0x4062b8
mov ecx, dword [ebp - 0x10]
push ebx
push str.install:___PromoQuitInstall.html
push str.HtmlExitDialogURL
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x7758], dl
inc eax
cmp dl, bl
jne 0x4062df
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push str.PostHardwareTracking
push esi
call fcn.00414a90
mov ecx, dword [ebp + 8]
push ebx
test eax, eax
push ebx
setne al
push str.PostTracking
mov byte [ecx + 0xab77], al
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00414a90
mov ecx, dword [ebp + 8]
push ebx
test eax, eax
push 1
setne al
push str.PostPCMTracking
mov byte [ecx + 0xab78], al
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00414a90
mov ecx, dword [ebp + 8]
push ebx
test eax, eax
push edi
setne al
push str.intername
mov byte [ecx + 0xab79], al
mov ecx, dword [ebp - 0x10]
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
add ecx, 0x89dc
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
cmp dl, bl
jne 0x406363
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.InternalNameOverride
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x8b5c], dl
inc eax
cmp dl, bl
jne 0x406382
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.defaultinstallloc
push esi
call fcn.004149a0
mov edx, dword [ebp + 8]
add edx, 0x8a5c
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4063ab
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.registry
push esi
call fcn.004149a0
mov edx, dword [ebp + 8]
add edx, 0x8adc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4063d0
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.extinstallname
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x88dc], dl
inc eax
cmp dl, bl
jne 0x4063ef
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.extinstallparm
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x895c], dl
inc eax
cmp dl, bl
jne 0x406412
push dword [0x46a494]
mov ecx, dword [ebp - 0x10]
push 0x4070ee
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1000
push ebx
push edi
push str.UpgradeServer
push esi
call fcn.004149a0
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0x1758
call fcn.004073dc
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push ebx
push edi
push str.pcmtrackingurl
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x7f58], dl
inc eax
cmp dl, bl
jne 0x40646f
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push str.serverid
push esi
call fcn.00414a90
mov ecx, dword [ebp + 8]
push ebx
push 0x45453c
push str.pcmversion
mov dword [ecx + 0x88d8], eax
mov ecx, dword [ebp - 0x10]
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x8858], dl
inc eax
cmp dl, bl
jne 0x4064af
mov eax, dword [ebp + 8]
add eax, 0xf40
mov dword [ebp - 0x20], eax
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4064cb
sub eax, edx
sar eax, 1
jne 0x406502
mov ecx, dword [ebp - 0x10]
push ebx
push 0x4542e0
push str.Lang
push esi
call fcn.004149a0
push eax
push 0x4542c4
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.Publisher
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x8bdc], dl
inc eax
cmp dl, bl
jne 0x406517
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.URLInfoAbout
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x8cdb], dl
inc eax
cmp dl, bl
jne 0x40653a
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push 0x454570
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x8dda], dl
inc eax
cmp dl, bl
jne 0x40655d
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.Contact
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x8ed9], dl
inc eax
cmp dl, bl
jne 0x406580
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push str.HiddenInstall
push esi
call fcn.00414a90
mov ecx, dword [0x46a494]
push ebx
test eax, eax
push ebx
setne al
push str.outputDebugStrings
mov byte [ecx + 0xb7c2], al
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00414a90
mov ecx, dword [0x46a494]
test eax, eax
setne al
mov byte [ecx + 0xb7c3], al
mov eax, dword [0x46a494]
cmp byte [eax + 0xb7c2], bl
je 0x4065e2
xor eax, eax
inc eax
jmp 0x4065f2
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push str.fAutorun
push esi
call fcn.00414a90
mov ecx, dword [ebp + 8]
push ebx
push 2
push str.fInstallType
mov dword [ecx + 0x906a], eax
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00414a90
mov ecx, dword [ebp + 8]
push ebx
push ebx
push str.fExternalSurvey
mov dword [ecx + 0x9066], eax
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00414a90
mov ecx, dword [ebp + 8]
push ebx
push ebx
push str.flags
mov dword [ecx + 0x906e], eax
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00414a90
mov ecx, dword [ebp + 8]
push ebx
push 3
push str.concurrentDownloads
mov byte [ecx + 0x9375], al
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00414a90
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x9072], eax
push ebx
lea eax, [ecx + 0x89dc]
mov ecx, dword [ebp - 0x10]
push eax
push str.ViperInternalName
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x9175], dl
inc eax
cmp dl, bl
jne 0x40667c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push ebx
add eax, 0x1758
push eax
push str.ViperUpgradeServer
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax + 0x9076], dl
inc eax
cmp dl, bl
jne 0x4066a7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push ebx
add eax, 0x8a5c
push eax
push str.ViperDefaultInstall
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [eax + ecx + 0x91f5], dl
inc eax
cmp dl, bl
jne 0x4066d2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push ebx
add eax, 0x8adc
push eax
push str.ViperRegistry
push esi
call fcn.004149a0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dl, byte [eax]
mov byte [eax + ecx + 0x9275], dl
inc eax
cmp dl, bl
jne 0x4066fd
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.ViperGameList
push esi
call fcn.004149a0
mov edi, dword [ebp + 8]
sub edi, eax
mov cl, byte [eax]
mov byte [eax + edi + 0x92f5], cl
inc eax
cmp cl, bl
jne 0x406720
mov ecx, dword [ebp - 0x10]
push ebx
push 0x453270
push str.GlobalCacheDir
push esi
call fcn.004149a0
mov edi, eax
call fcn.004053f1
mov edi, dword [ebp + 8]
mov ecx, eax
mov eax, edi
mov dword [ebp - 0x18], ecx
sub eax, ecx
mov dl, byte [ecx]
mov byte [ecx + eax + 0xab7b], dl
inc ecx
cmp dl, bl
jne 0x406755
mov ecx, dword [ebp - 0x10]
push ebx
push 0xa
push str.DownloadRetryLimit
push esi
call fcn.00414a90
mov ecx, dword [ebp - 0x10]
push ebx
push 0x1d4c0
push str.PacketTimeout
push esi
mov dword [edi + 0xac7f], eax
call fcn.00414a90
push dword [ebp - 0x18]
mov dword [edi + 0xac83], eax
call fcn.0043b5e1
pop ecx
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push str.fLGARequirements
push esi
call fcn.00414a90
push ebx
push ebx
mov dword [edi + 0xac87], eax
mov edi, dword [ebp - 0x10]
push str.fTrackBeforeEula
push esi
mov ecx, edi
call fcn.00414a90
mov ecx, dword [0x46a494]
push ebx
push ebx
push str.enableIcabs
mov dword [ecx + 0xac8b], eax
push esi
mov ecx, edi
call fcn.00414a90
mov ecx, dword [0x46a494]
push ebx
test eax, eax
push ebx
setne al
push str.delayedExternalLaunch
mov byte [ecx + 0xab7a], al
push esi
mov ecx, edi
call fcn.00414a90
mov ecx, dword [0x46a494]
push ebx
test eax, eax
push ebx
setne al
push str.getExternalInstaller
mov byte [ecx + 0xb7a0], al
push esi
mov ecx, edi
call fcn.00414a90
mov ecx, dword [0x46a494]
push ebx
test eax, eax
mov edi, 0x453270
push edi
setne al
push str.ExternalInstallerLocation
mov byte [ecx + 0xac8f], al
mov ecx, dword [ebp - 0x10]
push esi
call fcn.004149a0
mov ecx, dword [0x46a494]
add ecx, 0xac90
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp dl, bl
jne 0x406852
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.ExternalInstallerParams
push esi
call fcn.004149a0
mov ecx, dword [0x46a494]
add ecx, 0xb490
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp dl, bl
jne 0x406878
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push str.ExternalInstallerHash
push esi
call fcn.004149a0
mov ecx, dword [0x46a494]
add ecx, 0xb594
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp dl, bl
jne 0x40689e
push ebx
push edi
mov edi, dword [ebp - 0x10]
push str.ExternalInstallerRegistry
push esi
mov ecx, edi
call fcn.004149a0
mov ecx, dword [0x46a494]
add ecx, 0xb698
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp dl, bl
jne 0x4068c6
push ebx
push ebx
push str.ExternalInstallerSize
push esi
mov ecx, edi
call fcn.00414a90
mov ecx, dword [0x46a494]
push ebx
push 0x23c
push str.MarketingIFrameWidth
mov dword [ecx + 0xb79c], eax
push esi
mov ecx, edi
call fcn.00414a90
mov ecx, dword [0x46a494]
push ebx
push 0xd2
push str.MarketingIFrameHeight
mov dword [ecx + 0xb7a1], eax
push esi
mov ecx, edi
call fcn.00414a90
mov ecx, dword [0x46a494]
push ebx
push 0x28a
push str.HTMLQuitDialogWidth
mov dword [ecx + 0xb7a5], eax
push esi
mov ecx, edi
call fcn.00414a90
mov ecx, dword [0x46a494]
push ebx
push 0x172
push str.HTMLQuitDialogHeight
mov dword [ecx + 0xb7a9], eax
push esi
mov ecx, edi
call fcn.00414a90
mov ecx, dword [0x46a494]
mov dword [ecx + 0xb7ad], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
push str.icon.ico
mov dword [ebp - 0x1c], ebx
call fcn.004075c6
mov ecx, dword [ebp - 0x18]
add esp, 0x10
cmp ecx, ebx
je 0x4069a2
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
je 0x4069a2
mov eax, dword [ebp + 8]
mov dword [eax + 0xe1c], ecx
mov dword [eax + 0xe20], edx
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
and cl, 1
dec cl
neg cl
sbb cl, cl
inc cl
mov byte [eax + 0xb7b1], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
and cl, 2
cmp cl, 2
sete cl
mov byte [eax + 0xb7b2], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
and cl, 4
cmp cl, 4
sete cl
mov byte [eax + 0xb7b3], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
and cl, 8
cmp cl, 8
sete cl
mov byte [eax + 0xb7b4], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
and cl, 0x10
cmp cl, 0x10
sete cl
mov byte [eax + 0xb7b5], cl
mov eax, dword [0x46a494]
mov edx, dword [eax + 4]
mov ecx, 0x400
and edx, ecx
cmp edx, ecx
sete cl
mov byte [eax + 0xb7bf], cl
mov eax, dword [0x46a494]
mov edx, dword [eax + 4]
mov ecx, 0x4000
and edx, ecx
cmp edx, ecx
sete cl
mov byte [eax + 0xb7c0], cl
mov eax, dword [0x46a494]
mov edx, dword [eax + 4]
mov ecx, 0x8000
and edx, ecx
cmp edx, ecx
sete cl
mov byte [eax + 0xb7c1], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
shr ecx, 0xb
and cl, 1
mov byte [eax + 0xb7b6], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
shr ecx, 0xc
and cl, 1
mov byte [eax + 0xb7b7], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
shr ecx, 0xd
and cl, 1
mov byte [eax + 0xb7b8], cl
mov eax, dword [0x46a494]
cmp byte [eax + 0xb7b6], bl
jne 0x406ac2
cmp byte [eax + 0xb7b7], bl
jne 0x406ac2
cmp byte [eax + 0xb7b8], bl
jne 0x406ac2
xor ecx, ecx
jmp 0x406ac5
xor ecx, ecx
inc ecx
mov byte [eax + 0xb7b9], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
and cl, 0x20
cmp cl, 0x20
sete cl
mov byte [eax + 0xb7ba], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
and cl, 0x40
cmp cl, 0x40
sete cl
mov byte [eax + 0xb7bb], cl
mov eax, dword [0x46a494]
mov ecx, dword [eax + 4]
and cl, 0x80
cmp cl, 0x80
sete cl
mov byte [eax + 0xb7bc], cl
mov eax, dword [0x46a494]
mov edx, dword [eax + 4]
mov ecx, 0x100
and edx, ecx
cmp edx, ecx
sete cl
mov byte [eax + 0xb7bd], cl
mov eax, dword [0x46a494]
mov edx, dword [eax + 4]
mov ecx, 0x200
and edx, ecx
cmp edx, ecx
sete cl
mov byte [eax + 0xb7be], cl
cmp byte [0x46a498], bl
je 0x406c1c
mov eax, dword [0x46a494]
mov byte [eax + 0xb7b1], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7b2], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7b3], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7b4], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7b5], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7bf], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7c0], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7c1], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7b9], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7b6], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7b7], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7b8], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7ba], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7bb], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7bc], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7bd], 1
mov eax, dword [0x46a494]
mov byte [eax + 0xb7be], 1
cmp dword [0x46a49c], ebx
jne 0x406d0b
push dword [ebp - 0x2c]
call fcn.00405728
pop ecx
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.004057a7
pop ecx
pop ecx
mov edi, 0x46a49c
cmp dword [0x46a49c], ebx
je 0x406d0b
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [edi]
mov dword [ebp - 0x1c], ebx
push str.stringtable.res
mov dword [ebp - 0x18], ebx
call fcn.00407464
add esp, 0x14
cmp dword [ebp - 0x1c], ebx
je 0x406c9b
mov eax, dword [edi]
push dword [eax + 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0040586c
add esp, 0xc
push dword [ebp - 0x1c]
push esi
call fcn.004075fa
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [edi]
push str.theme.res
call fcn.00407464
add esp, 0x14
cmp dword [ebp - 0x1c], ebx
je 0x406cd6
mov eax, dword [edi]
push dword [eax + 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0040586c
add esp, 0xc
push dword [ebp - 0x1c]
push esi
call fcn.004075fa
pop ecx
pop ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
call fcn.004059d9
push dword [ebp - 0x20]
push dword [edi]
call fcn.0044ddcb
pop ecx
pop ecx
test eax, eax
jne 0x406cfe
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x8fd8], eax
mov edi, dword [edi]
add edi, 0x18
cmp dword [edi], ebx
jne 0x406c57
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.004075fa
pop ecx
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x406d2e
mov ecx, dword [ebp - 0x10]
call fcn.004169e0
push dword [ebp - 0x10]
call fcn.0043ac0b
pop ecx
call fcn.00405466
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret