Function at 0x41f2c0
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, 0x2e4
mov eax, dword [0x437024]
xor eax, esp
mov dword [esp + 0x2e0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x50], edi
mov dword [0x439d44], eax
call fcn.0041e660
test al, al
jne 0x41f33f
mov esi, dword [0x43c140]
lea eax, [edi + 0xa]
lea ecx, [esp + 0x1c]
call fcn.0041b000
mov eax, dword [esp + 0x1c]
push 0x12010
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00420d1e
add esp, 4
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420d0f
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0041e740
push 0x114
lea edx, [esp + 0x1d4]
push edi
push edx
mov dword [0x43c018], eax
call fcn.00426390
add esp, 0xc
lea eax, [esp + 0x1d0]
push eax
mov dword [esp + 0x1d4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x1d4]
cmp eax, 6
jne 0x41f3b1
cmp dword [esp + 0x1d8], edi
jne 0x41f3a5
call fcn.0041ea50
mov eax, dword [esp + 0x1d4]
cmp eax, 6
jne 0x41f3b1
cmp dword [esp + 0x1d8], 1
jae 0x41f3b3
jmp 0x41f3b8
jbe 0x41f3b8
call fcn.0041eb00
push 4
lea esi, [esp + 0xbc]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], edi
call fcn.00404e60
push 4
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00404e60
push 4
lea esi, [esp + 0x88]
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
call fcn.00404e60
push 4
lea esi, [esp + 0x64]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
call fcn.00404e60
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
lea eax, [esp + 0x1c]
call fcn.00404b30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x20]
call fcn.00404850
mov edx, dword [esp + 0x1c]
push edx
call fcn.00420d1e
add esp, 4
mov eax, 0x11
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c104
call fcn.00404be0
mov eax, dword [esp + 0x10]
push eax
call fcn.00420d1e
add esp, 4
mov eax, 0x12
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c110
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420d1e
add esp, 4
mov eax, 0x16
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c11c
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420d1e
add esp, 4
mov eax, 0x17
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c128
call fcn.00404be0
mov eax, dword [esp + 0x10]
push eax
call fcn.00420d1e
add esp, 4
mov eax, 0xf
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c134
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420d1e
add esp, 4
mov eax, 0xc
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c158
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420d1e
add esp, 4
mov eax, 0x18
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c164
call fcn.00404be0
mov eax, dword [esp + 0x10]
push eax
call fcn.00420d1e
add esp, 4
mov eax, 0x10
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c140
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420d1e
add esp, 4
mov eax, 0x10
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c14c
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420d1e
add esp, 4
push 0x2000
call fcn.00420dfb
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
jne 0x41f5e8
xor al, al
mov byte [esp + 0xf], al
push 0x433bc0
lea eax, [esp + 0x13]
push eax
call fcn.0042a275
mov ebx, 0x430678
lea eax, [esp + 0xac]
call fcn.00404b30
xor edi, edi
push 4
lea esi, [esp + 0x7c]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call fcn.00404e60
mov esi, dword [esp + 0x28]
push 0x430c0c
push esi
xor bl, bl
call fcn.00421871
add esp, 8
cmp eax, edi
je 0x41f637
mov bl, 1
add eax, 8
jmp 0x41f677
push str.__k
push esi
call fcn.00421871
add esp, 8
cmp eax, edi
je 0x41f650
mov bl, 1
add eax, 8
jmp 0x41f677
push 0x430c24
push esi
call fcn.00421871
add esp, 8
cmp eax, edi
jne 0x41f674
push 0x430c2c
push esi
call fcn.00421871
add esp, 8
cmp eax, edi
je 0x41f6a1
add eax, 6
cmp eax, edi
je 0x41f6a1
test bl, bl
je 0x41f68e
lea ecx, [esp + 0xac]
push ecx
push 0x430c34
jmp 0x41f69b
lea edx, [esp + 0xac]
push edx
push 0x430c3c
push eax
call fcn.0041e8d0
cmp dword [esp + 0xb0], edi
je 0x41f6cf
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0x40]
push eax
push 0x1000
push ebx
call fcn.004217d6
add esp, 0xc
lea eax, [esp + 0x78]
call fcn.004064b0
xor edi, edi
push 0x430c44
push esi
call fcn.00421871
add esp, 8
test eax, eax
jne 0x41f71b
push 0x430c4c
push esi
call fcn.00421871
add esp, 8
test eax, eax
jne 0x41f71b
push 0x430c54
push esi
call fcn.00421871
add esp, 8
test eax, eax
jne 0x41f71b
push 0x430c5c
push esi
call fcn.00421871
add esp, 8
test eax, eax
jne 0x41f71b
xor bl, bl
jmp 0x41f71d
mov bl, 1
push 4
lea esi, [esp + 0x94]
mov byte [esp + 0x100], bl
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
call fcn.00404e60
call fcn.00406430
lea ecx, [esp + 0x10]
push ecx
call fcn.00405070
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.00404fd0
mov eax, dword [esp + 0x10]
push eax
call fcn.00420d1e
add esp, 4
lea ecx, [esp + 0x10]
push ecx
call fcn.00405070
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.00404f50
mov eax, dword [esp + 0x10]
push eax
call fcn.00420d1e
mov byte [esp + 0x12], bl
add esp, 4
mov ebx, 0x430c64
lea eax, [esp + 0xc4]
mov dword [esp + 0x50], 3
call fcn.00404b30
mov edi, eax
mov ecx, 2
lea esi, [esp + 0xdc]
lea eax, [esp + 0x28]
call fcn.00404de0
mov ecx, dword [edi]
mov edx, dword [eax]
push ecx
push edx
call fcn.00405130
test eax, eax
je 0x41f813
mov ebx, 0x430c6c
lea eax, [esp + 0x1c]
mov dword [esp + 0x50], 0xf
call fcn.00404b30
mov edi, eax
mov ecx, 2
lea esi, [esp + 0x10]
lea eax, [esp + 0x28]
call fcn.00404de0
mov ecx, dword [edi]
mov edx, dword [eax]
push ecx
push edx
call fcn.00405130
mov byte [esp + 0xf], 0
test eax, eax
jne 0x41f818
mov byte [esp + 0xf], 1
mov ebx, dword [esp + 0x50]
test bl, 8
je 0x41f831
mov eax, dword [esp + 0x10]
push eax
and ebx, 0xfffffff7
call fcn.00420d1e
add esp, 4
test bl, 4
je 0x41f846
mov ecx, dword [esp + 0x1c]
push ecx
and ebx, 0xfffffffb
call fcn.00420d1e
add esp, 4
test bl, 2
je 0x41f85e
mov edx, dword [esp + 0xdc]
push edx
and ebx, 0xfffffffd
call fcn.00420d1e
add esp, 4
test bl, 1
je 0x41f873
mov eax, dword [esp + 0xc4]
push eax
call fcn.00420d1e
add esp, 4
cmp byte [esp + 0xf], 0
je 0x41f8b2
mov eax, 2
lea esi, [esp + 0x10]
lea edx, [esp + 0x28]
mov byte [esp + 0xe], 1
call fcn.00404ca0
mov edi, eax
lea eax, [esp + 0x28]
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420d1e
add esp, 4
lea esi, [esp + 0x28]
call fcn.00404e00
xor eax, eax
lea ebx, [eax + 4]
lea esi, [esp + 0x6c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
call fcn.00405390
mov edi, dword [esp + 0x90]
push edi
mov edx, esi
call fcn.0041ec10
test al, al
jne 0x41f97e
cmp byte [esp + 0xe], al
jne 0x41f8f5
mov edx, dword [0x43c104]
push edx
call fcn.0041e6d0
mov eax, dword [esp + 0x6c]
push eax
call fcn.00420d1e
add esp, 4
push edi
call fcn.00420d1e
mov ecx, dword [esp + 0x7c]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0xb0]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x64]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x88]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xbc]
add esp, 4
push eax
call fcn.00420d1e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420d0f
mov esp, ebp
pop ebp
ret 0x10
mov ebx, 0x430c74
lea eax, [esp + 0x54]
call fcn.00404b30
xor ebx, ebx
push 4
lea esi, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00404e60
mov byte [esp + 0x40], 1
cmp dword [esp + 0x70], ebx
je 0x41fdca
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], 4
mov dword [esp + 0xf0], vtable.CObjectVector_struct_CTextConfigPair_.0
call fcn.00405510
test al, al
jne 0x41faba
cmp byte [esp + 0xe], bl
jne 0x41fa0a
mov eax, dword [0x43c110]
push eax
call fcn.0041e6d0
lea ecx, [esp + 0xe8]
push ecx
call fcn.00420c40
mov edx, dword [esp + 0x34]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x70]
add esp, 4
push ecx
call fcn.00420d1e
add esp, 4
push edi
call fcn.00420d1e
mov edx, dword [esp + 0x7c]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xb0]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x88]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xbc]
add esp, 4
push ecx
call fcn.00420d1e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420d0f
mov esp, ebp
pop ebp
ret 0x10
mov ebx, str.Title
lea eax, [esp + 0x1c]
call fcn.00404b30
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xe8]
lea edx, [esp + 0x10]
call fcn.00405db0
mov edx, dword [esp + 0x1c]
push edx
call fcn.00420d1e
add esp, 4
mov ebx, str.BeginPrompt
lea eax, [esp + 0x1c]
call fcn.00404b30
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xe8]
lea edx, [esp + 0x44]
call fcn.00405db0
mov eax, dword [esp + 0x1c]
push eax
call fcn.00420d1e
add esp, 4
mov ebx, 0x430ca0
lea eax, [esp + 0x1c]
call fcn.00404b30
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xe8]
lea edx, [esp + 0xc4]
call fcn.00405db0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0xc8]
add esp, 4
push 0x430cb4
push edx
call fcn.00405130
test eax, eax
jne 0x41fb64
mov byte [esp + 0x40], al
mov ebx, str.Directory
lea eax, [esp + 0x1c]
call fcn.00404b30
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xec]
call fcn.00405d40
mov ecx, dword [esp + 0x1c]
push ecx
mov esi, eax
call fcn.00420d1e
add esp, 4
test esi, esi
jl 0x41fbb3
mov edx, dword [esp + 0xf4]
mov edi, dword [edx + esi*4]
add edi, 0xc
lea eax, [esp + 0x54]
call fcn.00404be0
mov edi, dword [esp + 0x90]
cmp dword [esp + 0x48], 0
mov esi, dword [esp + 0x10]
je 0x41fc99
cmp byte [esp + 0xe], 0
jne 0x41fc99
mov ebx, dword [esp + 0x44]
push 0x24
push esi
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x41fc99
mov eax, dword [esp + 0xc4]
push eax
call fcn.00420d1e
add esp, 4
push ebx
call fcn.00420d1e
add esp, 4
push esi
call fcn.00420d1e
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
call fcn.00420c40
mov edx, dword [esp + 0x34]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x70]
add esp, 4
push ecx
call fcn.00420d1e
add esp, 4
push edi
call fcn.00420d1e
mov edx, dword [esp + 0x7c]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xb0]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x88]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xbc]
add esp, 4
push ecx
jmp 0x420a9a
mov ebx, str.RunProgram
lea eax, [esp + 0x1c]
call fcn.00404b30
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xe8]
lea edx, [esp + 0x10]
call fcn.00405db0
mov edi, eax
lea eax, [esp + 0x34]
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call fcn.00420d1e
add esp, 4
mov ebx, str.ExecuteFile
lea eax, [esp + 0x1c]
call fcn.00404b30
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xe8]
lea edx, [esp + 0x10]
call fcn.00405db0
mov edi, eax
lea eax, [esp + 0x84]
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.00420d1e
add esp, 4
mov ebx, str.ExecuteParameters
lea eax, [esp + 0x1c]
call fcn.00404b30
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0xec]
lea edx, [esp + 0xe0]
call fcn.00405db0
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
call fcn.004078e0
mov edi, eax
lea eax, [esp + 0x60]
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xe0]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0xc8]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x48]
add esp, 4
push eax
call fcn.00420d1e
add esp, 4
push esi
call fcn.00420d1e
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
call fcn.00420c40
xor ebx, ebx
push 4
lea esi, [esp + 0xa4]
mov byte [esp + 0xa0], 0
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
call fcn.00404e60
cmp byte [esp + 0x9c], 0
je 0x41fe13
mov edx, esi
push edx
call fcn.00406f10
test al, al
sete al
mov byte [esp + 0x9c], al
lea edi, [esp + 0xa0]
call fcn.004077a0
mov byte [esp + 0x9c], al
test al, al
jne 0x41fef7
cmp byte [esp + 0xe], al
jne 0x41fe40
mov ecx, dword [0x43c11c]
push ecx
call fcn.0041e6d0
lea edx, [esp + 0x9c]
push edx
call fcn.0041e5f0
mov eax, dword [esp + 0x34]
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x58]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x70]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x94]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x7c]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0xb0]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x64]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x88]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xbc]
add esp, 4
push eax
call fcn.00420d1e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420d0f
mov esp, ebp
pop ebp
ret 0x10
push 0x1c
call fcn.00420dfb
mov ebx, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x50], ebx
cmp ebx, eax
jne 0x41ff22
push 0x433bc0
lea ecx, [esp + 0x13]
xor al, al
push ecx
mov byte [esp + 0x17], al
call fcn.0042a275
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.00418e60
test eax, eax
je 0x42002b
cmp byte [esp + 0xe], 0
jne 0x41ff6c
mov ecx, dword [0x43c14c]
push ecx
call fcn.0041e6d0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.0041e5f0
mov edx, dword [esp + 0x34]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x70]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x94]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xb0]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x88]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0xbc]
add esp, 4
push edx
call fcn.00420d1e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420d0f
mov esp, ebp
pop ebp
ret 0x10
lea edi, [esp + 0xa0]
lea eax, [esp + 0xc4]
call fcn.00404b90
xor eax, eax
push 4
lea esi, [esp + 0x48]
mov byte [esp + 0x13], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00404e60
mov eax, dword [esp + 0xfc]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x48]
mov edx, esi
push edx
lea eax, [esp + 0x1b]
push eax
push ecx
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0xa8]
push eax
push ebx
call fcn.0041dc60
mov edi, eax
test edi, edi
je 0x420238
cmp byte [esp + 0xe], 0
jne 0x42015c
cmp edi, 1
je 0x4200ad
cmp byte [esp + 0xf], 0
je 0x4200da
mov eax, 0xf
lea ecx, [esp + 0x10]
call fcn.0041b000
mov edi, eax
lea eax, [esp + 0x44]
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420d1e
add esp, 4
mov edi, 0x80004005
jmp 0x4200e2
cmp edi, 0x80004004
je 0x42015c
xor esi, esi
lea eax, [esi + 0xa]
lea ecx, [esp + 0x10]
call fcn.0041b000
push 0x12010
cmp dword [esp + 0x4c], esi
je 0x420111
mov edx, dword [eax]
mov eax, dword [esp + 0x48]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x420154
mov eax, dword [eax]
mov dword [esp + 0x108], edi
push eax
lea edi, [esp + 0x108]
mov dword [esp + method._com_error.virtual_0], vtable._com_error.0
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], esi
call fcn.0041e520
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, edi
call fcn.0041e4f0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420d1e
add esp, 4
mov eax, dword [esp + 0x44]
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xc8]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push ebx
call eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.0041e5f0
mov edx, dword [esp + 0x34]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x70]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x94]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xb0]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x88]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0xbc]
add esp, 4
push edx
call fcn.00420d1e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420d0f
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x44]
push eax
call fcn.00420d1e
add esp, 4
lea ecx, [esp + 0xd0]
push ecx
call fcn.0041f250
mov edx, dword [esp + 0xa0]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edx
call esi
test eax, eax
jne 0x42029d
mov eax, dword [esp + 0xd0]
push eax
call esi
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0xc8]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
add esp, 4
push ebx
call ecx
jmp 0x41fe40
cmp dword [esp + 0x88], 0
je 0x42046f
lea edi, [esp + 0x84]
lea eax, [esp + 0x44]
call fcn.00404b90
mov ecx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x110], 0x3c
mov dword [esp + 0x114], 0x140
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
cmp dword [esp + 0x2c], eax
je 0x420300
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x64]
call fcn.00406080
lea edi, [esp + 0x60]
lea eax, [esp + 0x1c]
call fcn.00404b90
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
neg eax
sbb eax, eax
and eax, esi
mov dword [esp + 0x124], eax
xor eax, eax
lea ecx, [esp + 0x110]
push ecx
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], 1
mov dword [esp + 0x14c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 0x130], 0x20
ja 0x420450
cmp byte [esp + 0xe], 0
jne 0x42036c
mov edx, dword [0x43c158]
push edx
call fcn.0041e6d0
push esi
call fcn.00420d1e
mov eax, dword [esp + 0x48]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xd4]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [esp + 0xd0]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xc8]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
add esp, 4
push ebx
call edx
lea eax, [esp + 0x9c]
push eax
call fcn.0041e5f0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x58]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x94]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x7c]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xb0]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x88]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xbc]
add esp, 4
push ecx
jmp 0x41fed3
mov edi, dword [esp + 0x148]
push esi
call fcn.00420d1e
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call fcn.00420d1e
jmp 0x4208a9
cmp dword [esp + 0x38], 0
jne 0x42057a
mov ebx, str.setup.exe
lea eax, [esp + 0x34]
call fcn.004064b0
mov eax, dword [esp + 0x34]
push eax
call fcn.00407bf0
test al, al
jne 0x42057a
cmp byte [esp + 0xe], al
jne 0x4204ac
mov ecx, dword [0x43c164]
push ecx
call fcn.0041e6d0
mov edx, dword [esp + 0xd0]
push edx
call esi
mov eax, dword [esp + 0xd0]
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xc8]
add esp, 4
push ecx
call fcn.00420d1e
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.0041e5f0
mov edx, dword [esp + 0x34]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x70]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x94]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xb0]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x88]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0xbc]
add esp, 4
push edx
jmp 0x41fed3
lea eax, [esp + 0x44]
xor ebx, ebx
call fcn.00404b10
mov edi, dword [esp + 0x90]
push edi
lea eax, [esp + 0x48]
call fcn.00407150
test al, al
jne 0x4205d3
lea eax, [esp + 0xdc]
call fcn.00404b10
push edi
lea eax, [esp + 0xe0]
call fcn.00407150
lea edi, [esp + 0xdc]
lea eax, [esp + 0x44]
call fcn.00404be0
mov eax, dword [esp + 0xdc]
push eax
call fcn.00420d1e
add esp, 4
mov ecx, dword [esp + 0x34]
push 0x430d38
push ecx
call fcn.00421871
add esp, 8
test eax, eax
je 0x42065e
lea edi, [esp + 0xc4]
lea eax, [esp + 0x54]
call fcn.00404be0
lea eax, [esp + 0x54]
call fcn.00408340
mov ebx, 0x430678
lea eax, [esp + 0x10]
call fcn.00404b30
mov ebx, str.__T_
lea eax, [esp + 0xdc]
call fcn.00404b30
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xe0]
push eax
lea esi, [esp + 0x3c]
call fcn.0041b1d0
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call fcn.00420d1e
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
add esp, 4
xor ebx, ebx
jmp 0x42066d
cmp dword [esp + 0x58], ebx
je 0x42066d
lea eax, [esp + 0x54]
call fcn.00408340
sub esp, 0xc
lea edi, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x4c], esp
call fcn.00404b90
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0041ef10
mov edi, eax
lea eax, [esp + 0x54]
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420d1e
add esp, 4
cmp dword [esp + 0x2c], ebx
je 0x4206c5
push 0x20
lea eax, [esp + 0x38]
call fcn.00404c30
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x38]
call fcn.00406080
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x174]
xor ecx, ecx
push eax
lea edi, [esp + 0x5c]
mov dword [esp + 0x190], 0x44
mov dword [esp + 0x194], ebx
mov dword [esp + 0x198], ebx
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x1bc], ebx
mov word [esp + 0x1c2], cx
mov dword [esp + 0x1c4], ebx
call fcn.004078e0
mov edi, eax
mov ebx, 0x430d4c
lea eax, [esp + 0x100]
call fcn.00404b30
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ebx, 0x430d50
lea eax, [esp + 0x154]
call fcn.00404b30
push eax
lea edx, [esp + 0x50]
push edx
mov ebx, str.__m_
lea eax, [esp + 0x168]
call fcn.00404b30
push eax
lea eax, [esp + 0x190]
push eax
call fcn.004078e0
lea ecx, [esp + 0x174]
push ecx
mov edi, eax
call fcn.004078e0
lea edx, [esp + 0xe8]
push edx
mov edi, eax
call fcn.004078e0
lea ecx, [esp + 0x18]
push ecx
mov edi, eax
call fcn.004078e0
lea edx, [esp + 0x20]
push edx
mov edi, eax
call fcn.004078e0
mov eax, dword [esp + 0x10]
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xe0]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x168]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x180]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x174]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x15c]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x150]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x104]
add esp, 4
push ecx
call fcn.00420d1e
mov ecx, dword [esp + 0xa4]
add esp, 4
lea edx, [esp + 0xe8]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x18c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x420879
cmp byte [esp + 0xe], al
jne 0x42085a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041b020
mov eax, dword [esp + 0x1c]
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
call fcn.00420d1e
add esp, 4
jmp 0x4204ac
mov eax, dword [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0xe8]
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call fcn.00420d1e
mov ebx, dword [esp + 0x54]
add esp, 4
test edi, edi
je 0x4209ca
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x9c]
call fcn.00406580
mov ecx, dword [esp + 0xd0]
mov esi, dword [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [esp + 0xd0]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xc8]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
add esp, 4
push ebx
call edx
lea eax, [esp + 0x9c]
push eax
call fcn.0041e5f0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x58]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x94]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x7c]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xb0]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x88]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xbc]
add esp, 4
push ecx
call fcn.00420d1e
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420d0f
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x9c]
call fcn.00406580
mov edx, dword [esp + 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [esp + 0xd0]
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xc8]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push ebx
call eax
mov ecx, esi
push ecx
call fcn.0041e5f0
mov edx, dword [esp + 0x34]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x70]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x94]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0xb0]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call fcn.00420d1e
mov eax, dword [esp + 0x88]
add esp, 4
push eax
call fcn.00420d1e
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call fcn.00420d1e
mov edx, dword [esp + 0xbc]
add esp, 4
push edx
call fcn.00420d1e
mov ecx, dword [esp + 0x2f0]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00420d0f
mov esp, ebp
pop ebp
ret 0x10