Function at 0x41ff60
Capabilities:
Accept command line arguments
Check os version
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x33c
mov eax, dword [0x43c024]
xor eax, esp
mov dword [esp + 0x338], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push str.kernel32.dll
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
je 0x41ffe2
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetDefaultDllDirectories
push esi
call ebx
cmp eax, edi
je 0x41ffcb
push 0x800
call eax
test al, al
jne 0x41ffcb
push str.SetDllDirectory
push esi
call ebx
cmp eax, edi
je 0x41ffcb
push 0x434698
call eax
push str.SetSearchPathMode
push esi
call ebx
cmp eax, edi
je 0x41ffdb
push 1
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x38]
mov dword [0x43ee44], ecx
call fcn.0041ea10
test al, al
jne 0x420044
mov esi, dword [0x441240]
mov eax, 0xa
lea ecx, [esp + 0x20]
call fcn.0041b1d0
mov edx, dword [esp + 0x20]
push 0x12010
push edx
push esi
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x20]
push eax
call fcn.00421dee
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421ddf
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x114
lea ecx, [esp + 0x22c]
push edi
push ecx
call fcn.004287c0
add esp, 0xc
call fcn.0041f320
lea edx, [esp + 0x228]
push edx
mov dword [0x441118], eax
mov dword [esp + 0x22c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x22c]
cmp eax, 6
jne 0x4200b6
cmp dword [esp + 0x230], edi
jne 0x4200aa
call fcn.0041f630
mov eax, dword [esp + 0x22c]
cmp eax, 6
jne 0x4200b6
cmp dword [esp + 0x230], 1
jae 0x4200b8
jmp 0x4200bd
jbe 0x4200bd
call fcn.0041f6e0
push 4
lea esi, [esp + 0xb4]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], edi
call fcn.00404e70
push 4
lea esi, [esp + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.00404e70
push 4
lea esi, [esp + 0x90]
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
call fcn.00404e70
push 4
lea esi, [esp + 0x84]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
call fcn.00404e70
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
lea eax, [esp + 0x20]
call fcn.00404b30
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x24]
call fcn.00404850
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x230]
add esp, 4
push edx
call fcn.0041f0e0
mov eax, 0x11
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441204
call fcn.00404bf0
mov eax, dword [esp + 0x14]
push eax
call fcn.00421dee
add esp, 4
mov eax, 0x12
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441210
call fcn.00404bf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421dee
add esp, 4
mov eax, 0x16
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x44121c
call fcn.00404bf0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421dee
add esp, 4
mov eax, 0x17
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441228
call fcn.00404bf0
mov eax, dword [esp + 0x14]
push eax
call fcn.00421dee
add esp, 4
mov eax, 0xf
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441234
call fcn.00404bf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421dee
add esp, 4
mov eax, 0xc
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441258
call fcn.00404bf0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421dee
add esp, 4
mov eax, 0x18
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441264
call fcn.00404bf0
mov eax, dword [esp + 0x14]
push eax
call fcn.00421dee
add esp, 4
mov eax, 0x10
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441240
call fcn.00404bf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421dee
add esp, 4
mov eax, 0x10
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x44124c
call fcn.00404bf0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421dee
add esp, 4
push 0x2000
call fcn.00421ecb
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x420306
xor al, al
mov byte [esp + 0x13], al
push 0x438008
lea eax, [esp + 0x17]
push eax
call fcn.0042d9e5
mov ebx, 0x434698
lea eax, [esp + 0xbc]
call fcn.00404b30
xor edi, edi
push 4
lea esi, [esp + 0x6c]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
call fcn.00404e70
mov esi, dword [esp + 0x2c]
push 0x434ff0
push esi
xor bl, bl
call fcn.004229d3
add esp, 8
cmp eax, edi
je 0x42034f
mov bl, 1
add eax, 8
jmp 0x42038f
push str.__k
push esi
call fcn.004229d3
add esp, 8
cmp eax, edi
je 0x420368
mov bl, 1
add eax, 8
jmp 0x42038f
push 0x435008
push esi
call fcn.004229d3
add esp, 8
cmp eax, edi
jne 0x42038c
push 0x435010
push esi
call fcn.004229d3
add esp, 8
cmp eax, edi
je 0x4203b9
add eax, 6
cmp eax, edi
je 0x4203b9
test bl, bl
je 0x4203a6
lea ecx, [esp + 0xbc]
push ecx
push 0x435018
jmp 0x4203b3
lea edx, [esp + 0xbc]
push edx
push 0x435020
push eax
call fcn.0041f4b0
cmp dword [esp + 0xc0], edi
je 0x4203e7
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0x38]
push eax
push 0x1000
push ebx
call fcn.00422938
add esp, 0xc
lea eax, [esp + 0x68]
call fcn.004067a0
xor edi, edi
push 0x435028
push esi
call fcn.004229d3
add esp, 8
test eax, eax
jne 0x420433
push 0x435030
push esi
call fcn.004229d3
add esp, 8
test eax, eax
jne 0x420433
push 0x435038
push esi
call fcn.004229d3
add esp, 8
test eax, eax
jne 0x420433
push 0x435040
push esi
call fcn.004229d3
add esp, 8
test eax, eax
jne 0x420433
xor bl, bl
jmp 0x420435
mov bl, 1
push 4
lea esi, [esp + 0xa8]
mov byte [esp + 0x110], bl
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
call fcn.00404e70
call fcn.00406720
lea ecx, [esp + 0x14]
push ecx
call fcn.00405080
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00404fe0
mov eax, dword [esp + 0x14]
push eax
call fcn.00421dee
add esp, 4
lea ecx, [esp + 0x14]
push ecx
call fcn.00405080
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00404f60
mov eax, dword [esp + 0x14]
push eax
call fcn.00421dee
mov byte [esp + 0x16], bl
add esp, 4
mov ebx, 0x435048
lea eax, [esp + 0xf4]
mov dword [esp + 0x48], 3
call fcn.00404b30
mov edi, eax
mov ecx, 2
lea esi, [esp + 0xd4]
lea eax, [esp + 0x2c]
call fcn.00404df0
mov ecx, dword [edi]
mov edx, dword [eax]
push ecx
push edx
call fcn.00405140
test eax, eax
je 0x42052b
mov ebx, 0x435050
lea eax, [esp + 0x20]
mov dword [esp + 0x48], 0xf
call fcn.00404b30
mov edi, eax
mov ecx, 2
lea esi, [esp + 0x14]
lea eax, [esp + 0x2c]
call fcn.00404df0
mov ecx, dword [edi]
mov edx, dword [eax]
push ecx
push edx
call fcn.00405140
mov byte [esp + 0x13], 0
test eax, eax
jne 0x420530
mov byte [esp + 0x13], 1
mov ebx, dword [esp + 0x48]
test bl, 8
je 0x420549
mov eax, dword [esp + 0x14]
push eax
and ebx, 0xfffffff7
call fcn.00421dee
add esp, 4
test bl, 4
je 0x42055e
mov ecx, dword [esp + 0x20]
push ecx
and ebx, 0xfffffffb
call fcn.00421dee
add esp, 4
test bl, 2
je 0x420576
mov edx, dword [esp + 0xd4]
push edx
and ebx, 0xfffffffd
call fcn.00421dee
add esp, 4
test bl, 1
je 0x42058b
mov eax, dword [esp + 0xf4]
push eax
call fcn.00421dee
add esp, 4
cmp byte [esp + 0x13], 0
je 0x4205ca
mov eax, 2
lea esi, [esp + 0x14]
lea edx, [esp + 0x2c]
mov byte [esp + 0x12], 1
call fcn.00404cb0
mov edi, eax
lea eax, [esp + 0x2c]
call fcn.00404bf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421dee
add esp, 4
lea esi, [esp + 0x2c]
call fcn.00404e10
xor eax, eax
lea ebx, [eax + 4]
lea esi, [esp + 0x98]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
call fcn.00405460
mov edi, dword [esp + 0xa4]
push edi
mov edx, esi
call fcn.0041f7f0
test al, al
jne 0x4206a8
cmp byte [esp + 0x12], al
jne 0x420619
mov edx, dword [0x441204]
push edx
call fcn.0041ea80
mov eax, dword [esp + 0x98]
push eax
call fcn.00421dee
add esp, 4
push edi
call fcn.00421dee
mov ecx, dword [esp + 0x6c]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xc0]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x84]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x90]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xb4]
add esp, 4
push eax
call fcn.00421dee
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421ddf
mov esp, ebp
pop ebp
ret 0x10
mov ebx, 0x435058
lea eax, [esp + 0x4c]
call fcn.00404b30
xor ebx, ebx
push 4
lea esi, [esp + 0x40]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.00404e70
mov byte [esp + 0x38], 1
cmp dword [esp + 0x9c], ebx
je 0x420b0f
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], 4
mov dword [esp + 0xe8], vtable.CObjectVector_struct_CTextConfigPair_.0
call fcn.004055e0
test al, al
jne 0x4207f0
cmp byte [esp + 0x12], bl
jne 0x42073a
mov eax, dword [0x441210]
push eax
call fcn.0041ea80
lea ecx, [esp + 0xe0]
push ecx
call fcn.00421c60
mov edx, dword [esp + 0x3c]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421dee
add esp, 4
push edi
call fcn.00421dee
mov edx, dword [esp + 0x6c]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xc0]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x84]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x90]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
call fcn.00421dee
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421ddf
mov esp, ebp
pop ebp
ret 0x10
mov ebx, str.Title
lea eax, [esp + 0x20]
call fcn.00404b30
lea eax, [esp + 0x20]
lea ecx, [esp + 0xe0]
lea edx, [esp + 0x14]
call fcn.00406020
mov edx, dword [esp + 0x20]
push edx
call fcn.00421dee
add esp, 4
mov ebx, str.BeginPrompt
lea eax, [esp + 0x20]
call fcn.00404b30
lea eax, [esp + 0x20]
lea ecx, [esp + 0xe0]
lea edx, [esp + 0xf4]
call fcn.00406020
mov eax, dword [esp + 0x20]
push eax
call fcn.00421dee
add esp, 4
mov ebx, 0x435084
lea eax, [esp + 0x20]
call fcn.00404b30
lea eax, [esp + 0x20]
lea ecx, [esp + 0xe0]
lea edx, [esp + 0xd4]
call fcn.00406020
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xd8]
add esp, 4
push 0x435098
push edx
call fcn.00405140
test eax, eax
jne 0x42089d
mov byte [esp + 0x38], al
mov ebx, str.Directory
lea eax, [esp + 0x20]
call fcn.00404b30
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xe4]
call fcn.00405fb0
mov ecx, dword [esp + 0x20]
push ecx
mov esi, eax
call fcn.00421dee
add esp, 4
test esi, esi
jl 0x4208ec
mov edx, dword [esp + 0xec]
mov edi, dword [edx + esi*4]
add edi, 0xc
lea eax, [esp + 0x4c]
call fcn.00404bf0
mov edi, dword [esp + 0xa4]
cmp dword [esp + 0xf8], 0
mov esi, dword [esp + 0x14]
je 0x4209de
cmp byte [esp + 0x12], 0
jne 0x4209de
mov ebx, dword [esp + 0xf4]
push 0x24
push esi
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x4209de
mov eax, dword [esp + 0xd4]
push eax
call fcn.00421dee
add esp, 4
push ebx
call fcn.00421dee
add esp, 4
push esi
call fcn.00421dee
add esp, 4
lea ecx, [esp + 0xe0]
push ecx
call fcn.00421c60
mov edx, dword [esp + 0x3c]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421dee
add esp, 4
push edi
call fcn.00421dee
mov edx, dword [esp + 0x6c]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xc0]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x84]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x90]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
jmp 0x421ab7
mov ebx, str.RunProgram
lea eax, [esp + 0x20]
call fcn.00404b30
lea eax, [esp + 0x20]
lea ecx, [esp + 0xe0]
lea edx, [esp + 0x14]
call fcn.00406020
mov edi, eax
lea eax, [esp + 0x3c]
call fcn.00404bf0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.00421dee
add esp, 4
mov ebx, str.ExecuteFile
lea eax, [esp + 0x20]
call fcn.00404b30
lea eax, [esp + 0x20]
lea ecx, [esp + 0xe0]
lea edx, [esp + 0x14]
call fcn.00406020
mov edi, eax
lea eax, [esp + 0x8c]
call fcn.00404bf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.00421dee
add esp, 4
mov ebx, str.ExecuteParameters
lea eax, [esp + 0x20]
call fcn.00404b30
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x78]
call fcn.00406020
lea ecx, [esp + 0x18]
push ecx
mov edi, eax
call fcn.00407ca0
mov edi, eax
lea eax, [esp + 0x80]
call fcn.00404bf0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x78]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xd8]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xf8]
add esp, 4
push eax
call fcn.00421dee
add esp, 4
push esi
call fcn.00421dee
add esp, 4
lea ecx, [esp + 0xe0]
push ecx
call fcn.00421c60
xor ebx, ebx
push 4
lea esi, [esp + 0x60]
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.00404e70
cmp byte [esp + 0x58], 0
je 0x420b43
mov edx, esi
push edx
call fcn.004072d0
test al, al
sete al
mov byte [esp + 0x58], al
lea edi, [esp + 0x5c]
call fcn.00407b60
mov byte [esp + 0x58], al
test al, al
jne 0x420c24
cmp byte [esp + 0x12], al
jne 0x420b6a
mov ecx, dword [0x44121c]
push ecx
call fcn.0041ea80
lea edx, [esp + 0x58]
push edx
call fcn.0041e9a0
mov eax, dword [esp + 0x3c]
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x50]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x9c]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xa8]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x6c]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xc0]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x84]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x90]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xb4]
add esp, 4
push eax
call fcn.00421dee
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421ddf
mov esp, ebp
pop ebp
ret 0x10
push 0x1c
call fcn.00421ecb
mov ebx, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x48], ebx
cmp ebx, eax
jne 0x420c4f
push 0x438008
lea ecx, [esp + 0x17]
xor al, al
push ecx
mov byte [esp + 0x1b], al
call fcn.0042d9e5
mov dword [ebx + 4], eax
mov dword [ebx], vtable.CCodecs.0
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 4
mov dword [ebx + 8], vtable.CObjectVector_struct_CArcInfoEx_.0
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, ebx
call fcn.00419200
test eax, eax
je 0x420d5b
cmp byte [esp + 0x12], 0
jne 0x420c99
mov ecx, dword [0x44124c]
push ecx
call fcn.0041ea80
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0041e9a0
mov edx, dword [esp + 0x3c]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xa8]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x6c]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xc0]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x84]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x90]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
call fcn.00421dee
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421ddf
mov esp, ebp
pop ebp
ret 0x10
lea edi, [esp + 0x5c]
lea eax, [esp + 0x100]
call fcn.00404b90
xor eax, eax
push 4
lea esi, [esp + 0x78]
mov byte [esp + 0x17], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call fcn.00404e70
mov eax, dword [esp + 0x10c]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x40]
mov edx, esi
push edx
lea eax, [esp + 0x1f]
push eax
push ecx
lea edx, [esp + 0x114]
push edx
lea eax, [esp + 0xbc]
push eax
push ebx
call fcn.0041e050
mov edi, eax
test edi, edi
je 0x420f6b
cmp byte [esp + 0x12], 0
jne 0x420e8c
cmp edi, 1
je 0x420ddd
cmp byte [esp + 0x13], 0
je 0x420e0a
mov eax, 0xf
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
lea eax, [esp + 0x74]
call fcn.00404bf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421dee
add esp, 4
mov edi, 0x80004005
jmp 0x420e12
cmp edi, 0x80004004
je 0x420e8c
xor esi, esi
lea eax, [esi + 0xa]
lea ecx, [esp + 0x14]
call fcn.0041b1d0
push 0x12010
cmp dword [esp + 0x7c], esi
je 0x420e41
mov edx, dword [eax]
mov eax, dword [esp + 0x78]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x420e84
mov eax, dword [eax]
mov dword [esp + 0x118], edi
push eax
lea edi, [esp + 0x118]
mov dword [esp + method._com_error.virtual_0], vtable._com_error.0
mov dword [esp + 0x120], esi
mov dword [esp + 0x124], esi
call fcn.0041e8d0
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, edi
call fcn.0041e8a0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421dee
add esp, 4
mov eax, dword [esp + 0x74]
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x104]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push ebx
call eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0041e9a0
mov edx, dword [esp + 0x3c]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xa8]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x6c]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xc0]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x84]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x90]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
call fcn.00421dee
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421ddf
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x74]
push eax
call fcn.00421dee
add esp, 4
lea ecx, [esp + 0xc8]
push ecx
call fcn.0041fef0
mov edx, dword [esp + 0x5c]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edx
call edi
test eax, eax
jne 0x420fcd
mov eax, dword [esp + 0xc8]
push eax
call edi
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x104]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
add esp, 4
push ebx
call ecx
jmp 0x420b6a
xor esi, esi
cmp dword [esp + 0x90], esi
je 0x4211b3
lea edi, [esp + 0x8c]
lea eax, [esp + 0xd4]
call fcn.00404b90
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x168], 0x3c
mov dword [esp + 0x16c], 0x140
mov dword [esp + 0x170], esi
mov dword [esp + 0x174], esi
mov dword [esp + 0x178], ecx
cmp dword [esp + 0x30], esi
je 0x421038
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x84]
call fcn.00406370
lea edi, [esp + 0x80]
lea eax, [esp + 0x20]
call fcn.00404b90
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, esi
mov dword [esp + 0x17c], eax
xor eax, eax
lea ecx, [esp + 0x168]
push ecx
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], 1
mov dword [esp + 0x1a4], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 0x188], 0x20
ja 0x421191
cmp byte [esp + 0x12], 0
jne 0x4210a7
mov edx, dword [0x441258]
push edx
call fcn.0041ea80
push esi
call fcn.00421dee
mov eax, dword [esp + 0xd8]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xcc]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [esp + 0xc8]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x104]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [ebx]
add esp, 4
push ebx
mov edx, dword [ecx + 8]
call edx
lea eax, [esp + 0x58]
push eax
call fcn.0041e9a0
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x50]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x9c]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xa8]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x6c]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xc0]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x84]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x90]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
jmp 0x420c00
mov edi, dword [esp + 0x1a0]
push esi
call fcn.00421dee
mov edx, dword [esp + 0xd8]
add esp, 4
push edx
call fcn.00421dee
jmp 0x4218c3
cmp dword [esp + 0x40], esi
jne 0x4212c0
mov ebx, str.setup.exe
lea eax, [esp + 0x3c]
call fcn.004067a0
mov eax, dword [esp + 0x3c]
push eax
call fcn.00407fb0
test al, al
jne 0x4212c0
cmp byte [esp + 0x12], al
jne 0x4211ef
mov ecx, dword [0x441264]
push ecx
call fcn.0041ea80
mov edx, dword [esp + 0xc8]
push edx
call edi
mov eax, dword [esp + 0xc8]
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x104]
add esp, 4
push ecx
call fcn.00421dee
mov eax, dword [esp + 0x4c]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0041e9a0
mov edx, dword [esp + 0x3c]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xa8]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x6c]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xc0]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x84]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x90]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
jmp 0x420c00
lea eax, [esp + 0x74]
call fcn.00404b10
mov esi, dword [esp + 0xa4]
push esi
lea eax, [esp + 0x78]
call fcn.00407510
test al, al
jne 0x42130b
lea eax, [esp + 0x20]
call fcn.00404b10
push esi
lea eax, [esp + 0x24]
call fcn.00407510
lea edi, [esp + 0x20]
lea eax, [esp + 0x74]
call fcn.00404bf0
mov eax, dword [esp + 0x20]
push eax
call fcn.00421dee
add esp, 4
mov ecx, dword [esp + 0x3c]
push 0x43511c
push ecx
call fcn.004229d3
add esp, 8
test eax, eax
je 0x421385
lea edi, [esp + 0x100]
lea eax, [esp + 0x4c]
call fcn.00404bf0
lea eax, [esp + 0x4c]
call fcn.00408700
mov ebx, 0x434698
lea eax, [esp + 0x14]
call fcn.00404b30
mov ebx, str.__T_
lea eax, [esp + 0x20]
call fcn.00404b30
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
lea esi, [esp + 0x44]
call fcn.0041b3a0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call fcn.00421dee
add esp, 4
jmp 0x421395
cmp dword [esp + 0x50], 0
je 0x421395
lea eax, [esp + 0x4c]
call fcn.00408700
mov ebx, str.mia.lib
lea eax, [esp + 0x14]
call fcn.00404b30
lea eax, [esp + 0x14]
push eax
sub esp, 0xc
lea edi, [esp + 0x5c]
mov eax, esp
mov dword [esp + 0x48], esp
call fcn.00404b90
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.0041faf0
mov edi, eax
lea eax, [esp + 0x4c]
call fcn.00404bf0
mov eax, dword [esp + 0x20]
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call fcn.00421dee
add esp, 4
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x124]
push eax
lea edi, [esp + 0x54]
call fcn.00407ca0
mov edi, eax
lea eax, [esp + 0x14]
call fcn.00404b90
mov ecx, dword [esp + 0x120]
push ecx
call fcn.00421dee
add esp, 4
mov ebx, 0x435140
lea eax, [esp + 0x15c]
call fcn.00404b30
push eax
lea edx, [esp + 0x6c]
push edx
mov ebx, 0x435144
lea eax, [esp + 0x140]
call fcn.00404b30
push eax
lea eax, [esp + 0x80]
push eax
mov ebx, str.__m_
lea eax, [esp + 0x154]
call fcn.00404b30
push eax
lea ecx, [esp + 0x164]
push ecx
lea edi, [esp + 0x44]
call fcn.00407ca0
lea edx, [esp + 0x13c]
push edx
mov edi, eax
call fcn.00407ca0
lea ecx, [esp + 0x2c]
push ecx
mov edi, eax
call fcn.00407ca0
lea edx, [esp + 0x128]
push edx
mov edi, eax
call fcn.00407ca0
lea ecx, [esp + 0xd8]
push ecx
mov edi, eax
call fcn.00407ca0
mov edx, dword [esp + 0x120]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x130]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x154]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x148]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x13c]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x160]
add esp, 4
push edx
call fcn.00421dee
xor esi, esi
add esp, 4
cmp dword [esp + 0x30], esi
je 0x42153a
push 0x20
lea eax, [esp + 0x40]
call fcn.00404c40
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
call fcn.00406370
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x130]
xor ecx, ecx
push eax
lea edi, [esp + 0x54]
mov dword [esp + 0x1e8], 0x44
mov dword [esp + 0x1ec], esi
mov dword [esp + 0x1f0], esi
mov dword [esp + 0x1f4], esi
mov dword [esp + 0x214], esi
mov word [esp + 0x21a], cx
mov dword [esp + 0x21c], esi
call fcn.00407ca0
mov edi, eax
mov ebx, 0x435140
lea eax, [esp + 0x110]
call fcn.00404b30
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ebx, 0x435144
lea eax, [esp + 0x28]
call fcn.00404b30
push eax
lea edx, [esp + 0x80]
push edx
mov ebx, str.__m_
lea eax, [esp + 0x130]
call fcn.00404b30
push eax
lea eax, [esp + 0x164]
push eax
call fcn.00407ca0
lea ecx, [esp + 0x154]
push ecx
mov edi, eax
call fcn.00407ca0
lea edx, [esp + 0x144]
push edx
mov edi, eax
call fcn.00407ca0
lea ecx, [esp + 0x164]
push ecx
mov edi, eax
call fcn.00407ca0
lea edx, [esp + 0xf8]
push edx
mov edi, eax
call fcn.00407ca0
mov eax, dword [esp + 0x15c]
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x13c]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x148]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x154]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x130]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x124]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x114]
add esp, 4
push ecx
call fcn.00421dee
mov ecx, dword [esp + 0x60]
add esp, 4
lea edx, [esp + 0xe0]
push edx
mov edx, dword [esp + 0xf8]
lea eax, [esp + 0x1e4]
push eax
push ecx
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x421877
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x2e4
jne 0x4217ed
push 6
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x1a4]
push edx
mov dword [esp + 0x1a8], 0x3c
mov dword [esp + 0x1ac], 0x4540
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], str.runas
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x1c4], 1
mov dword [esp + 0x1e0], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 0x1c4], 0x20
ja 0x4217e1
cmp byte [esp + 0x12], 0
jne 0x421768
call edi
push eax
call fcn.0041b1f0
lea esi, [esp + 0x58]
call fcn.00406870
mov eax, dword [esp + 0xf4]
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xd8]
add esp, 4
push ecx
call fcn.00421dee
add esp, 4
push ebx
call fcn.00421dee
mov edx, dword [esp + 0x78]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xcc]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x104]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
add esp, 4
push eax
jmp 0x4210f1
mov edi, dword [esp + 0x1dc]
jmp 0x42188c
cmp byte [esp + 0x12], 0
jne 0x4217fa
push eax
call fcn.0041b1f0
lea esi, [esp + 0x58]
call fcn.00406870
mov edx, dword [esp + 0xf4]
push edx
call fcn.00421dee
mov eax, dword [esp + 0xd8]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x78]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xcc]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x104]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
add esp, 4
push eax
jmp 0x4210f1
mov edx, dword [esp + 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0xe0]
mov eax, dword [esp + 0xf4]
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xd8]
add esp, 4
push ecx
call fcn.00421dee
add esp, 4
push ebx
call fcn.00421dee
mov edx, dword [esp + 0x78]
add esp, 4
push edx
call fcn.00421dee
mov ebx, dword [esp + 0x4c]
add esp, 4
test edi, edi
je 0x4219e4
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x58]
call fcn.00406870
mov ecx, dword [esp + 0xc8]
mov esi, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [esp + 0xc8]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x104]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
add esp, 4
push ebx
call edx
lea eax, [esp + 0x58]
push eax
call fcn.0041e9a0
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x50]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x9c]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xa8]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x6c]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0xc0]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x84]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x90]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
call fcn.00421dee
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421ddf
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x58]
call fcn.00406870
mov edx, dword [esp + 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [esp + 0xc8]
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x104]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push ebx
call eax
mov ecx, esi
push ecx
call fcn.0041e9a0
mov edx, dword [esp + 0x3c]
push edx
call fcn.00421dee
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xa8]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x6c]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0xc0]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0x84]
add esp, 4
push edx
call fcn.00421dee
mov eax, dword [esp + 0x90]
add esp, 4
push eax
call fcn.00421dee
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
call fcn.00421dee
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
call fcn.00421dee
mov ecx, dword [esp + 0x348]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00421ddf
mov esp, ebp
pop ebp
ret 0x10