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
mov dword [esp + 0x44], edi
mov dword [0x43ee44], eax
call fcn.0041ea10
test al, al
jne 0x41ffdf
mov esi, dword [0x441240]
lea eax, [edi + 0xa]
lea ecx, [esp + 0x20]
call fcn.0041b1d0
mov eax, dword [esp + 0x20]
push 0x12010
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00421d8e
add esp, 4
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421d7f
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x114
lea edx, [esp + 0x22c]
push edi
push edx
call fcn.00428760
add esp, 0xc
call fcn.0041f320
mov dword [0x441118], eax
lea eax, [esp + 0x228]
push eax
mov dword [esp + 0x22c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x22c]
cmp eax, 6
jne 0x420051
cmp dword [esp + 0x230], edi
jne 0x420045
call fcn.0041f630
mov eax, dword [esp + 0x22c]
cmp eax, 6
jne 0x420051
cmp dword [esp + 0x230], 1
jae 0x420053
jmp 0x420058
jbe 0x420058
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 ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x24]
call fcn.00404850
mov edx, dword [esp + 0x20]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x230]
add esp, 4
push eax
call fcn.0041f0e0
mov eax, 0x11
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441204
call fcn.00404bf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421d8e
add esp, 4
mov eax, 0x12
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441210
call fcn.00404bf0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421d8e
add esp, 4
mov eax, 0x16
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x44121c
call fcn.00404bf0
mov eax, dword [esp + 0x14]
push eax
call fcn.00421d8e
add esp, 4
mov eax, 0x17
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441228
call fcn.00404bf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421d8e
add esp, 4
mov eax, 0xf
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441234
call fcn.00404bf0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421d8e
add esp, 4
mov eax, 0xc
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441258
call fcn.00404bf0
mov eax, dword [esp + 0x14]
push eax
call fcn.00421d8e
add esp, 4
mov eax, 0x18
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441264
call fcn.00404bf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421d8e
add esp, 4
mov eax, 0x10
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x441240
call fcn.00404bf0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421d8e
add esp, 4
mov eax, 0x10
lea ecx, [esp + 0x14]
call fcn.0041b1d0
mov edi, eax
mov eax, 0x44124c
call fcn.00404bf0
mov eax, dword [esp + 0x14]
push eax
call fcn.00421d8e
add esp, 4
push 0x2000
call fcn.00421e6b
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
jne 0x4202a1
push 0x437fa8
lea ecx, [esp + 0x17]
xor al, al
push ecx
mov byte [esp + 0x1b], al
call fcn.0042d985
mov ebx, 0x434698
lea eax, [esp + 0xbc]
call fcn.00404b30
xor edi, edi
push 4
lea esi, [esp + 0x5c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.00404e70
mov esi, dword [esp + 0x2c]
push 0x434f94
push esi
xor bl, bl
call fcn.00422973
add esp, 8
cmp eax, edi
je 0x4202ea
mov bl, 1
add eax, 8
jmp 0x42032a
push str.__k
push esi
call fcn.00422973
add esp, 8
cmp eax, edi
je 0x420303
mov bl, 1
add eax, 8
jmp 0x42032a
push 0x434fac
push esi
call fcn.00422973
add esp, 8
cmp eax, edi
jne 0x420327
push 0x434fb4
push esi
call fcn.00422973
add esp, 8
cmp eax, edi
je 0x420354
add eax, 6
cmp eax, edi
je 0x420354
test bl, bl
je 0x420341
lea edx, [esp + 0xbc]
push edx
push 0x434fbc
jmp 0x42034e
lea ecx, [esp + 0xbc]
push ecx
push 0x434fc4
push eax
call fcn.0041f4b0
cmp dword [esp + 0xc0], edi
je 0x420382
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x48]
push edx
push 0x1000
push ebx
call fcn.004228d8
add esp, 0xc
lea eax, [esp + 0x58]
call fcn.004067a0
xor edi, edi
push 0x434fcc
push esi
call fcn.00422973
add esp, 8
test eax, eax
jne 0x4203ce
push 0x434fd4
push esi
call fcn.00422973
add esp, 8
test eax, eax
jne 0x4203ce
push 0x434fdc
push esi
call fcn.00422973
add esp, 8
test eax, eax
jne 0x4203ce
push 0x434fe4
push esi
call fcn.00422973
add esp, 8
test eax, eax
jne 0x4203ce
xor bl, bl
jmp 0x4203d0
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 eax, [esp + 0x14]
push eax
call fcn.00405080
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.00404fe0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421d8e
add esp, 4
lea eax, [esp + 0x14]
push eax
call fcn.00405080
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.00404f60
mov edx, dword [esp + 0x14]
push edx
call fcn.00421d8e
mov byte [esp + 0x16], bl
add esp, 4
mov ebx, 0x434fec
lea eax, [esp + 0xf4]
mov dword [esp + 0x44], 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 0x4204c6
mov ebx, 0x434ff4
lea eax, [esp + 0x20]
mov dword [esp + 0x44], 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 0x4204cb
mov byte [esp + 0x13], 1
mov ebx, dword [esp + 0x44]
test bl, 8
je 0x4204e4
mov eax, dword [esp + 0x14]
push eax
and ebx, 0xfffffff7
call fcn.00421d8e
add esp, 4
test bl, 4
je 0x4204f9
mov ecx, dword [esp + 0x20]
push ecx
and ebx, 0xfffffffb
call fcn.00421d8e
add esp, 4
test bl, 2
je 0x420511
mov edx, dword [esp + 0xd4]
push edx
and ebx, 0xfffffffd
call fcn.00421d8e
add esp, 4
test bl, 1
je 0x420526
mov eax, dword [esp + 0xf4]
push eax
call fcn.00421d8e
add esp, 4
cmp byte [esp + 0x13], 0
je 0x420565
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.00421d8e
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 0x420643
cmp byte [esp + 0x12], al
jne 0x4205b4
mov edx, dword [0x441204]
push edx
call fcn.0041ea80
mov eax, dword [esp + 0x98]
push eax
call fcn.00421d8e
add esp, 4
push edi
call fcn.00421d8e
mov ecx, dword [esp + 0x5c]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xc0]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x84]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x90]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0xb4]
add esp, 4
push eax
call fcn.00421d8e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421d7f
mov esp, ebp
pop ebp
ret 0x10
mov ebx, 0x434ffc
lea eax, [esp + 0x4c]
call fcn.00404b30
xor ebx, ebx
push 4
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00404e70
mov byte [esp + 0x48], 1
cmp dword [esp + 0x9c], ebx
je 0x420aaa
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 0x42078b
cmp byte [esp + 0x12], bl
jne 0x4206d5
mov eax, dword [0x441210]
push eax
call fcn.0041ea80
lea ecx, [esp + 0xe0]
push ecx
call fcn.00421c00
mov edx, dword [esp + 0x38]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421d8e
add esp, 4
push edi
call fcn.00421d8e
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0xc0]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x84]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x90]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
call fcn.00421d8e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421d7f
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.00421d8e
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.00421d8e
add esp, 4
mov ebx, 0x435028
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.00421d8e
mov edx, dword [esp + 0xd8]
add esp, 4
push 0x43503c
push edx
call fcn.00405140
test eax, eax
jne 0x420838
mov byte [esp + 0x48], 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.00421d8e
add esp, 4
test esi, esi
jl 0x420887
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 0x420979
cmp byte [esp + 0x12], 0
jne 0x420979
mov ebx, dword [esp + 0xf4]
push 0x24
push esi
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x420979
mov eax, dword [esp + 0xd4]
push eax
call fcn.00421d8e
add esp, 4
push ebx
call fcn.00421d8e
add esp, 4
push esi
call fcn.00421d8e
add esp, 4
lea ecx, [esp + 0xe0]
push ecx
call fcn.00421c00
mov edx, dword [esp + 0x38]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421d8e
add esp, 4
push edi
call fcn.00421d8e
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0xc0]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x84]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x90]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
jmp 0x421a52
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 + 0x38]
call fcn.00404bf0
mov edx, dword [esp + 0x14]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.00421d8e
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.00421d8e
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call fcn.00421d8e
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.00421d8e
mov eax, dword [esp + 0x78]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xd8]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0xf8]
add esp, 4
push eax
call fcn.00421d8e
add esp, 4
push esi
call fcn.00421d8e
add esp, 4
lea ecx, [esp + 0xe0]
push ecx
call fcn.00421c00
xor ebx, ebx
push 4
lea esi, [esp + 0x6c]
mov byte [esp + 0x68], 0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.00404e70
cmp byte [esp + 0x64], 0
je 0x420ade
mov edx, esi
push edx
call fcn.004072d0
test al, al
sete al
mov byte [esp + 0x64], al
lea edi, [esp + 0x68]
call fcn.00407b60
mov byte [esp + 0x64], al
test al, al
jne 0x420bbf
cmp byte [esp + 0x12], al
jne 0x420b05
mov ecx, dword [0x44121c]
push ecx
call fcn.0041ea80
lea edx, [esp + 0x64]
push edx
call fcn.0041e9a0
mov eax, dword [esp + 0x38]
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x50]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x9c]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0xa8]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x5c]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xc0]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x84]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x90]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0xb4]
add esp, 4
push eax
call fcn.00421d8e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421d7f
mov esp, ebp
pop ebp
ret 0x10
push 0x1c
call fcn.00421e6b
mov ebx, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x44], ebx
cmp ebx, eax
jne 0x420bea
push 0x437fa8
lea ecx, [esp + 0x17]
xor al, al
push ecx
mov byte [esp + 0x1b], al
call fcn.0042d985
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 0x420cf6
cmp byte [esp + 0x12], 0
jne 0x420c34
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 + 0x64]
push ecx
call fcn.0041e9a0
mov edx, dword [esp + 0x38]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xa8]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x5c]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xc0]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x84]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x90]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
call fcn.00421d8e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421d7f
mov esp, ebp
pop ebp
ret 0x10
lea edi, [esp + 0x68]
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 + 0x5c]
push ecx
mov ecx, dword [esp + 0x50]
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 0x420f06
cmp byte [esp + 0x12], 0
jne 0x420e27
cmp edi, 1
je 0x420d78
cmp byte [esp + 0x13], 0
je 0x420da5
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.00421d8e
add esp, 4
mov edi, 0x80004005
jmp 0x420dad
cmp edi, 0x80004004
je 0x420e27
xor esi, esi
lea eax, [esi + 0xa]
lea ecx, [esp + 0x14]
call fcn.0041b1d0
push 0x12010
cmp dword [esp + 0x7c], esi
je 0x420ddc
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 0x420e1f
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.00421d8e
add esp, 4
mov eax, dword [esp + 0x74]
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x104]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push ebx
call eax
lea ecx, [esp + 0x64]
push ecx
call fcn.0041e9a0
mov edx, dword [esp + 0x38]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xa8]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x5c]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xc0]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x84]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x90]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
call fcn.00421d8e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421d7f
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x74]
push eax
call fcn.00421d8e
add esp, 4
lea ecx, [esp + 0xc8]
push ecx
call fcn.0041fef0
mov edx, dword [esp + 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edx
call edi
test eax, eax
jne 0x420f68
mov eax, dword [esp + 0xc8]
push eax
call edi
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x104]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
add esp, 4
push ebx
call ecx
jmp 0x420b05
xor esi, esi
cmp dword [esp + 0x90], esi
je 0x42114e
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 0x420fd3
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 0x42112c
cmp byte [esp + 0x12], 0
jne 0x421042
mov edx, dword [0x441258]
push edx
call fcn.0041ea80
push esi
call fcn.00421d8e
mov eax, dword [esp + 0xd8]
add esp, 4
push eax
call fcn.00421d8e
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.00421d8e
mov eax, dword [esp + 0x104]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [ebx]
add esp, 4
push ebx
mov edx, dword [ecx + 8]
call edx
lea eax, [esp + 0x64]
push eax
call fcn.0041e9a0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x50]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x9c]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xa8]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0xc0]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x84]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x90]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
jmp 0x420b9b
mov edi, dword [esp + 0x1a0]
push esi
call fcn.00421d8e
mov edx, dword [esp + 0xd8]
add esp, 4
push edx
call fcn.00421d8e
jmp 0x42185e
cmp dword [esp + 0x3c], esi
jne 0x42125b
mov ebx, str.setup.exe
lea eax, [esp + 0x38]
call fcn.004067a0
mov eax, dword [esp + 0x38]
push eax
call fcn.00407fb0
test al, al
jne 0x42125b
cmp byte [esp + 0x12], al
jne 0x42118a
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.00421d8e
mov ecx, dword [esp + 0x104]
add esp, 4
push ecx
call fcn.00421d8e
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x64]
push ecx
call fcn.0041e9a0
mov edx, dword [esp + 0x38]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xa8]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x5c]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xc0]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x84]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x90]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
jmp 0x420b9b
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 0x4212a6
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.00421d8e
add esp, 4
mov ecx, dword [esp + 0x38]
push 0x4350c0
push ecx
call fcn.00422973
add esp, 8
test eax, eax
je 0x421320
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 + 0x40]
call fcn.0041b3a0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call fcn.00421d8e
add esp, 4
jmp 0x421330
cmp dword [esp + 0x50], 0
je 0x421330
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 + 0x58], esp
call fcn.00404b90
lea ecx, [esp + 0x48]
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.00421d8e
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call fcn.00421d8e
add esp, 4
lea edx, [esp + 0x38]
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.00421d8e
add esp, 4
mov ebx, 0x4350e4
lea eax, [esp + 0x15c]
call fcn.00404b30
push eax
lea edx, [esp + 0x5c]
push edx
mov ebx, 0x4350e8
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.00421d8e
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x130]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x154]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x148]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x13c]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x160]
add esp, 4
push edx
call fcn.00421d8e
xor esi, esi
add esp, 4
cmp dword [esp + 0x30], esi
je 0x4214d5
push 0x20
lea eax, [esp + 0x3c]
call fcn.00404c40
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
call fcn.00406370
lea edx, [esp + 0x38]
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, 0x4350e4
lea eax, [esp + 0x110]
call fcn.00404b30
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ebx, 0x4350e8
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.00421d8e
mov ecx, dword [esp + 0x13c]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x148]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x154]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x130]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x124]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x114]
add esp, 4
push ecx
call fcn.00421d8e
mov ecx, dword [esp + 0x6c]
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 0x421812
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x2e4
jne 0x421788
push 6
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x68]
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 0x42177c
cmp byte [esp + 0x12], 0
jne 0x421703
call edi
push eax
call fcn.0041b1f0
lea esi, [esp + 0x64]
call fcn.00406870
mov eax, dword [esp + 0xf4]
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xd8]
add esp, 4
push ecx
call fcn.00421d8e
add esp, 4
push ebx
call fcn.00421d8e
mov edx, dword [esp + 0x78]
add esp, 4
push edx
call fcn.00421d8e
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.00421d8e
mov edx, dword [esp + 0x104]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
add esp, 4
push eax
jmp 0x42108c
mov edi, dword [esp + 0x1dc]
jmp 0x421827
cmp byte [esp + 0x12], 0
jne 0x421795
push eax
call fcn.0041b1f0
lea esi, [esp + 0x64]
call fcn.00406870
mov edx, dword [esp + 0xf4]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0xd8]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x78]
add esp, 4
push edx
call fcn.00421d8e
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.00421d8e
mov edx, dword [esp + 0x104]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
add esp, 4
push eax
jmp 0x42108c
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.00421d8e
mov ecx, dword [esp + 0xd8]
add esp, 4
push ecx
call fcn.00421d8e
add esp, 4
push ebx
call fcn.00421d8e
mov edx, dword [esp + 0x78]
add esp, 4
push edx
call fcn.00421d8e
mov ebx, dword [esp + 0x48]
add esp, 4
test edi, edi
je 0x42197f
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x64]
call fcn.00406870
mov ecx, dword [esp + 0xc8]
mov esi, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [esp + 0xc8]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x104]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
add esp, 4
push ebx
call edx
lea eax, [esp + 0x64]
push eax
call fcn.0041e9a0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x50]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x9c]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xa8]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0xc0]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x84]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x90]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
call fcn.00421d8e
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00421d7f
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x64]
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.00421d8e
mov ecx, dword [esp + 0x104]
add esp, 4
push ecx
call fcn.00421d8e
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 + 0x38]
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xa8]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x5c]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0xc0]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0x84]
add esp, 4
push edx
call fcn.00421d8e
mov eax, dword [esp + 0x90]
add esp, 4
push eax
call fcn.00421d8e
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
call fcn.00421d8e
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
call fcn.00421d8e
mov ecx, dword [esp + 0x348]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00421d7f
mov esp, ebp
pop ebp
ret 0x10