Function at 0x41f2d0
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.0041e5c0
test al, al
jne 0x41f34f
mov esi, dword [0x43c140]
lea eax, [edi + 0xa]
lea ecx, [esp + 0x1c]
call fcn.0041af50
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.00420dfe
add esp, 4
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420def
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0041e6a0
push 0x114
lea edx, [esp + 0x1d4]
push edi
push edx
mov dword [0x43c018], eax
call fcn.00426470
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 0x41f3c1
cmp dword [esp + 0x1d8], edi
jne 0x41f3b5
call fcn.0041e9b0
mov eax, dword [esp + 0x1d4]
cmp eax, 6
jne 0x41f3c1
cmp dword [esp + 0x1d8], 1
jae 0x41f3c3
jmp 0x41f3c8
jbe 0x41f3c8
call fcn.0041ea60
push 4
lea esi, [esp + 0xb0]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], 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 + 0x7c]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 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 + 0xb0]
lea edx, [esp + 0x20]
call fcn.00404850
mov edx, dword [esp + 0x1c]
push edx
call fcn.00420dfe
add esp, 4
mov eax, 0x11
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
mov eax, 0x43c104
call fcn.00404be0
mov eax, dword [esp + 0x10]
push eax
call fcn.00420dfe
add esp, 4
mov eax, 0x12
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
mov eax, 0x43c110
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420dfe
add esp, 4
mov eax, 0x16
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
mov eax, 0x43c11c
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420dfe
add esp, 4
mov eax, 0x17
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
mov eax, 0x43c128
call fcn.00404be0
mov eax, dword [esp + 0x10]
push eax
call fcn.00420dfe
add esp, 4
mov eax, 0xf
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
mov eax, 0x43c134
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420dfe
add esp, 4
mov eax, 0xc
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
mov eax, 0x43c158
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420dfe
add esp, 4
mov eax, 0x18
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
mov eax, 0x43c164
call fcn.00404be0
mov eax, dword [esp + 0x10]
push eax
call fcn.00420dfe
add esp, 4
mov eax, 0x10
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
mov eax, 0x43c140
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420dfe
add esp, 4
mov eax, 0x10
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
mov eax, 0x43c14c
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420dfe
add esp, 4
push 0x2000
call fcn.00420edb
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
jne 0x41f5f2
xor al, al
mov byte [esp + 0xf], al
push 0x433bd0
lea eax, [esp + 0x13]
push eax
call fcn.0042a355
mov ebx, 0x430678
lea eax, [esp + 0xb8]
call fcn.00404b30
xor edi, edi
push 4
lea esi, [esp + 0x70]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call fcn.00404e60
mov esi, dword [esp + 0x28]
push 0x430c0c
push esi
xor bl, bl
call fcn.00421951
add esp, 8
cmp eax, edi
je 0x41f63b
mov bl, 1
add eax, 8
jmp 0x41f67b
push str.__k
push esi
call fcn.00421951
add esp, 8
cmp eax, edi
je 0x41f654
mov bl, 1
add eax, 8
jmp 0x41f67b
push 0x430c24
push esi
call fcn.00421951
add esp, 8
cmp eax, edi
jne 0x41f678
push 0x430c2c
push esi
call fcn.00421951
add esp, 8
cmp eax, edi
je 0x41f6a5
add eax, 6
cmp eax, edi
je 0x41f6a5
test bl, bl
je 0x41f692
lea ecx, [esp + 0xb8]
push ecx
push 0x430c34
jmp 0x41f69f
lea edx, [esp + 0xb8]
push edx
push 0x430c3c
push eax
call fcn.0041e830
cmp dword [esp + 0xbc], edi
je 0x41f6d3
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0x40]
push eax
push 0x1000
push ebx
call fcn.004218b6
add esp, 0xc
lea eax, [esp + 0x6c]
call fcn.00406510
xor edi, edi
push 0x430c44
push esi
call fcn.00421951
add esp, 8
test eax, eax
jne 0x41f71f
push 0x430c4c
push esi
call fcn.00421951
add esp, 8
test eax, eax
jne 0x41f71f
push 0x430c54
push esi
call fcn.00421951
add esp, 8
test eax, eax
jne 0x41f71f
push 0x430c5c
push esi
call fcn.00421951
add esp, 8
test eax, eax
jne 0x41f71f
xor bl, bl
jmp 0x41f721
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.00406490
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.00420dfe
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.00420dfe
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 + 0xd0]
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 0x41f817
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 0x41f81c
mov byte [esp + 0xf], 1
mov ebx, dword [esp + 0x50]
test bl, 8
je 0x41f835
mov eax, dword [esp + 0x10]
push eax
and ebx, 0xfffffff7
call fcn.00420dfe
add esp, 4
test bl, 4
je 0x41f84a
mov ecx, dword [esp + 0x1c]
push ecx
and ebx, 0xfffffffb
call fcn.00420dfe
add esp, 4
test bl, 2
je 0x41f862
mov edx, dword [esp + 0xd0]
push edx
and ebx, 0xfffffffd
call fcn.00420dfe
add esp, 4
test bl, 1
je 0x41f877
mov eax, dword [esp + 0xc4]
push eax
call fcn.00420dfe
add esp, 4
cmp byte [esp + 0xf], 0
je 0x41f8b6
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.00420dfe
add esp, 4
lea esi, [esp + 0x28]
call fcn.00404e00
xor eax, eax
lea ebx, [eax + 4]
lea esi, [esp + 0x84]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
call fcn.00405390
mov edi, dword [esp + 0x90]
push edi
mov edx, esi
call fcn.0041eb70
test al, al
jne 0x41f98e
cmp byte [esp + 0xe], al
jne 0x41f905
mov edx, dword [0x43c104]
push edx
call fcn.0041e630
mov eax, dword [esp + 0x84]
push eax
call fcn.00420dfe
add esp, 4
push edi
call fcn.00420dfe
mov ecx, dword [esp + 0x70]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0xbc]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x64]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x7c]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0xb0]
add esp, 4
push eax
call fcn.00420dfe
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420def
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 + 0x88], ebx
je 0x41fddd
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x88]
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 0x41fad0
cmp byte [esp + 0xe], bl
jne 0x41fa20
mov eax, dword [0x43c110]
push eax
call fcn.0041e630
lea ecx, [esp + 0xe8]
push ecx
call fcn.00420c70
mov edx, dword [esp + 0x34]
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x88]
add esp, 4
push ecx
call fcn.00420dfe
add esp, 4
push edi
call fcn.00420dfe
mov edx, dword [esp + 0x70]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0xbc]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x7c]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xb0]
add esp, 4
push ecx
call fcn.00420dfe
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420def
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.00420dfe
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.00420dfe
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.00420dfe
mov edx, dword [esp + 0xc8]
add esp, 4
push 0x430cb4
push edx
call fcn.00405130
test eax, eax
jne 0x41fb7a
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.00420dfe
add esp, 4
test esi, esi
jl 0x41fbc9
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 0x41fcaf
cmp byte [esp + 0xe], 0
jne 0x41fcaf
mov ebx, dword [esp + 0x44]
push 0x24
push esi
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x41fcaf
mov eax, dword [esp + 0xc4]
push eax
call fcn.00420dfe
add esp, 4
push ebx
call fcn.00420dfe
add esp, 4
push esi
call fcn.00420dfe
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
call fcn.00420c70
mov edx, dword [esp + 0x34]
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x88]
add esp, 4
push ecx
call fcn.00420dfe
add esp, 4
push edi
call fcn.00420dfe
mov edx, dword [esp + 0x70]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0xbc]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x7c]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xb0]
add esp, 4
push ecx
jmp 0x420acc
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.00420dfe
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call fcn.00420dfe
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 + 0x78]
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.00420dfe
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 + 0xd4]
call fcn.00405db0
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
call fcn.00407940
mov edi, eax
lea eax, [esp + 0x60]
call fcn.00404be0
mov edx, dword [esp + 0x10]
push edx
call fcn.00420dfe
mov eax, dword [esp + 0xd4]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0xc8]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x48]
add esp, 4
push eax
call fcn.00420dfe
add esp, 4
push esi
call fcn.00420dfe
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
call fcn.00420c70
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 0x41fe26
mov edx, esi
push edx
call fcn.00406f70
test al, al
sete al
mov byte [esp + 0x9c], al
lea edi, [esp + 0xa0]
call fcn.00407800
mov byte [esp + 0x9c], al
test al, al
jne 0x41ff0a
cmp byte [esp + 0xe], al
jne 0x41fe53
mov ecx, dword [0x43c11c]
push ecx
call fcn.0041e630
lea edx, [esp + 0x9c]
push edx
call fcn.0041e550
mov eax, dword [esp + 0x34]
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x58]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x88]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x94]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x70]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0xbc]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x64]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x7c]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0xb0]
add esp, 4
push eax
call fcn.00420dfe
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420def
mov esp, ebp
pop ebp
ret 0x10
push 0x1c
call fcn.00420edb
mov ebx, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x50], ebx
cmp ebx, eax
jne 0x41ff35
push 0x433bd0
lea ecx, [esp + 0x13]
xor al, al
push ecx
mov byte [esp + 0x17], al
call fcn.0042a355
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.00418ec0
test eax, eax
je 0x42003e
cmp byte [esp + 0xe], 0
jne 0x41ff7f
mov ecx, dword [0x43c14c]
push ecx
call fcn.0041e630
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.0041e550
mov edx, dword [esp + 0x34]
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x88]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x94]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xbc]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0xb0]
add esp, 4
push edx
call fcn.00420dfe
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420def
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 + 0x70]
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.0041dbc0
mov edi, eax
test edi, edi
je 0x42024b
cmp byte [esp + 0xe], 0
jne 0x42016f
cmp edi, 1
je 0x4200c0
cmp byte [esp + 0xf], 0
je 0x4200ed
mov eax, 0xf
lea ecx, [esp + 0x10]
call fcn.0041af50
mov edi, eax
lea eax, [esp + 0x44]
call fcn.00404be0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00420dfe
add esp, 4
mov edi, 0x80004005
jmp 0x4200f5
cmp edi, 0x80004004
je 0x42016f
xor esi, esi
lea eax, [esi + 0xa]
lea ecx, [esp + 0x10]
call fcn.0041af50
push 0x12010
cmp dword [esp + 0x4c], esi
je 0x420124
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 0x420167
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.0041e480
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, edi
call fcn.0041e450
mov edx, dword [esp + 0x10]
push edx
call fcn.00420dfe
add esp, 4
mov eax, dword [esp + 0x44]
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xc8]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push ebx
call eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.0041e550
mov edx, dword [esp + 0x34]
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x88]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x94]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xbc]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0xb0]
add esp, 4
push edx
call fcn.00420dfe
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420def
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x44]
push eax
call fcn.00420dfe
add esp, 4
lea ecx, [esp + 0xdc]
push ecx
call fcn.0041f260
mov edx, dword [esp + 0xa0]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edx
call esi
test eax, eax
jne 0x4202b0
mov eax, dword [esp + 0xdc]
push eax
call esi
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0xc8]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
add esp, 4
push ebx
call ecx
jmp 0x41fe53
cmp dword [esp + 0x7c], 0
je 0x42047c
lea edi, [esp + 0x78]
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 0x42030d
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x64]
call fcn.004060e0
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 0x42045d
cmp byte [esp + 0xe], 0
jne 0x420379
mov edx, dword [0x43c158]
push edx
call fcn.0041e630
push esi
call fcn.00420dfe
mov eax, dword [esp + 0x48]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xe0]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [esp + 0xdc]
push edx
call fcn.00420dfe
mov eax, dword [esp + 0xc8]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
add esp, 4
push ebx
call edx
lea eax, [esp + 0x9c]
push eax
call fcn.0041e550
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x58]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x88]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x94]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x70]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0xbc]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x7c]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xb0]
add esp, 4
push ecx
jmp 0x41fee6
mov edi, dword [esp + 0x148]
push esi
call fcn.00420dfe
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call fcn.00420dfe
jmp 0x4208db
cmp dword [esp + 0x38], 0
jne 0x420587
mov ebx, str.setup.exe
lea eax, [esp + 0x34]
call fcn.00406510
mov eax, dword [esp + 0x34]
push eax
call fcn.00407c50
test al, al
jne 0x420587
cmp byte [esp + 0xe], al
jne 0x4204b9
mov ecx, dword [0x43c164]
push ecx
call fcn.0041e630
mov edx, dword [esp + 0xdc]
push edx
call esi
mov eax, dword [esp + 0xdc]
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xc8]
add esp, 4
push ecx
call fcn.00420dfe
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.0041e550
mov edx, dword [esp + 0x34]
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x88]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x94]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xbc]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0xb0]
add esp, 4
push edx
jmp 0x41fee6
lea eax, [esp + 0x44]
call fcn.00404b10
mov edi, dword [esp + 0x90]
push edi
lea eax, [esp + 0x48]
call fcn.004071b0
test al, al
jne 0x4205de
lea eax, [esp + 0xd0]
call fcn.00404b10
push edi
lea eax, [esp + 0xd4]
call fcn.004071b0
lea edi, [esp + 0xd0]
lea eax, [esp + 0x44]
call fcn.00404be0
mov eax, dword [esp + 0xd0]
push eax
call fcn.00420dfe
add esp, 4
mov ecx, dword [esp + 0x34]
push 0x430d38
push ecx
call fcn.00421951
add esp, 8
test eax, eax
je 0x420667
lea edi, [esp + 0xc4]
lea eax, [esp + 0x54]
call fcn.00404be0
lea eax, [esp + 0x54]
call fcn.004083a0
mov ebx, 0x430678
lea eax, [esp + 0x10]
call fcn.00404b30
mov ebx, str.__T_
lea eax, [esp + 0xd0]
call fcn.00404b30
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xd4]
push eax
lea esi, [esp + 0x3c]
call fcn.0041b120
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call fcn.00420dfe
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
add esp, 4
jmp 0x420677
cmp dword [esp + 0x58], 0
je 0x420677
lea eax, [esp + 0x54]
call fcn.004083a0
mov ebx, str.mia.lib
lea eax, [esp + 0x10]
call fcn.00404b30
lea eax, [esp + 0x10]
push eax
sub esp, 0xc
lea edi, [esp + 0x64]
mov eax, esp
mov dword [esp + 0x50], esp
call fcn.00404b90
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0xe4]
push edx
call fcn.0041ee70
mov edi, eax
lea eax, [esp + 0x54]
call fcn.00404be0
mov eax, dword [esp + 0xd0]
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call fcn.00420dfe
xor edi, edi
add esp, 4
cmp dword [esp + 0x2c], edi
je 0x4206f7
push 0x20
lea eax, [esp + 0x38]
call fcn.00404c30
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x38]
call fcn.004060e0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x15c]
mov dword [esp + 0x190], edi
mov dword [esp + 0x194], edi
mov dword [esp + 0x198], edi
mov dword [esp + 0x1b8], edi
xor eax, eax
mov dword [esp + 0x1c0], edi
push edx
lea edi, [esp + 0x5c]
mov dword [esp + 0x190], 0x44
mov word [esp + 0x1c2], ax
call fcn.00407940
mov edi, eax
mov ebx, 0x430d5c
lea eax, [esp + 0x100]
call fcn.00404b30
push eax
lea eax, [esp + 0x70]
push eax
mov ebx, 0x430d60
lea eax, [esp + 0x16c]
call fcn.00404b30
push eax
lea ecx, [esp + 0x50]
push ecx
mov ebx, str.__m_
lea eax, [esp + 0x180]
call fcn.00404b30
push eax
lea edx, [esp + 0x160]
push edx
call fcn.00407940
lea ecx, [esp + 0x18c]
push ecx
mov edi, eax
call fcn.00407940
lea edx, [esp + 0xdc]
push edx
mov edi, eax
call fcn.00407940
lea ecx, [esp + 0x18]
push ecx
mov edi, eax
call fcn.00407940
lea edx, [esp + 0x20]
push edx
mov edi, eax
call fcn.00407940
mov eax, dword [esp + 0x10]
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xd4]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x180]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x150]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x15c]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x174]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x168]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x104]
add esp, 4
push ecx
call fcn.00420dfe
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 0x4208ab
cmp byte [esp + 0xe], al
jne 0x42088c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041af70
mov eax, dword [esp + 0x1c]
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
call fcn.00420dfe
add esp, 4
jmp 0x4204b9
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.00420dfe
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call fcn.00420dfe
mov ebx, dword [esp + 0x54]
add esp, 4
test edi, edi
je 0x4209fc
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.004065e0
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [esp + 0xdc]
push edx
call fcn.00420dfe
mov eax, dword [esp + 0xc8]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
add esp, 4
push ebx
call edx
lea eax, [esp + 0x9c]
push eax
call fcn.0041e550
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x58]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x88]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x94]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x70]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0xbc]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x64]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x7c]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xb0]
add esp, 4
push ecx
call fcn.00420dfe
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.00420def
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x9c]
call fcn.004065e0
mov edx, dword [esp + 0xdc]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [esp + 0xdc]
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xc8]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push ebx
call eax
mov ecx, esi
push ecx
call fcn.0041e550
mov edx, dword [esp + 0x34]
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x58]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x88]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x94]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0xbc]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call fcn.00420dfe
mov eax, dword [esp + 0x7c]
add esp, 4
push eax
call fcn.00420dfe
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call fcn.00420dfe
mov edx, dword [esp + 0xb0]
add esp, 4
push edx
call fcn.00420dfe
mov ecx, dword [esp + 0x2f0]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00420def
mov esp, ebp
pop ebp
ret 0x10