Function at 0x4136a0
Capabilities:
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2544
call fcn.0045db90
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x495ce8], 8
push ebx
push esi
push edi
mov eax, 0x495cd4
cmovae eax, dword [0x495cd4]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea eax, [ebp - 0x2530]
push eax
push 0x495458
mov dword [ebp - 0x253c], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_FindClose]
mov esi, 0x495cbc
cmp eax, 0xffffffff
je 0x41370c
push eax
call ebx
jmp 0x415629
push 0x46def8
lea eax, [ebp - 0x2534]
push 0x495458
push eax
call fcn.004509bf
add esp, 0xc
test eax, eax
jne 0x415629
lea edx, [eax + 1]
mov ecx, str.Creating_TBWinPE.INI__using_default_values_
call fcn.0040da30
push str._Options__n
push dword [ebp - 0x2534]
call fcn.00450eb5
cmp dword [0x49645c], 8
mov eax, 0x496448
cmovae eax, dword [0x496448]
push eax
push str.ScreenResolution_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0x14
cmp byte [0x496460], 0
mov esi, 0x470dc4
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push 0x470dcc
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496461], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.UseStartnetCmd_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496480], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.BootPrompt_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
push str.TimeZone_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.LanguagePack_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.InputLocale_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push dword [0x49647c]
push str.ScreenDPI_d_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0x24
cmp byte [0x4964e9], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.AddDrivers_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x4964ec], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.AddInstalledDrivers_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496976], 0
mov eax, esi
mov ecx, 0x470dc8
cmove eax, ecx
push eax
push str.OptimizeWIM_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x4964e4], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.InitScript_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x4964e5], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.InitScriptHide_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x4964e6], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.RunScript_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x4964e7], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.RunScriptHide_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x4964e8], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.BuildScript_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496508], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.BuildScriptHide_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496509], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.BuildScriptLog_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496b54], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.WiFiExportProfiles_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
push dword [0x496b58]
push str.WiFiExportType_d_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496b5c], 0
mov eax, esi
mov ecx, 0x470dc8
cmove eax, ecx
push eax
push str.WiFiExportClearText_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496b5d], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.WiFiAutoConnect_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
push dword [0x496b60]
push str.MouseSpeed_d_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496b64], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.MousePrecision_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496b65], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.MouseSwap_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
push str._n_Paths__n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.IFW_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.TBIView_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.TBOSDT_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.Source_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str._n_License__n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.Name_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.Key_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0x40
push str.BIBMName_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.BIBMKey_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.Name_V3_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str.Key_V3_n
push dword [ebp - 0x2534]
call fcn.00450eb5
push str._n_General__n
push dword [ebp - 0x2534]
call fcn.00450eb5
cmp byte [0x493140], 0
mov eax, esi
mov ecx, 0x470dc8
cmove eax, ecx
push eax
push str.Log_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0x34
cmp byte [0x493141], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.LogReset_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496972], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.UseDismAPI_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496973], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.UseInstalledDism_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496974], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.UseDismx64_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x496975], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.DismForceUnsigned_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493190], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.DismSaveLog_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493191], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.DismLogReset_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493148], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.SkipLicense_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493151], 0
mov eax, esi
mov ecx, 0x470dc8
cmove eax, ecx
push eax
push str.IgnoreWarnings_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493152], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.NoUSBLimit_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493153], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.Win7PEUSB3_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493150], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.WarnBIBMLicense_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493154], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.SkipWinREStatusCheck_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493155], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.BootWIMPromptRestart_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493156], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.BootWIMForceRestart_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493157], 0
mov ecx, 0x470dc8
mov eax, esi
cmove eax, ecx
push eax
push str.BootWIMIgnoreDrvType_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
cmp byte [0x493158], 0
mov eax, 0x470dc8
cmove esi, eax
push esi
push str.BootWIMMatchDrvLetters_s_n
push dword [ebp - 0x2534]
call fcn.00450eb5
add esp, 0xc
push dword [ebp - 0x2534]
call fcn.004514b6
add esp, 4
push 0x1020
call fcn.00450970
add esp, 4
test eax, eax
je 0x413e32
push 0x495458
mov ecx, eax
mov dword [eax + 0x1c], 0
call fcn.00402d90
mov esi, eax
mov dword [ebp - 0x2544], eax
jmp 0x413e3a
xor esi, esi
mov dword [ebp - 0x2544], esi
cmp dword [0x495cd0], 8
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x22e0]
push str._simagew.ini
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0x22e0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x413f1a
push eax
call ebx
push 0x1020
call fcn.00450970
add esp, 4
test eax, eax
je 0x413eb2
lea ecx, [ebp - 0x22e0]
push ecx
mov ecx, eax
mov dword [eax + 0x1c], 0
call fcn.00402d90
mov edi, eax
jmp 0x413eb4
xor edi, edi
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push 0x4714f4
push str.License
mov ecx, edi
call fcn.00403120
test edi, edi
je 0x413ede
push ecx
mov ecx, edi
call fcn.004157c0
lea edi, [ebp - 0x418]
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x413ee7
sub edi, ecx
sar edi, 1
cmp edi, 2
jle 0x413f14
dec edi
test edi, edi
jle 0x413f14
cmp word [ebp + edi*2 - 0x418], 0x20
je 0x413f99
dec edi
test edi, edi
jg 0x413f00
mov edi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp dword [0x495cd0], 8
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x22e0]
push str._sSavedSettings.ini
push eax
mov byte [ebp - 0x253d], 0
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0x22e0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x414da9
push eax
call ebx
push 0x1020
call fcn.00450970
add esp, 4
test eax, eax
je 0x413fff
lea ecx, [ebp - 0x22e0]
push ecx
mov ecx, eax
mov dword [eax + 0x1c], 0
call fcn.00402d90
mov edi, eax
jmp 0x414001
test edi, edi
jle 0x413f14
mov edx, 1
mov ecx, str.Importing_V2_license_key_from_imagew.ini
call fcn.0040da30
add edi, edi
lea eax, [ebp - 0x416]
add eax, edi
push eax
push 0x4714f4
push str.License
mov ecx, esi
call fcn.004033b0
cmp edi, 0x410
jae 0x4157b7
xor eax, eax
mov word [ebp + edi - 0x418], ax
lea eax, [ebp - 0x418]
push eax
push str.Name
push str.License
mov ecx, esi
call fcn.004033b0
jmp 0x413f14
xor edi, edi
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.UseSavedSettings
push 0x4715c0
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
call fcn.004505f4
add esp, 4
cmp eax, 1
jne 0x414e1d
mov edx, eax
mov ecx, str.Importing_settings_from_SavedSettings.ini
call fcn.0040da30
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.screenresolution
push str.Script_Options
mov ecx, edi
mov byte [ebp - 0x253d], 1
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414071
sub ecx, edx
sar ecx, 1
je 0x41409a
lea eax, [ebp - 0x418]
push eax
push str.ScreenResolution
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.pausebuild
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4140c1
sub ecx, edx
sar ecx, 1
je 0x4140ea
lea eax, [ebp - 0x418]
push eax
push str.PauseBuild
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.usestartnetcmd
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414111
sub ecx, edx
sar ecx, 1
je 0x41413a
lea eax, [ebp - 0x418]
push eax
push str.UseStartnetCmd
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.bootprompt
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414161
sub ecx, edx
sar ecx, 1
je 0x41418a
lea eax, [ebp - 0x418]
push eax
push str.BootPrompt
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.timezone
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4141b1
sub ecx, edx
sar ecx, 1
je 0x4141da
lea eax, [ebp - 0x418]
push eax
push str.TimeZone
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.languagepack
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414201
sub ecx, edx
sar ecx, 1
je 0x41422a
lea eax, [ebp - 0x418]
push eax
push str.LanguagePack
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.inputlocale
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414251
sub ecx, edx
sar ecx, 1
je 0x41427a
lea eax, [ebp - 0x418]
push eax
push str.InputLocale
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.screendpi
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4142a1
sub ecx, edx
sar ecx, 1
je 0x4142ca
lea eax, [ebp - 0x418]
push eax
push str.ScreenDPI
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.ifwpath
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4142f1
sub ecx, edx
sar ecx, 1
je 0x41431a
lea eax, [ebp - 0x418]
push eax
push 0x4717f4
push str.Paths
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.tbiviewpath
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414341
sub ecx, edx
sar ecx, 1
je 0x41436a
lea eax, [ebp - 0x418]
push eax
push 0x46c740
push str.Paths
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.tbosdtpath
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414391
sub ecx, edx
sar ecx, 1
je 0x4143ba
lea eax, [ebp - 0x418]
push eax
push str.TBOSDT
push str.Paths
mov ecx, esi
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.sourcepath
push str.Script_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4143e1
sub ecx, edx
sar ecx, 1
je 0x41440a
lea eax, [ebp - 0x418]
push eax
push str.Source
push str.Paths
mov ecx, esi
call fcn.004033b0
mov edx, 1
mov ecx, str.Importing_saved_TBLauncher.ini_file
call fcn.0040da30
cmp dword [0x495cd0], 8
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x18e0]
push str._sTBLauncher.ini
push eax
call fcn.00409980
add esp, 0xc
cmp dword [0x495ce8], 8
mov eax, 0x495cd4
cmovae eax, dword [0x495cd4]
push eax
lea eax, [ebp - 0xee0]
push str._sTBLauncher.ini
push eax
call fcn.00409980
add esp, 0xc
lea ecx, [ebp - 0xee0]
call fcn.0040dd40
test al, al
jne 0x41448e
push 0
lea eax, [ebp - 0xee0]
push eax
lea eax, [ebp - 0x18e0]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
push 0x1020
call fcn.00450970
add esp, 4
test eax, eax
je 0x4144b8
lea ecx, [ebp - 0xee0]
push ecx
mov ecx, eax
mov dword [eax + 0x1c], 0
call fcn.00402d90
mov ebx, eax
jmp 0x4144ba
xor ebx, ebx
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push 0x4718c4
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push 0x4718c4
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.RunWpeinit
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push str.RunWpeinit
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.RunNetworkInit
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push str.RunNetworkInit
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.BackgroundInit
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push str.BackgroundInit
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.IFWModeParameters
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push str.IFWModeParameters
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.FindBootDrive
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push str.FindBootDrive
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.MatchBuildID
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414625
sub ecx, edx
sar ecx, 1
je 0x41464e
lea eax, [ebp - 0x418]
push eax
push str.MatchBuildID
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.MaxSearchTime
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push str.MaxSearchTime
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.UpdatePrograms
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push str.UpdatePrograms
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.DisableFirewall
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push str.DisableFirewall
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push 0x470a20
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414717
sub ecx, edx
sar ecx, 1
je 0x414740
lea eax, [ebp - 0x418]
push eax
push 0x470a20
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.WaitForRemovableStorage
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414767
sub ecx, edx
sar ecx, 1
je 0x414790
lea eax, [ebp - 0x418]
push eax
push str.WaitForRemovableStorage
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.AlwaysOnTop
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4147b7
sub ecx, edx
sar ecx, 1
je 0x4147e0
lea eax, [ebp - 0x418]
push eax
push str.AlwaysOnTop
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.ClosedTransparency
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414807
sub ecx, edx
sar ecx, 1
je 0x414830
lea eax, [ebp - 0x418]
push eax
push str.ClosedTransparency
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.TransparentClosed
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414857
sub ecx, edx
sar ecx, 1
je 0x414880
lea eax, [ebp - 0x418]
push eax
push str.TransparentClosed
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.WMIService
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4148a7
sub ecx, edx
sar ecx, 1
je 0x4148d0
lea eax, [ebp - 0x418]
push eax
push str.WMIService
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.AccessibilityOpts
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4148f7
sub ecx, edx
sar ecx, 1
je 0x414920
lea eax, [ebp - 0x418]
push eax
push str.AccessibilityOpts
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.NarratorOpts
push str.TBLauncher_Options
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414947
sub ecx, edx
sar ecx, 1
je 0x414970
lea eax, [ebp - 0x418]
push eax
push str.NarratorOpts
push 0x4715c0
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.ItemCount
push str.TBLauncher_Menu
mov ecx, edi
call fcn.00403120
lea eax, [ebp - 0x418]
push eax
push str.ItemCount
push str.Menu
mov ecx, ebx
call fcn.004033b0
lea eax, [ebp - 0x418]
push eax
call fcn.004505f4
add esp, 4
mov dword [ebp - 0x253c], eax
cmp eax, 1
jl 0x414baf
mov esi, 1
lea esp, [esp]
push esi
lea eax, [ebp - 0x4e0]
push str.TBLauncher_Menu_Item__d
push eax
call fcn.004097a0
add esp, 8
lea eax, [ebp - 0x418]
push 0x208
push eax
push str.Name
lea eax, [ebp - 0x4e0]
push eax
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
call fcn.0040ddd0
lea eax, [ebp - 0x418]
push eax
push str.Name
lea eax, [ebp - 0x4ca]
push eax
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.Path
lea eax, [ebp - 0x4e0]
push eax
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
call fcn.0040ddd0
lea eax, [ebp - 0x418]
push eax
push str.Path
lea eax, [ebp - 0x4ca]
push eax
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.Path64
lea eax, [ebp - 0x4e0]
push eax
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
call fcn.0040ddd0
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414aa2
sub ecx, edx
sar ecx, 1
je 0x414acd
lea eax, [ebp - 0x418]
push eax
push str.Path64
lea eax, [ebp - 0x4ca]
push eax
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.WorkingDir
lea eax, [ebp - 0x4e0]
push eax
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
call fcn.0040ddd0
lea eax, [ebp - 0x418]
push eax
push str.WorkingDir
lea eax, [ebp - 0x4ca]
push eax
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.Parameters
lea eax, [ebp - 0x4e0]
push eax
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
call fcn.0040ddd0
lea eax, [ebp - 0x418]
push eax
push str.Parameters
lea eax, [ebp - 0x4ca]
push eax
mov ecx, ebx
call fcn.004033b0
push ecx
push 0x208
lea eax, [ebp - 0x418]
push eax
push str.Icon
lea eax, [ebp - 0x4e0]
push eax
mov ecx, edi
call fcn.00403120
lea ecx, [ebp - 0x418]
call fcn.0040ddd0
lea eax, [ebp - 0x418]
push eax
push str.Icon
lea eax, [ebp - 0x4ca]
push eax
mov ecx, ebx
call fcn.004033b0
inc esi
cmp esi, dword [ebp - 0x253c]
jle 0x4149d0
mov esi, dword [ebp - 0x2544]
test edi, edi
je 0x414bd6
cmp byte [edi + 0x1a], 0
je 0x414bcd
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x414bc9
push eax
call fcn.004514b6
add esp, 4
mov byte [edi + 0x1a], 0
push edi
call fcn.00450920
add esp, 4
test ebx, ebx
je 0x414bfd
cmp byte [ebx + 0x1a], 0
je 0x414bf4
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x414bf0
push eax
call fcn.004514b6
add esp, 4
mov byte [ebx + 0x1a], 0
push ebx
call fcn.00450920
add esp, 4
mov edx, 1
mov ecx, str.Importing_saved_startnet.cmd_file
call fcn.0040da30
cmp dword [0x495cd0], 8
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x18e0]
push str._sSavedSettings.ini
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x18e0]
push 0x46d484
push eax
lea eax, [ebp - 0x2534]
push eax
call fcn.004509bf
add esp, 0xc
test eax, eax
jne 0x414d9d
cmp dword [ebp - 0x2534], eax
je 0x414d9d
cmp dword [0x495ce8], 8
mov eax, 0x495cd4
cmovae eax, dword [0x495cd4]
push eax
lea eax, [ebp - 0xee0]
push str._s_startnet.cmd
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0xee0]
push 0x46def8
push eax
lea eax, [ebp - 0x2538]
push eax
call fcn.004509bf
add esp, 0xc
test eax, eax
jne 0x414d8f
cmp dword [ebp - 0x2538], eax
je 0x414d8f
push dword [ebp - 0x2534]
xor bl, bl
xor bh, bh
call fcn.00450b7c
add esp, 4
test eax, eax
jne 0x414d70
jmp 0x414ce0
push dword [ebp - 0x2534]
xor eax, eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x418]
push 0x208
push eax
call fcn.00450efc
add esp, 0xc
lea eax, [ebp - 0x418]
test bl, bl
jne 0x414d25
push 0x14
push str._startnet.cmd_Begin_
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x414d5a
mov bl, 1
jmp 0x414d5a
push 0x12
push str._startnet.cmd_End_
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
je 0x414d70
cmp word [ebp - 0x418], 0x3b
jne 0x414d5a
push dword [ebp - 0x2538]
lea eax, [ebp - 0x416]
push eax
call fcn.00450fb8
add esp, 8
mov bh, 1
push dword [ebp - 0x2534]
call fcn.00450b7c
add esp, 4
test eax, eax
je 0x414ce0
push dword [ebp - 0x2538]
call fcn.004514b6
add esp, 4
test bh, bh
jne 0x414d8f
lea eax, [ebp - 0xee0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push dword [ebp - 0x2534]
call fcn.004514b6
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.DLL_FindClose]
mov edi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp dword [0x495cd0], 8
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x18e0]
push str._sInitScript.cmd
push eax
call fcn.00409980
add esp, 0xc
cmp dword [0x495ce8], 8
mov eax, 0x495cd4
cmovae eax, dword [0x495cd4]
push eax
lea eax, [ebp - 0xee0]
push str._sInitScript.cmd
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0xee0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x414e2e
push eax
call ebx
jmp 0x414e8b
test edi, edi
je 0x414da3
push ecx
mov ecx, edi
call fcn.004157c0
jmp 0x414da3
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0x18e0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x414e8b
push eax
call ebx
mov edx, 1
mov ecx, str.File_copied_to_config_folder:_InitScript.cmd
call fcn.0040da30
push 0
lea eax, [ebp - 0xee0]
push eax
lea eax, [ebp - 0x18e0]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
push 0x470dc4
push 0x471cfc
push 0x4715c0
mov ecx, esi
call fcn.004033b0
cmp dword [0x495cd0], 8
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x18e0]
push str._sRunScript.cmd
push eax
call fcn.00409980
add esp, 0xc
cmp dword [0x495ce8], 8
mov eax, 0x495cd4
cmovae eax, dword [0x495cd4]
push eax
lea eax, [ebp - 0xee0]
push str._sRunScript.cmd
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0xee0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x414eff
push eax
call ebx
jmp 0x414f5c
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0x18e0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x414f5c
push eax
call ebx
mov edx, 1
mov ecx, str.File_copied_to_config_folder:_RunScript.cmd
call fcn.0040da30
push 0
lea eax, [ebp - 0xee0]
push eax
lea eax, [ebp - 0x18e0]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
push 0x470dc4
push 0x471d90
push 0x4715c0
mov ecx, esi
call fcn.004033b0
cmp dword [0x495cd0], 8
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x18e0]
push str._sBuildScript.cmd
push eax
call fcn.00409980
add esp, 0xc
cmp dword [0x495ce8], 8
mov eax, 0x495cd4
cmovae eax, dword [0x495cd4]
push eax
lea eax, [ebp - 0xee0]
push str._sBuildScript.cmd
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0xee0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x414fd0
push eax
call ebx
jmp 0x41502d
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0x18e0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x41502d
push eax
call ebx
mov edx, 1
mov ecx, str.File_copied_to_config_folder:_BuildScript.cmd
call fcn.0040da30
push 0
lea eax, [ebp - 0xee0]
push eax
lea eax, [ebp - 0x18e0]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
push 0x470dc4
push 0x471e2c
push 0x4715c0
mov ecx, esi
call fcn.004033b0
cmp dword [0x495cd0], 8
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x22e0]
push str._sTBWinRE.cmd
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0x22e0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x415079
push eax
call ebx
jmp 0x4150a1
cmp dword [0x495cd0], 8
mov eax, 0x495cbc
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x22e0]
push str._sTBWinPE.cmd
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0x22e0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x4155fd
push eax
call ebx
cmp byte [ebp - 0x253d], 0
jne 0x4155fd
push 0x46d484
lea eax, [ebp - 0x22e0]
push eax
lea eax, [ebp - 0x2538]
push eax
call fcn.004509bf
add esp, 0xc
test eax, eax
jne 0x4155fd
cmp dword [ebp - 0x2538], eax
je 0x4155fd
lea ecx, [ebp - 0x22e0]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415110
sub ecx, edx
sar ecx, 1
mov edx, 1
cmp word [ebp + ecx*2 - 0x22ec], 0x52
mov ecx, str.Importing_settings_from_TBWinRE.cmd_script_file
je 0x415139
mov ecx, str.Importing_settings_from_TBWinPE.cmd_script_file
call fcn.0040da30
push dword [ebp - 0x2538]
call fcn.00450b7c
add esp, 4
test eax, eax
jne 0x4155ef
jmp 0x415160
push dword [ebp - 0x2538]
xor eax, eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x418]
push 0x208
push eax
call fcn.00450efc
lea ecx, [ebp - 0x418]
add esp, 0xc
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415190
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
jle 0x4151c7
jmp 0x4151b0
movzx ecx, word [ebp + eax*2 - 0x418]
cmp ecx, 0xa
je 0x4151c2
cmp ecx, 0xd
jne 0x4151c7
dec eax
test eax, eax
jg 0x4151b0
lea eax, [eax*2 + 2]
cmp eax, 0x410
jae 0x4157b7
xor ecx, ecx
push 0xb
mov word [ebp + eax - 0x418], cx
lea eax, [ebp - 0x418]
push str.set_tbpath
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
je 0x4155ef
push 0xb
lea eax, [ebp - 0x418]
push str.::_________
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
je 0x4155ef
push 0xc
lea eax, [ebp - 0x418]
push str.set_ifwpath
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x41526b
lea ecx, [ebp - 0x400]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415242
sub ecx, edx
sar ecx, 1
je 0x41526b
lea eax, [ebp - 0x400]
push eax
push 0x4717f4
push str.Paths
mov ecx, esi
call fcn.004033b0
push 0x10
lea eax, [ebp - 0x418]
push str.set_tbiviewpath
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x4152b9
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415290
sub ecx, edx
sar ecx, 1
je 0x4152b9
lea eax, [ebp - 0x3f8]
push eax
push 0x46c740
push str.Paths
mov ecx, esi
call fcn.004033b0
push 0xf
lea eax, [ebp - 0x418]
push str.set_tbosdtpath
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x415309
lea ecx, [ebp - 0x3fa]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4152e0
sub ecx, edx
sar ecx, 1
je 0x415309
lea eax, [ebp - 0x3fa]
push eax
push str.TBOSDT
push str.Paths
mov ecx, esi
call fcn.004033b0
push 0xf
lea eax, [ebp - 0x418]
push str.set_sourcepath
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x415359
lea ecx, [ebp - 0x3fa]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415330
sub ecx, edx
sar ecx, 1
je 0x415359
lea eax, [ebp - 0x3fa]
push eax
push str.Source
push str.Paths
mov ecx, esi
call fcn.004033b0
push 0x15
lea eax, [ebp - 0x418]
push str.set_screenresolution
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x4153a9
lea ecx, [ebp - 0x3ee]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415380
sub ecx, edx
sar ecx, 1
je 0x4153a9
lea eax, [ebp - 0x3ee]
push eax
push str.ScreenResolution
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push 0xf
lea eax, [ebp - 0x418]
push str.set_pausebuild
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x4153f9
lea ecx, [ebp - 0x3fa]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4153d0
sub ecx, edx
sar ecx, 1
je 0x4153f9
lea eax, [ebp - 0x3fa]
push eax
push str.PauseBuild
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push 0x13
lea eax, [ebp - 0x418]
push str.set_usestartnetcmd
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x415449
lea ecx, [ebp - 0x3f2]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415420
sub ecx, edx
sar ecx, 1
je 0x415449
lea eax, [ebp - 0x3f2]
push eax
push str.UseStartnetCmd
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push 0xf
lea eax, [ebp - 0x418]
push str.set_bootprompt
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x415499
lea ecx, [ebp - 0x3fa]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415470
sub ecx, edx
sar ecx, 1
je 0x415499
lea eax, [ebp - 0x3fa]
push eax
push str.BootPrompt
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push 0xd
lea eax, [ebp - 0x418]
push str.set_timezone
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x4154e9
lea ecx, [ebp - 0x3fe]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4154c0
sub ecx, edx
sar ecx, 1
je 0x4154e9
lea eax, [ebp - 0x3fe]
push eax
push str.TimeZone
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push 0x11
lea eax, [ebp - 0x418]
push str.set_languagepack
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x415539
lea ecx, [ebp - 0x3f6]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415510
sub ecx, edx
sar ecx, 1
je 0x415539
lea eax, [ebp - 0x3f6]
push eax
push str.LanguagePack
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push 0x10
lea eax, [ebp - 0x418]
push str.set_inputlocale
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x415589
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415560
sub ecx, edx
sar ecx, 1
je 0x415589
lea eax, [ebp - 0x3f8]
push eax
push str.InputLocale
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push 0xe
lea eax, [ebp - 0x418]
push str.set_screendpi
push eax
call fcn.00450611
add esp, 0xc
test eax, eax
jne 0x4155d9
lea ecx, [ebp - 0x3fc]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4155b0
sub ecx, edx
sar ecx, 1
je 0x4155d9
lea eax, [ebp - 0x3fc]
push eax
push str.ScreenDPI
push 0x4715c0
mov ecx, esi
call fcn.004033b0
push dword [ebp - 0x2538]
call fcn.00450b7c
add esp, 4
test eax, eax
je 0x415160
push dword [ebp - 0x2538]
call fcn.004514b6
add esp, 4
test esi, esi
je 0x415624
cmp byte [esi + 0x1a], 0
je 0x41561b
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x415617
push eax
call fcn.004514b6
add esp, 4
mov byte [esi + 0x1a], 0
push esi
call fcn.00450920
add esp, 4
mov esi, 0x495cbc
cmp dword [0x495cd0], 8
mov eax, esi
cmovae eax, dword [0x495cbc]
push eax
lea eax, [ebp - 0x18e0]
push str._sTBLauncher.ini
push eax
call fcn.00409980
add esp, 0xc
cmp dword [0x495ce8], 8
mov eax, 0x495cd4
cmovae eax, dword [0x495cd4]
push eax
lea eax, [ebp - 0xee0]
push str._sTBLauncher.ini
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0xee0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x41569a
push eax
call ebx
jmp 0x4156e1
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0x18e0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x4156e1
push eax
call ebx
mov edx, 1
mov ecx, str.File_copied_to_config_folder:_TBLauncher.ini
call fcn.0040da30
push 0
lea eax, [ebp - 0xee0]
push eax
lea eax, [ebp - 0x18e0]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
cmp dword [0x495cd0], 8
lea eax, [ebp - 0x18e0]
cmovae esi, dword [0x495cbc]
push esi
push str._s_startnet.cmd
push eax
call fcn.00409980
add esp, 0xc
cmp dword [0x495ce8], 8
mov eax, 0x495cd4
cmovae eax, dword [0x495cd4]
push eax
lea eax, [ebp - 0xee0]
push str._s_startnet.cmd
push eax
call fcn.00409980
add esp, 0xc
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0xee0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x41575f
push eax
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2530]
push eax
lea eax, [ebp - 0x18e0]
push eax
mov dword [ebp - 0x253c], 0
call edi
cmp eax, 0xffffffff
je 0x4157a6
push eax
call ebx
mov edx, 1
mov ecx, str.File_copied_to_config_folder:_startnet.cmd
call fcn.0040da30
push 0
lea eax, [ebp - 0xee0]
push eax
lea eax, [ebp - 0x18e0]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
call fcn.0045119a
int3