Function at 0x45ffe0
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 0x504f90
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x948
mov eax, dword [0x54c154]
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.0045ff30
or edx, 0xffffffff
mov byte [ebp - 0x78], 0
add esp, 4
mov ecx, 2
test al, al
cmovne ecx, edx
test cl, 1
je 0x46007c
mov dword [ebp - 0x600], str.dll_dirs_F67BB3AD_7B5E_4C2D_A22B_747BC163AB78
mov eax, dword [ebp - 0x600]
push str.kernel32.dll
mov dword [ebp - 0x600], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46007c
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46007c
push 0x1000
call eax
lea ecx, [ebp - 0x6a0]
call fcn.0045d6d0
cmp byte [eax + 0x18], 0
je 0x46009b
push eax
lea ecx, [ebp - 0x90]
call fcn.00464430
jmp 0x4600b0
cmp byte [ebp - 0x78], 0
je 0x4600b0
lea ecx, [ebp - 0x90]
call fcn.004161c0
mov byte [ebp - 0x78], 0
cmp byte [ebp - 0x688], 0
je 0x4600c4
lea ecx, [ebp - 0x6a0]
call fcn.004161c0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x6b8]
mov dword [ebp - 0x18], 0x54dd00
call fcn.00405c80
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x6b8]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.004161c0
cmp dword [ebp - 0x1c], 0
jne 0x460127
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ecx
lea ecx, [ebp - 0x10c]
xor esi, esi
call fcn.0045f2a0
add esp, 4
call fcn.0040e230
push str.wWinMain
lea ecx, [ebp - 0x5f8]
call fcn.0040a3c0
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
sete byte [ebp - 0x5f9]
cmp dword [0x557a14], esi
jne 0x46016a
call fcn.0045c3e0
push str.wWinMain
mov edx, 0x10
lea ecx, [ebp - 0x8b0]
call fcn.0040a850
mov edi, eax
add esp, 4
mov cl, byte [edi + 0x48]
test cl, cl
je 0x4601b3
push str.dllprotect_status
push edi
call fcn.004110a0
mov cl, byte [edi + 0x48]
add esp, 8
test cl, cl
je 0x4601b3
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call fcn.00405390
mov cl, byte [edi + 0x48]
add esp, 4
movsx eax, byte [ebp - 0xec]
test eax, eax
sete al
test cl, cl
je 0x4601cb
push eax
mov ecx, edi
call fcn.004132b0
lea ecx, [ebp - 0x8b0]
call fcn.0040a6f0
mov ecx, dword [0x557a14]
test ecx, ecx
jne 0x46026b
call fcn.0045c3e0
mov ecx, dword [0x557a14]
test ecx, ecx
jne 0x46026b
mov edx, str._error_interface_not_inited_
movzx eax, byte [0x512598]
lea ecx, [ebp - 0x74]
push eax
call fcn.0045cac0
add esp, 4
lea ecx, [ebp - 0x760]
cmp byte [ebp - 0x74], 0
mov edx, 0x10
push str.log_versions
je 0x4602bb
call fcn.0040a850
mov edi, eax
add esp, 4
mov al, byte [edi + 0x48]
test al, al
je 0x4602d5
mov edx, str.Kit_version_
mov ecx, edi
call fcn.00411300
mov al, byte [edi + 0x48]
test al, al
je 0x4602d5
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
mov ecx, edi
call fcn.00412b30
add esp, 4
jmp 0x4602d5
mov eax, dword [ecx]
push str.Desktop
push 0x2f3
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
test edx, edx
jne 0x4601f8
push str.log_versions
lea edx, [eax + 8]
lea ecx, [ebp - 0x760]
call fcn.0040a850
add esp, 4
cmp byte [eax + 0x48], 0
je 0x4602ae
mov edx, str.failed_get_regpath_product
mov ecx, eax
call fcn.00411300
lea ecx, [ebp - 0x760]
call fcn.0040a6f0
jmp 0x4602e8
call fcn.0040a850
add esp, 4
cmp byte [eax + 0x48], 0
je 0x4602d5
mov edx, str.get_kit_version_failed
mov ecx, eax
call fcn.00411300
lea ecx, [ebp - 0x760]
call fcn.0040a6f0
lea ecx, [ebp - 0x70]
call fcn.004161c0
call fcn.0045d0e0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x60d]
call fcn.0045bab0
cmp byte [ebp - 0x94], 0
lea ecx, [ebp - 0x808]
push str.wWinMain
je 0x4603f1
mov edx, 4
call fcn.0040a850
mov edi, eax
add esp, 4
cmp byte [edi + 0x48], 0
je 0x460341
push str.parse_cmdline_err:
push edi
call fcn.004110a0
add esp, 8
cmp byte [ebp - 0x94], 1
jne 0x4608a6
mov al, byte [edi + 0x48]
test al, al
je 0x460377
push dword [ebp - 0xe8]
mov ecx, edi
call fcn.00413130
mov al, byte [edi + 0x48]
test al, al
je 0x460377
push 0x5212fc
push edi
call fcn.004110a0
add esp, 8
cmp byte [ebp - 0x94], 1
jne 0x4608a6
cmp dword [ebp - 0xcc], 0x10
lea edx, [ebp - 0xe0]
cmovae edx, dword [ebp - 0xe0]
cmp byte [edi + 0x48], 0
je 0x4603a5
mov ecx, edi
call fcn.00411300
lea ecx, [ebp - 0x808]
call fcn.0040a6f0
call fcn.0045c570
cmp byte [ebp - 0x94], 1
je 0x4603e6
xorps xmm0, xmm0
mov dword [ebp - 0x614], esi
lea ecx, [ebp - 0x61c]
movq qword [ebp - 0x61c], xmm0
call fcn.0040f8d0
push 0x549264
mov eax, ecx
jmp 0x4608c9
mov edi, dword [ebp - 0xe8]
jmp 0x4607f3
mov edx, 0x10
call fcn.0040a850
mov edi, eax
add esp, 4
cmp byte [edi + 0x48], 0
je 0x460414
push str.cmdline:
push edi
call fcn.004110a0
add esp, 8
movsx eax, byte [ebp - 0x94]
test eax, eax
jne 0x4603be
push 0xb0
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.004d78d0
add esp, 0xc
lea ecx, [ebp - 0x1e0]
push 1
call fcn.0040d5f0
movsx ecx, byte [ebp - 0x98]
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x66c], eax
lea edx, [ebp - 0x66c]
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x664], eax
mov dword [ebp - 0x660], eax
lea ecx, [ecx + 1]
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x658], eax
mov dword [ebp - 0x654], eax
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], eax
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004649e0
add esp, 4
lea eax, [ebp - 0x684]
lea ecx, [ebp - 0x1c8]
push eax
call fcn.0040f930
lea ecx, [ebp - 0x1e0]
call fcn.0040b0b0
cmp byte [edi + 0x48], 0
je 0x460513
cmp dword [ebp - 0x670], 8
lea edx, [ebp - 0x684]
push dword [ebp - 0x674]
cmovae edx, dword [ebp - 0x684]
mov ecx, edi
call fcn.00412b30
add esp, 4
lea ecx, [ebp - 0x684]
call fcn.004161c0
lea ecx, [ebp - 0x808]
call fcn.0040a6f0
movsx eax, byte [ebp - 0x94]
test eax, eax
jne 0x4608a6
movsx eax, byte [ebp - 0x98]
cmp eax, 0xa
je 0x4606d4
cmp eax, 9
je 0x4606d4
push 0x24
call fcn.004a4626
add esp, 4
lea edx, [ebp - 0x58]
mov esi, eax
lea ecx, [ebp - 0x130]
push 0
mov byte [esi + 0x20], 0
call fcn.0045f7d0
add esp, 4
cmp byte [ebp - 0x110], 0
je 0x46058b
lea eax, [ebp - 0x130]
mov ecx, esi
push eax
call fcn.0044b650
lea ecx, [ebp - 0x130]
call fcn.0041ee20
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, str.crash
mov dword [ebp - 0x600], eax
mov ecx, eax
call fcn.0045fe40
mov edi, eax
test edi, edi
jns 0x4605ea
mov ecx, dword [ebp - 0x600]
mov edx, str.abort
lfence
call fcn.0045fe40
mov edi, eax
test edi, edi
jns 0x4605ea
mov ecx, dword [ebp - 0x600]
mov edx, str.terminate
lfence
call fcn.0045fe40
mov edi, eax
test edi, edi
js 0x4606d4
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x557f14]
cmp eax, dword [ecx + 8]
jle 0x460628
push 0x557f14
call fcn.004a4a41
add esp, 4
cmp dword [0x557f14], 0xffffffff
jne 0x460628
push 0x557f14
mov dword [0x557f18], edi
call fcn.004a49f7
add esp, 4
mov eax, dword [0x557a7c]
mov edx, str.crash
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x46065a
test di, di
je 0x460656
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x46065a
add ecx, 4
add edx, 4
test di, di
jne 0x460634
xor ecx, ecx
jmp 0x46065f
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x46066a
mov ecx, 0x45fdd0
jmp 0x4606aa
mov ecx, str.abort
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x460696
test dx, dx
je 0x460692
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x460696
add eax, 4
add ecx, 4
test dx, dx
jne 0x460670
xor eax, eax
jmp 0x46069b
sbb eax, eax
or eax, 1
test eax, eax
mov ecx, 0x45fe20
mov edx, 0x45fe00
cmove ecx, edx
xor eax, eax
cmp eax, dword [0x557f18]
push 0
push 0
sbb eax, eax
and eax, 0x557f18
push eax
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4606d4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movsx eax, byte [ebp - 0x94]
mov dword [0x54dd30], 1
test eax, eax
je 0x460703
xorps xmm0, xmm0
mov dword [ebp - 0x604], 0
movq qword [ebp - 0x60c], xmm0
jmp 0x4608b7
movsx edx, byte [ebp - 0x98]
lea eax, [ebp - 0xe8]
push eax
push ecx
lea ecx, [ebp - 0x40]
lea edx, [edx + 1]
call fcn.00464f30
add esp, 8
call fcn.0045c570
cmp byte [ebp - 0x20], 0
je 0x4607e9
push str.wWinMain
mov edx, 4
lea ecx, [ebp - 0x958]
call fcn.0040a850
mov edi, eax
add esp, 4
cmp byte [edi + 0x48], 0
je 0x46075d
push str.err
push edi
call fcn.004110a0
add esp, 8
cmp byte [ebp - 0x20], 0
jne 0x46078f
xorps xmm0, xmm0
mov dword [ebp - 0x620], 0
lea ecx, [ebp - 0x628]
movq qword [ebp - 0x628], xmm0
call fcn.0040f8d0
push 0x549264
mov eax, ecx
jmp 0x4608c9
mov al, byte [edi + 0x48]
test al, al
je 0x4607b5
push dword [ebp - 0x40]
mov ecx, edi
call fcn.00413130
mov al, byte [edi + 0x48]
test al, al
je 0x4607b5
push 0x5212fc
push edi
call fcn.004110a0
add esp, 8
cmp byte [ebp - 0x20], 0
je 0x460763
cmp byte [edi + 0x48], 0
je 0x4607d3
cmp dword [ebp - 0x24], 0x10
lea edx, [ebp - 0x38]
mov ecx, edi
cmovae edx, dword [ebp - 0x38]
call fcn.00411300
lea ecx, [ebp - 0x958]
call fcn.0040a6f0
cmp byte [ebp - 0x20], 0
je 0x4607e9
mov edi, dword [ebp - 0x40]
jmp 0x4607eb
xor edi, edi
lea ecx, [ebp - 0x40]
call fcn.0041ee20
lea ecx, [ebp - 0xe8]
call fcn.00461c30
cmp byte [ebp - 0x5f9], 0
je 0x46080d
call dword [sym.imp.ole32.dll_OleUninitialize]
lea ecx, [ebp - 0x5f8]
call fcn.0040a5f0
call fcn.00411000
movsx eax, byte [ebp - 0xec]
inc eax
sub eax, 0
je 0x460861
sub eax, 1
je 0x46083c
lea ecx, [ebp - 0x104]
call fcn.004161c0
jmp 0x460861
mov dword [ebp - 4], 0
cmp byte [ebp - 0x107], 0
je 0x460851
call fcn.004b48a0
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x460861
push eax
call fcn.00462090
test esi, esi
je 0x46086b
push esi
call fcn.00461ff0
lea ecx, [ebp - 0x58]
call fcn.004161c0
cmp byte [ebp - 0x78], 0
je 0x460884
lea ecx, [ebp - 0x90]
call fcn.004161c0
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.004a44cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x604], esi
movq qword [ebp - 0x60c], xmm0
lea ecx, [ebp - 0x60c]
call fcn.0040f8d0
push 0x549264
mov eax, ecx
push eax
call fcn.004d7fa4
int3