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

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x65c
mov eax, dword [0x431cb0]
xor eax, ebp
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x70]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [0x43500c], eax
lea eax, [ebp - 0xb0]
mov esi, 0x114
push eax
mov dword [ebp - 0xb0], esi
call edi
test eax, eax
je 0x418a72
cmp dword [ebp - 0xa0], 2
je 0x418a96
push dword [0x435050]
push 0
call fcn.0040de68
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x64]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a45b
add ebp, 0x68
leave
ret 0x10
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0041318f
call fcn.00418217
push esi
mov dword [0x435010], eax
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.0041c050
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0xb0], esi
call edi
cmp dword [ebp - 0xac], 6
jne 0x418afd
cmp dword [ebp - 0xa8], ebx
jne 0x418aed
call fcn.00418396
cmp dword [ebp - 0xac], 6
jne 0x418afd
cmp dword [ebp - 0xa8], 1
jae 0x418aff
cmp dword [ebp - 0xac], 6
jbe 0x418b04
call fcn.0041851f
lea ecx, [ebp - 0x4e0]
call fcn.00408f97
lea ecx, [ebp - 0x3d0]
call fcn.00408f97
lea ecx, [ebp - 0x494]
call fcn.00408f97
lea ecx, [ebp - 0x470]
call fcn.00408f97
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x3bc]
call fcn.00408fdd
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.00408a09
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
push 0x11
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
push eax
mov ecx, 0x435014
call fcn.0040908a
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
push 0x12
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
push eax
mov ecx, 0x435020
call fcn.0040908a
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
push 0x16
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
push eax
mov ecx, 0x43502c
call fcn.0040908a
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
push 0x17
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
push eax
mov ecx, 0x435038
call fcn.0040908a
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
push 0xf
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
push eax
mov ecx, 0x435044
call fcn.0040908a
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
push 0xc
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
push eax
mov ecx, 0x435068
call fcn.0040908a
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
push 0x18
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
push eax
mov ecx, 0x435074
call fcn.0040908a
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
push 0x10
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
push eax
mov ecx, 0x435050
call fcn.0040908a
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
push 0x10
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
push eax
mov ecx, 0x43505c
call fcn.0040908a
push dword [ebp - 0x3bc]
call fcn.004094ff
mov dword [esp], 0x2000
call fcn.004094d4
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x3d4], eax
mov dword [esp], 0x429858
call fcn.00408fdd
lea ecx, [ebp - 0x458]
call fcn.00408f97
mov esi, str.__k
push esi
push dword [ebp - 0x3d0]
mov byte [ebp - 0x3ad], bl
call fcn.0041c256
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x418d0b
mov byte [ebp - 0x3ad], 1
jmp 0x418d56
mov esi, 0x429b04
push esi
push dword [ebp - 0x3d0]
call fcn.0041c256
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x418d02
mov esi, 0x429afc
push esi
push dword [ebp - 0x3d0]
call fcn.0041c256
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x418d56
mov esi, 0x429af4
push esi
push dword [ebp - 0x3d0]
call fcn.0041c256
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x418d85
push esi
call fcn.0041cd8a
lea eax, [edi + eax*2]
pop ecx
cmp eax, ebx
je 0x418d85
lea ecx, [ebp - 0x488]
push ecx
cmp byte [ebp - 0x3ad], bl
je 0x418d7a
push 0x429aec
jmp 0x418d7f
push 0x429ae4
push eax
call fcn.004182fa
cmp dword [ebp - 0x484], ebx
je 0x418db7
push dword [ebp - 0x488]
push 0x1000
push dword [ebp - 0x3d4]
call fcn.0041ce78
add esp, 0xc
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x458]
call fcn.00409033
push 0x429adc
push dword [ebp - 0x3d0]
call fcn.0041c256
pop ecx
pop ecx
test eax, eax
jne 0x418e15
push 0x429ad4
push dword [ebp - 0x3d0]
call fcn.0041c256
pop ecx
pop ecx
test eax, eax
jne 0x418e15
push 0x429acc
push dword [ebp - 0x3d0]
call fcn.0041c256
pop ecx
pop ecx
test eax, eax
jne 0x418e15
push 0x429ac4
push dword [ebp - 0x3d0]
call fcn.0041c256
pop ecx
pop ecx
mov byte [ebp - 0x3d4], bl
test eax, eax
je 0x418e1c
mov byte [ebp - 0x3d4], 1
lea ecx, [ebp - 0x44c]
call fcn.00408f97
lea eax, [ebp - 0x44c]
push eax
call fcn.00409a53
lea ecx, [ebp - 0x3d0]
call fcn.00409362
lea ecx, [ebp - 0x3d0]
call fcn.00409329
mov al, byte [ebp - 0x3d4]
push 0x429ac0
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 0x3ad], al
call fcn.00408bea
test al, al
je 0x418e9b
mov eax, dword [ebp - 0x3d0]
add eax, 4
push eax
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 0x3ad], 1
call fcn.00409033
lea ecx, [ebp - 0x3d0]
call fcn.00409362
lea ecx, [ebp - 0x3d0]
call fcn.00409329
lea ecx, [ebp - 0x4bc]
call fcn.00408cf6
mov ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x4bc]
push eax
push str.___InstallEnd__
mov edx, str.___Install__UTF_8_
call fcn.00418613
test al, al
jne 0x418f3a
cmp byte [ebp - 0x3ad], bl
jne 0x418eda
push dword [0x435014]
push ebx
call fcn.0040de68
push dword [ebp - 0x4bc]
call fcn.004094ff
push dword [ebp - 0x44c]
call fcn.004094ff
push dword [ebp - 0x458]
call fcn.004094ff
push dword [ebp - 0x488]
call fcn.004094ff
push dword [ebp - 0x470]
call fcn.004094ff
push dword [ebp - 0x494]
call fcn.004094ff
push dword [ebp - 0x3d0]
call fcn.004094ff
push dword [ebp - 0x4e0]
call fcn.004094ff
add esp, 0x20
jmp 0x418a7f
push 0x429ab8
lea ecx, [ebp - 0x430]
call fcn.00408fdd
lea ecx, [ebp - 0x40c]
call fcn.00408f97
mov byte [ebp - 0x3e4], 1
cmp dword [ebp - 0x4b8], ebx
je 0x4192c4
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x4bc]
push eax
mov dword [ebp - 0x3f0], ebx
mov dword [ebp - 0x3ec], ebx
mov dword [ebp - 0x3e8], ebx
call fcn.00409697
test al, al
jne 0x41902f
cmp byte [ebp - 0x3ad], bl
jne 0x418fa9
push dword [0x435020]
push ebx
call fcn.0040de68
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x3f0]
call fcn.0040e487
push dword [ebp - 0x40c]
call fcn.004094ff
push dword [ebp - 0x430]
call fcn.004094ff
push dword [ebp - 0x4bc]
call fcn.004094ff
push dword [ebp - 0x44c]
call fcn.004094ff
push dword [ebp - 0x458]
call fcn.004094ff
push dword [ebp - 0x488]
call fcn.004094ff
push dword [ebp - 0x470]
call fcn.004094ff
push dword [ebp - 0x494]
call fcn.004094ff
push dword [ebp - 0x3d0]
call fcn.004094ff
push dword [ebp - 0x4e0]
call fcn.004094ff
add esp, 0x28
mov eax, ebx
jmp 0x418a82
push str.Title
lea ecx, [ebp - 0x3bc]
call fcn.00408fdd
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.0040965b
push dword [ebp - 0x3bc]
call fcn.004094ff
lea ecx, [ebp - 0x3bc]
mov dword [esp], str.BeginPrompt
call fcn.00408fdd
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.0040965b
push dword [ebp - 0x3bc]
call fcn.004094ff
lea ecx, [ebp - 0x3bc]
mov dword [esp], 0x429a80
call fcn.00408fdd
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x510]
push eax
call fcn.0040965b
push dword [ebp - 0x3bc]
call fcn.004094ff
mov dword [esp], 0x429a7c
push dword [ebp - 0x510]
call fcn.00408c33
test al, al
je 0x4190ee
mov byte [ebp - 0x3e4], bl
push str.Directory
lea ecx, [ebp - 0x3bc]
call fcn.00408fdd
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.00409629
push dword [ebp - 0x3bc]
mov esi, eax
call fcn.004094ff
cmp esi, ebx
pop ecx
jl 0x41913b
mov eax, dword [ebp - 0x3f0]
mov eax, dword [eax + esi*4]
add eax, 0xc
push eax
lea ecx, [ebp - 0x430]
call fcn.0040908a
cmp dword [ebp - 0x4c4], ebx
je 0x41918e
cmp byte [ebp - 0x3ad], bl
jne 0x41918e
push 0x24
push dword [ebp - 0x4ec]
push dword [ebp - 0x4c8]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x41918e
push dword [ebp - 0x510]
call fcn.004094ff
push dword [ebp - 0x4c8]
call fcn.004094ff
push dword [ebp - 0x4ec]
call fcn.004094ff
add esp, 0xc
jmp 0x418fac
push str.RunProgram
lea ecx, [ebp - 0x3bc]
call fcn.00408fdd
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0040965b
push eax
lea ecx, [ebp - 0x40c]
call fcn.0040908a
push dword [ebp - 0x418]
call fcn.004094ff
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
pop ecx
push str.ExecuteFile
lea ecx, [ebp - 0x3bc]
call fcn.00408fdd
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0040965b
push eax
lea ecx, [ebp - 0x494]
call fcn.0040908a
push dword [ebp - 0x418]
call fcn.004094ff
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
pop ecx
push str.ExecuteParameters
lea ecx, [ebp - 0x3bc]
call fcn.00408fdd
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.0040965b
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00408f45
push eax
lea ecx, [ebp - 0x470]
call fcn.0040908a
push dword [ebp - 0x418]
call fcn.004094ff
push dword [ebp - 0x47c]
call fcn.004094ff
push dword [ebp - 0x3bc]
call fcn.004094ff
push dword [ebp - 0x510]
call fcn.004094ff
push dword [ebp - 0x4c8]
call fcn.004094ff
push dword [ebp - 0x4ec]
call fcn.004094ff
add esp, 0x18
lea ecx, [ebp - 0x3f0]
call fcn.0040e487
lea ecx, [ebp - 0x3fc]
mov byte [ebp - 0x400], bl
call fcn.00408f97
push dword [0x431c34]
lea ecx, [ebp - 0x418]
push 0x5c
call fcn.00408fbb
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.00408f6c
push dword [eax]
lea ecx, [ebp - 0x400]
call fcn.0040a632
push dword [ebp - 0x3bc]
neg al
sbb al, al
inc al
mov byte [ebp - 0x3bd], al
call fcn.004094ff
push dword [ebp - 0x418]
call fcn.004094ff
pop ecx
pop ecx
cmp byte [ebp - 0x3bd], bl
je 0x419355
cmp byte [ebp - 0x3ad], bl
jne 0x419342
push dword [0x43502c]
push ebx
call fcn.0040de68
lea ecx, [ebp - 0x400]
call fcn.004181ee
xor ebx, ebx
inc ebx
jmp 0x418fb7
push 0x18
call fcn.004094d4
pop ecx
cmp eax, ebx
je 0x41936c
mov ecx, eax
call fcn.004189b9
mov esi, eax
jmp 0x41936e
xor esi, esi
push esi
lea ecx, [ebp - 0x3c4]
call fcn.0040d796
mov ecx, esi
call fcn.0040e7f8
test eax, eax
je 0x4193ab
cmp byte [ebp - 0x3ad], bl
jne 0x419399
push dword [0x43505c]
push ebx
call fcn.0040de68
mov eax, dword [ebp - 0x3c4]
cmp eax, ebx
je 0x419342
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x419342
lea eax, [ebp - 0x3fc]
push eax
lea ecx, [ebp - 0x43c]
call fcn.0040900b
lea ecx, [ebp - 0x464]
mov byte [ebp - 0x3bd], bl
call fcn.00408f97
push dword [ebp - 0x3d4]
lea eax, [ebp - 0x458]
push eax
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x3bd]
push eax
push dword [ebp - 0x3e4]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x44c]
push eax
push esi
call fcn.00417e9e
mov esi, eax
cmp esi, ebx
je 0x419525
cmp byte [ebp - 0x3ad], bl
jne 0x4194eb
cmp esi, edi
je 0x419429
cmp byte [ebp - 0x3bd], bl
je 0x41943c
lea eax, [ebp - 0x464]
push eax
push 0xf
call fcn.0040c27f
mov esi, 0x80004005
cmp esi, 0x80004004
je 0x4194eb
push 0xa
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040c16f
lea ecx, [ebp - 0x3e0]
call fcn.00408f97
cmp dword [ebp - 0x460], ebx
je 0x41947d
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0040908a
jmp 0x4194bb
lea ecx, [ebp - 0x4a4]
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
mov dword [ebp - 0x4a0], esi
mov dword [ebp - 0x49c], ebx
mov dword [ebp - 0x498], ebx
call fcn.0041847a
push eax
lea ecx, [ebp - 0x3e0]
call fcn.00409033
lea ecx, [ebp - 0x4a4]
call fcn.004181a7
push 0x12010
push dword [ebp - 0x3bc]
push dword [ebp - 0x3e0]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x3e0]
call fcn.004094ff
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
pop ecx
push dword [ebp - 0x464]
call fcn.004094ff
push dword [ebp - 0x43c]
call fcn.004094ff
mov eax, dword [ebp - 0x3c4]
pop ecx
pop ecx
cmp eax, ebx
je 0x419513
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x400]
call fcn.004181ee
mov ebx, edi
jmp 0x418fb7
push dword [ebp - 0x464]
call fcn.004094ff
pop ecx
lea ecx, [ebp - 0x424]
call fcn.00418436
push dword [ebp - 0x43c]
call fcn.00409f57
test al, al
jne 0x41955f
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x424]
jmp 0x4194f1
cmp dword [ebp - 0x490], ebx
je 0x419672
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x3bc]
call fcn.0040900b
mov eax, dword [ebp - 0x3bc]
mov dword [ebp - 0x564], 0x3c
mov dword [ebp - 0x560], 0x140
mov dword [ebp - 0x55c], ebx
mov dword [ebp - 0x558], ebx
mov dword [ebp - 0x554], eax
cmp dword [ebp - 0x3cc], ebx
je 0x4195ce
lea ecx, [ebp - 0x470]
call fcn.00409427
lea eax, [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x470]
call fcn.00409172
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0040900b
mov eax, dword [ebp - 0x3dc]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x54c], ebx
mov dword [ebp - 0x550], eax
lea eax, [ebp - 0x564]
push eax
mov dword [ebp - 0x548], edi
mov dword [ebp - 0x52c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x544], 0x20
ja 0x41964f
cmp byte [ebp - 0x3ad], bl
jne 0x419632
push dword [0x435068]
push ebx
call fcn.0040de68
push dword [ebp - 0x3e0]
call fcn.004094ff
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
pop ecx
jmp 0x41954b
push dword [ebp - 0x3e0]
mov esi, dword [ebp - 0x52c]
call fcn.004094ff
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
pop ecx
jmp 0x419c3a
cmp dword [ebp - 0x408], ebx
jne 0x4196b6
push str.setup.exe
lea ecx, [ebp - 0x40c]
call fcn.00409033
push dword [ebp - 0x40c]
call fcn.0040af5e
test al, al
jne 0x4196b6
cmp byte [ebp - 0x3ad], bl
jne 0x41954b
push dword [0x435074]
push ebx
call fcn.0040de68
jmp 0x41954b
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov esi, 0x104
push esi
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp - 0x44c]
call edi
test eax, eax
jne 0x4196fc
push esi
lea eax, [ebp - 0x3ac]
push eax
push dword [ebp - 0x44c]
call edi
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x1a4]
push esi
push eax
call fcn.0041ce78
add esp, 0xc
push 0x4299f8
push dword [ebp - 0x40c]
call fcn.0041c256
pop ecx
pop ecx
test eax, eax
je 0x419783
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x430]
call fcn.0040908a
lea eax, [ebp - 0x430]
push eax
call fcn.0040b3d4
push 0x429858
lea ecx, [ebp - 0x3e0]
call fcn.00408fdd
push str.__T_
lea ecx, [ebp - 0x3bc]
call fcn.00408fdd
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0x40c]
call fcn.0040946b
push dword [ebp - 0x3bc]
call fcn.004094ff
push dword [ebp - 0x3e0]
call fcn.004094ff
pop ecx
pop ecx
jmp 0x419797
cmp dword [ebp - 0x42c], ebx
je 0x419797
lea eax, [ebp - 0x430]
push eax
call fcn.0040b3d4
push 0x4299dc
lea ecx, [ebp - 0x3bc]
call fcn.00408fdd
lea eax, [ebp - 0x3bc]
push eax
sub esp, 0xc
lea eax, [ebp - 0x430]
mov ecx, esp
mov dword [ebp - 0x3e4], esp
push eax
call fcn.0040900b
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.004187aa
push eax
lea ecx, [ebp - 0x430]
call fcn.0040908a
push dword [ebp - 0x3e0]
call fcn.004094ff
push dword [ebp - 0x3bc]
call fcn.004094ff
pop ecx
pop ecx
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.00408f45
push eax
lea ecx, [ebp - 0x418]
call fcn.0040900b
push dword [ebp - 0x4b0]
call fcn.004094ff
lea ecx, [ebp - 0x504]
mov dword [esp], 0x4299d8
call fcn.00408fdd
push eax
lea eax, [ebp - 0x458]
push eax
mov edi, str.___k_
push edi
lea ecx, [ebp - 0x4f8]
call fcn.00408fdd
push eax
lea eax, [ebp - 0x1a4]
push eax
mov esi, str.__m_
push esi
lea ecx, [ebp - 0x528]
call fcn.00408fdd
push eax
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x51c]
push eax
call fcn.00408f45
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.00408f6c
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.00408f45
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.00408f45
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.00408f45
push dword [ebp - 0x4b0]
call fcn.004094ff
push dword [ebp - 0x3bc]
call fcn.004094ff
push dword [ebp - 0x3e0]
call fcn.004094ff
push dword [ebp - 0x51c]
call fcn.004094ff
push dword [ebp - 0x528]
call fcn.004094ff
push dword [ebp - 0x4f8]
call fcn.004094ff
push dword [ebp - 0x504]
call fcn.004094ff
add esp, 0x1c
cmp dword [ebp - 0x3cc], ebx
je 0x41992e
lea ecx, [ebp - 0x40c]
call fcn.0040941f
lea eax, [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x40c]
call fcn.00409172
xor eax, eax
mov word [ebp - 0x5c2], ax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x4b0]
push eax
mov dword [ebp - 0x5f4], 0x44
mov dword [ebp - 0x5f0], ebx
mov dword [ebp - 0x5ec], ebx
mov dword [ebp - 0x5e8], ebx
mov dword [ebp - 0x5c8], ebx
mov dword [ebp - 0x5c0], ebx
call fcn.00408f45
push 0x4299d8
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x3e4], eax
call fcn.00408fdd
push eax
lea eax, [ebp - 0x458]
push eax
push edi
lea ecx, [ebp - 0x3e0]
call fcn.00408fdd
push eax
lea eax, [ebp - 0x1a4]
push eax
push esi
lea ecx, [ebp - 0x3bc]
call fcn.00408fdd
push eax
push dword [ebp - 0x3e4]
lea eax, [ebp - 0x51c]
push eax
call fcn.00408f45
push eax
lea eax, [ebp - 0x528]
push eax
call fcn.00408f6c
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.00408f45
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.00408f45
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.00408f45
push dword [ebp - 0x504]
call fcn.004094ff
push dword [ebp - 0x4f8]
call fcn.004094ff
push dword [ebp - 0x528]
call fcn.004094ff
push dword [ebp - 0x51c]
call fcn.004094ff
push dword [ebp - 0x4b0]
call fcn.004094ff
push dword [ebp - 0x3bc]
call fcn.004094ff
push dword [ebp - 0x3e0]
call fcn.004094ff
push dword [ebp - 0x4a0]
call fcn.004094ff
add esp, 0x20
lea eax, [ebp - 0x5b0]
push eax
lea eax, [ebp - 0x5f4]
push eax
push dword [ebp - 0x3fc]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x4d4]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x419c04
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x419b9d
push 6
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x590], eax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp - 0x3fc]
mov dword [ebp - 0x588], eax
xor esi, esi
lea eax, [ebp - 0x5a0]
inc esi
push eax
mov dword [ebp - 0x5a0], 0x3c
mov dword [ebp - 0x59c], 0x4540
mov dword [ebp - 0x598], ebx
mov dword [ebp - 0x594], 0x4299b0
mov dword [ebp - 0x584], esi
mov dword [ebp - 0x568], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x580], 0x20
ja 0x419b95
cmp byte [ebp - 0x3ad], bl
jne 0x419b20
push ebx
call fcn.0040ded1
lea ecx, [ebp - 0x400]
call fcn.0040a60d
push dword [ebp - 0x4d4]
call fcn.004094ff
push dword [ebp - 0x47c]
call fcn.004094ff
push dword [ebp - 0x418]
call fcn.004094ff
add esp, 0xc
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x424]
call fcn.004094ff
push dword [ebp - 0x43c]
call fcn.004094ff
mov eax, dword [ebp - 0x3c4]
pop ecx
pop ecx
cmp eax, ebx
je 0x419b83
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x400]
call fcn.004181ee
mov ebx, esi
jmp 0x418fb7
mov esi, dword [ebp - 0x568]
jmp 0x419c16
cmp byte [ebp - 0x3ad], bl
jne 0x419bac
push eax
push ebx
call fcn.0040de9a
lea ecx, [ebp - 0x400]
call fcn.0040a60d
push dword [ebp - 0x4d4]
call fcn.004094ff
push dword [ebp - 0x47c]
call fcn.004094ff
push dword [ebp - 0x418]
call fcn.004094ff
add esp, 0xc
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x424]
call fcn.004094ff
push dword [ebp - 0x43c]
call fcn.004094ff
pop ecx
pop ecx
jmp 0x419399
push dword [ebp - 0x5ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x5b0]
push dword [ebp - 0x4d4]
call fcn.004094ff
push dword [ebp - 0x47c]
call fcn.004094ff
push dword [ebp - 0x418]
call fcn.004094ff
add esp, 0xc
mov dword [ebp - 0x440], ebx
cmp esi, ebx
je 0x419c62
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x440]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x400]
call fcn.0040a60d
mov esi, dword [ebp - 0x440]
jmp 0x419b4f