Function at 0x45da00
Capabilities:
Accept command line arguments
Create thread
Set current directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc710
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3d8
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
call fcn.0045d950
or edx, 0xffffffff
mov byte [ebp - 0x58], 0
add esp, 4
mov ecx, 2
test al, al
cmovne ecx, edx
test cl, 1
je 0x45da9c
mov dword [ebp - 0x178], str.dll_dirs_F67BB3AD_7B5E_4C2D_A22B_747BC163AB78
mov eax, dword [ebp - 0x178]
push str.kernel32.dll
mov dword [ebp - 0x178], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45da9c
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45da9c
push 0x1000
call eax
lea ecx, [ebp - 0x1d4]
call fcn.0045b3b0
cmp byte [eax + 0x18], 0
je 0x45dab8
push eax
lea ecx, [ebp - 0x70]
call fcn.0045f5c0
jmp 0x45daca
cmp byte [ebp - 0x58], 0
je 0x45daca
lea ecx, [ebp - 0x70]
call fcn.004033a0
mov byte [ebp - 0x58], 0
cmp byte [ebp - 0x1bc], 0
je 0x45dade
lea ecx, [ebp - 0x1d4]
call fcn.004033a0
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1c], 0x53ece0
call fcn.00407230
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x1ec]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.004033a0
cmp dword [ebp - 0x20], 0
jne 0x45db41
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ecx
lea ecx, [ebp - 0x94]
xor esi, esi
call fcn.0045cd00
add esp, 4
call fcn.00412470
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
sete byte [ebp - 0x179]
cmp dword [0x5457dc], esi
jne 0x45db74
call fcn.0045a020
push str.wWinMain
mov edx, 0x10
lea ecx, [ebp - 0x340]
call fcn.0040fef0
mov edi, eax
add esp, 4
mov cl, byte [edi + 0x48]
test cl, cl
je 0x45dbbd
push str.dllprotect_status
push edi
call fcn.00414f60
mov cl, byte [edi + 0x48]
add esp, 8
test cl, cl
je 0x45dbbd
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call fcn.0040efc0
mov cl, byte [edi + 0x48]
add esp, 4
movsx eax, byte [ebp - 0x74]
test eax, eax
sete al
test cl, cl
je 0x45dbd2
push eax
mov ecx, edi
call fcn.00413360
lea ecx, [ebp - 0x340]
call fcn.0040fdc0
mov ecx, dword [0x5457dc]
test ecx, ecx
jne 0x45dc72
call fcn.0045a020
mov ecx, dword [0x5457dc]
test ecx, ecx
jne 0x45dc72
mov edx, str._error_interface_not_inited_
movzx eax, byte [0x5079f0]
lea ecx, [ebp - 0x54]
push eax
call fcn.0045a790
add esp, 4
lea ecx, [ebp - 0x298]
cmp byte [ebp - 0x54], 0
mov edx, 0x10
push str.log_versions
je 0x45dcc2
call fcn.0040fef0
mov edi, eax
add esp, 4
mov al, byte [edi + 0x48]
test al, al
je 0x45dcdc
mov edx, str.Kit_version_
mov ecx, edi
call fcn.004151c0
mov al, byte [edi + 0x48]
test al, al
je 0x45dcdc
cmp dword [ebp - 0x3c], 8
lea edx, [ebp - 0x50]
push dword [ebp - 0x40]
cmovae edx, dword [ebp - 0x50]
mov ecx, edi
call fcn.00434fc0
add esp, 4
jmp 0x45dcdc
mov eax, dword [ecx]
push str.Desktop
push 0x2f3
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
test edx, edx
jne 0x45dbff
push str.log_versions
lea edx, [eax + 8]
lea ecx, [ebp - 0x298]
call fcn.0040fef0
add esp, 4
cmp byte [eax + 0x48], 0
je 0x45dcb5
mov edx, str.failed_get_regpath_product
mov ecx, eax
call fcn.004151c0
lea ecx, [ebp - 0x298]
call fcn.0040fdc0
jmp 0x45dcef
call fcn.0040fef0
add esp, 4
cmp byte [eax + 0x48], 0
je 0x45dcdc
mov edx, str.get_kit_version_failed
mov ecx, eax
call fcn.004151c0
lea ecx, [ebp - 0x298]
call fcn.0040fdc0
lea ecx, [ebp - 0x50]
call fcn.004033a0
call fcn.0045adb0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov eax, 0x11
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x174], eax
xor eax, eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call edi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x178], eax
test eax, eax
je 0x45e3a5
cmp dword [ebp - 0x18], 1
jle 0x45e386
mov edi, dword [eax + 4]
mov ecx, str.show_progress
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45dd6b
test dx, dx
je 0x45dd67
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45dd6b
add eax, 4
add ecx, 4
test dx, dx
jne 0x45dd45
xor eax, eax
jmp 0x45dd70
sbb eax, eax
or eax, 1
test eax, eax
je 0x45e288
mov ecx, str.showprogress
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45dda6
test dx, dx
je 0x45dda2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45dda6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45dd80
xor eax, eax
jmp 0x45ddab
sbb eax, eax
or eax, 1
test eax, eax
je 0x45e288
mov ecx, str.showpopup_progress
mov eax, edi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45dde6
test dx, dx
je 0x45dde2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45dde6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45ddc0
xor eax, eax
jmp 0x45ddeb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45ddf9
mov eax, 1
jmp 0x45e28a
mov ecx, str.showpreparing
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45de26
test dx, dx
je 0x45de22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45de26
add eax, 4
add ecx, 4
test dx, dx
jne 0x45de00
xor eax, eax
jmp 0x45de2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45de39
mov eax, 2
jmp 0x45e28a
mov ecx, str.showlogin_signin
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45de66
test dx, dx
je 0x45de62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45de66
add eax, 4
add ecx, 4
test dx, dx
jne 0x45de40
xor eax, eax
jmp 0x45de6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45de79
mov eax, 3
jmp 0x45e28a
mov ecx, str.showlogin_signup
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45dea6
test dx, dx
je 0x45dea2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45dea6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45de80
xor eax, eax
jmp 0x45deab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45deb9
mov eax, 4
jmp 0x45e28a
mov ecx, str.showswitch_account_signin
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45dee6
test dx, dx
je 0x45dee2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45dee6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45dec0
xor eax, eax
jmp 0x45deeb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45def9
mov eax, 5
jmp 0x45e28a
mov ecx, str.showswitch_account_signup
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45df26
test dx, dx
je 0x45df22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45df26
add eax, 4
add ecx, 4
test dx, dx
jne 0x45df00
xor eax, eax
jmp 0x45df2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45df39
mov eax, 6
jmp 0x45e28a
mov ecx, str.showredeem_signin
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45df66
test dx, dx
je 0x45df62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45df66
add eax, 4
add ecx, 4
test dx, dx
jne 0x45df40
xor eax, eax
jmp 0x45df6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45df79
mov eax, 7
jmp 0x45e28a
mov ecx, str.showcustom_login
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45dfa6
test dx, dx
je 0x45dfa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45dfa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45df80
xor eax, eax
jmp 0x45dfab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45dfb9
mov eax, 8
jmp 0x45e28a
mov ecx, str.showoobe_set_email
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45dfe6
test dx, dx
je 0x45dfe2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45dfe6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45dfc0
xor eax, eax
jmp 0x45dfeb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45dff9
mov eax, 9
jmp 0x45e28a
mov ecx, str.showoobe_set_password
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45e026
test dx, dx
je 0x45e022
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45e026
add eax, 4
add ecx, 4
test dx, dx
jne 0x45e000
xor eax, eax
jmp 0x45e02b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45e039
mov eax, 0xa
jmp 0x45e28a
mov ecx, str.showchoose_install
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45e066
test dx, dx
je 0x45e062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45e066
add eax, 4
add ecx, 4
test dx, dx
jne 0x45e040
xor eax, eax
jmp 0x45e06b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45e079
mov eax, 0xb
jmp 0x45e28a
mov ecx, str.showupgrade
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45e0a6
test dx, dx
je 0x45e0a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45e0a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45e080
xor eax, eax
jmp 0x45e0ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45e0b9
mov eax, 0xc
jmp 0x45e28a
mov ecx, str.showrequirements
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45e0e6
test dx, dx
je 0x45e0e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45e0e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45e0c0
xor eax, eax
jmp 0x45e0eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45e0f9
mov eax, 0xd
jmp 0x45e28a
mov ecx, str.showos_risks_notif
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45e126
test dx, dx
je 0x45e122
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45e126
add eax, 4
add ecx, 4
test dx, dx
jne 0x45e100
xor eax, eax
jmp 0x45e12b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45e139
mov eax, 0xe
jmp 0x45e28a
mov ecx, str.showcrash_notif
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45e166
test dx, dx
je 0x45e162
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45e166
add eax, 4
add ecx, 4
test dx, dx
jne 0x45e140
xor eax, eax
jmp 0x45e16b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45e179
mov eax, 0xf
jmp 0x45e28a
mov ecx, str.stop
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45e1a6
test dx, dx
je 0x45e1a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45e1a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45e180
xor eax, eax
jmp 0x45e1ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45e1b9
mov eax, 0x10
jmp 0x45e28a
push 7
push str.attach
push edi
call fcn.004d09e9
add esp, 0xc
test eax, eax
jne 0x45e296
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x184], 7
mov edx, dword [edx + 4]
add edx, 0xe
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e200
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x198]
call fcn.004034d0
call fcn.004d63f5
cmp dword [ebp - 0x184], 8
lea edi, [ebp - 0x198]
mov dword [ebp - 0x180], eax
cmovae edi, dword [ebp - 0x198]
mov dword [eax], esi
lea eax, [ebp - 0x16c]
push 0xa
push eax
push edi
call fcn.004d6352
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp edi, dword [ebp - 0x16c]
je 0x45e5e0
mov eax, dword [ebp - 0x180]
cmp dword [eax], 0x22
je 0x45e5ea
lea ecx, [ebp - 0x198]
call fcn.004033a0
mov ecx, dword [ebp - 0x1c]
call fcn.0045fa60
mov dword [ebp - 0x180], eax
jmp 0x45e296
xor eax, eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x174], eax
push 0xb0
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.004cdf10
add esp, 0xc
lea ecx, [ebp - 0x168]
push 1
call fcn.004251d0
xor edi, edi
cmp dword [ebp - 0x18], esi
jle 0x45e2ef
mov esi, dword [ebp - 0x178]
push 0x516ed8
push ecx
push dword [esi + edi*4]
lea eax, [ebp - 0x158]
push eax
call fcn.00414f60
add esp, 0xc
push eax
call fcn.00414f60
inc edi
add esp, 8
cmp edi, dword [ebp - 0x18]
jl 0x45e2c6
xor esi, esi
push str.wWinMain
mov edx, 0x10
lea ecx, [ebp - 0x3e8]
call fcn.0040fef0
mov edi, eax
add esp, 4
cmp byte [edi + 0x48], 0
je 0x45e31d
push str.CMD_LINE:
push edi
call fcn.00414f60
add esp, 8
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x150]
call fcn.00412a20
cmp byte [edi + 0x48], 0
je 0x45e359
cmp dword [ebp - 0x19c], 8
lea edx, [ebp - 0x1b0]
push dword [ebp - 0x1a0]
cmovae edx, dword [ebp - 0x1b0]
mov ecx, edi
call fcn.00434fc0
add esp, 4
lea ecx, [ebp - 0x1b0]
call fcn.004033a0
lea ecx, [ebp - 0x3e8]
call fcn.0040fdc0
lea ecx, [ebp - 0x168]
call fcn.0041e9d0
mov eax, dword [ebp - 0x178]
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x170]
cmp eax, 0x10
je 0x45e52a
cmp eax, 0xf
je 0x45e52a
push 0x24
call fcn.00498569
add esp, 4
lea edx, [ebp - 0x38]
mov esi, eax
lea ecx, [ebp - 0xb8]
push 0
mov byte [esi + 0x20], 0
call fcn.0045d1f0
add esp, 4
cmp byte [ebp - 0x98], 0
je 0x45e3df
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
call fcn.00434ef0
lea ecx, [ebp - 0xb8]
call fcn.0040b680
call edi
mov edx, str.crash
mov dword [ebp - 0x178], eax
mov ecx, eax
call fcn.0045d860
mov edi, eax
test edi, edi
jns 0x45e43a
mov ecx, dword [ebp - 0x178]
mov edx, str.abort
lfence
call fcn.0045d860
mov edi, eax
test edi, edi
jns 0x45e43a
mov ecx, dword [ebp - 0x178]
mov edx, str.terminate
lfence
call fcn.0045d860
mov edi, eax
test edi, edi
js 0x45e524
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x545ad4]
cmp eax, dword [ecx + 8]
jle 0x45e478
push 0x545ad4
call fcn.0049892b
add esp, 4
cmp dword [0x545ad4], 0xffffffff
jne 0x45e478
push 0x545ad4
mov dword [0x545ad8], edi
call fcn.004988e1
add esp, 4
mov ecx, dword [0x545844]
mov edx, str.crash
mov eax, ecx
mov di, word [eax]
cmp di, word [edx]
jne 0x45e4ab
test di, di
je 0x45e4a7
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x45e4ab
add eax, 4
add edx, 4
test di, di
jne 0x45e485
xor eax, eax
jmp 0x45e4b0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45e4bb
mov ecx, 0x45d7f0
jmp 0x45e4fa
mov eax, str.abort
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x45e4e6
test dx, dx
je 0x45e4e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x45e4e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x45e4c0
xor eax, eax
jmp 0x45e4eb
sbb eax, eax
or eax, 1
test eax, eax
mov ecx, 0x45d840
mov edx, 0x45d820
cmove ecx, edx
xor eax, eax
cmp eax, dword [0x545ad8]
push 0
push 0
sbb eax, eax
and eax, 0x545ad8
push eax
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x45e524
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x170]
cmp eax, 0x11
je 0x45e53e
lea ecx, [ebp - 0x174]
call fcn.0045e600
mov edi, eax
jmp 0x45e544
mov edi, dword [ebp - 0x180]
call fcn.0045a1c0
cmp byte [ebp - 0x179], 0
je 0x45e558
call dword [sym.imp.ole32.dll_OleUninitialize]
call fcn.00412cb0
movsx eax, byte [ebp - 0x74]
inc eax
sub eax, 0
je 0x45e59e
sub eax, 1
je 0x45e579
lea ecx, [ebp - 0x8c]
call fcn.004033a0
jmp 0x45e59e
mov dword [ebp - 4], 0
cmp byte [ebp - 0x8f], 0
je 0x45e58e
call fcn.004a9000
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x45e59e
push eax
call fcn.0045f000
test esi, esi
je 0x45e5a8
push esi
call fcn.0045ef60
lea ecx, [ebp - 0x38]
call fcn.004033a0
cmp byte [ebp - 0x58], 0
je 0x45e5be
lea ecx, [ebp - 0x70]
call fcn.004033a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push str.invalid_stoull_argument
call fcn.00484b39
push str.stoull_argument_out_of_range
call fcn.00484b79
int3