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

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x318
mov eax, dword [0x42d330]
xor eax, ebp
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x70]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xb8], ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [0x43063c], eax
lea eax, [ebp - 0xb0]
mov esi, 0x114
push eax
mov dword [ebp - 0xb0], esi
call edi
test eax, eax
je 0x413fb2
cmp dword [ebp - 0xa0], 2
je 0x413fd5
push dword [0x430680]
push ebx
call fcn.00411936
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x64]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416b12
add ebp, 0x68
leave
ret 0x10
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00413849
push esi
mov dword [0x430640], eax
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.00417d60
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0xb0], esi
call edi
cmp dword [ebp - 0xac], 6
jne 0x414035
cmp dword [ebp - 0xa8], ebx
jne 0x414025
call fcn.004138be
cmp dword [ebp - 0xac], 6
jne 0x414035
cmp dword [ebp - 0xa8], 1
jae 0x414037
cmp dword [ebp - 0xac], 6
jbe 0x41403c
call fcn.00413a48
lea ecx, [ebp - 0x1e4]
call fcn.0040320a
lea ecx, [ebp - 0xdc]
call fcn.0040320a
lea ecx, [ebp - 0x1a8]
call fcn.0040320a
lea ecx, [ebp - 0x19c]
call fcn.0040320a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00401647
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004088cf
push dword [ebp - 0xd0]
call fcn.00408bfb
pop ecx
push 0x11
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
mov ecx, 0x430644
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
push 0x12
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
mov ecx, 0x430650
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
push 0x16
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
mov ecx, 0x43065c
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
push 0x17
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
mov ecx, 0x430668
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
push 0xf
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
mov ecx, 0x430674
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
push 0xc
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
mov ecx, 0x430698
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
push 0x18
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
mov ecx, 0x4306a4
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
push 0x10
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
mov ecx, 0x430680
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
push 0x10
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
mov ecx, 0x43068c
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
mov dword [esp], 0x2000
call fcn.00408bd0
lea ecx, [ebp - 0x174]
mov dword [ebp - 0xe0], eax
mov dword [esp], 0x423a68
call fcn.00401647
lea ecx, [ebp - 0x180]
call fcn.0040320a
mov esi, str.__k
push esi
push dword [ebp - 0xdc]
mov byte [ebp - 0xb1], bl
call fcn.00417fd5
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x414243
mov byte [ebp - 0xb1], 1
jmp 0x41428e
mov esi, 0x424440
push esi
push dword [ebp - 0xdc]
call fcn.00417fd5
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x41423a
mov esi, 0x424438
push esi
push dword [ebp - 0xdc]
call fcn.00417fd5
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jne 0x41428e
mov esi, 0x424430
push esi
push dword [ebp - 0xdc]
call fcn.00417fd5
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x4142bd
push esi
call fcn.00417dda
lea eax, [edi + eax*2]
pop ecx
cmp eax, ebx
je 0x4142bd
lea ecx, [ebp - 0x174]
push ecx
cmp byte [ebp - 0xb1], bl
je 0x4142b2
push 0x424428
jmp 0x4142b7
push 0x424420
push eax
call fcn.00413c44
cmp dword [ebp - 0x170], ebx
je 0x4142ef
push dword [ebp - 0x174]
push 0x1000
push dword [ebp - 0xe0]
call fcn.00417f66
add esp, 0xc
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x180]
call fcn.004090ca
push 0x424418
push dword [ebp - 0xdc]
call fcn.00417fd5
pop ecx
pop ecx
test eax, eax
jne 0x41434d
push 0x424410
push dword [ebp - 0xdc]
call fcn.00417fd5
pop ecx
pop ecx
test eax, eax
jne 0x41434d
push 0x424408
push dword [ebp - 0xdc]
call fcn.00417fd5
pop ecx
pop ecx
test eax, eax
jne 0x41434d
push 0x424400
push dword [ebp - 0xdc]
call fcn.00417fd5
pop ecx
pop ecx
mov byte [ebp - 0xe0], bl
test eax, eax
je 0x414354
mov byte [ebp - 0xe0], 1
lea ecx, [ebp - 0x15c]
call fcn.0040320a
lea eax, [ebp - 0x15c]
push eax
push dword [0x43063c]
call fcn.00409101
lea ecx, [ebp - 0xdc]
call fcn.0040898e
lea ecx, [ebp - 0xdc]
call fcn.00408968
mov al, byte [ebp - 0xe0]
push 0x4243f8
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 0xb1], al
mov dword [ebp - 0xb8], 3
call fcn.00401647
mov esi, eax
push 2
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00408730
push dword [esi]
push dword [eax]
call fcn.004089e5
test eax, eax
je 0x414413
push 0x4243f0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xb8], 0xf
call fcn.00401647
mov esi, eax
push 2
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00408730
push dword [esi]
push dword [eax]
call fcn.004089e5
mov byte [ebp - 0xb2], bl
test eax, eax
jne 0x41441a
mov byte [ebp - 0xb2], 1
test byte [ebp - 0xb8], 8
je 0x414436
push dword [ebp - 0xc4]
and dword [ebp - 0xb8], 0xfffffff7
call fcn.00408bfb
pop ecx
test byte [ebp - 0xb8], 4
je 0x414452
push dword [ebp - 0xd0]
and dword [ebp - 0xb8], 0xfffffffb
call fcn.00408bfb
pop ecx
test byte [ebp - 0xb8], 2
je 0x41446e
push dword [ebp - 0xfc]
and dword [ebp - 0xb8], 0xfffffffd
call fcn.00408bfb
pop ecx
test byte [ebp - 0xb8], 1
je 0x414483
push dword [ebp - 0x1b4]
call fcn.00408bfb
pop ecx
cmp byte [ebp - 0xb2], bl
je 0x4144d4
push 2
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 0xb1], 1
call fcn.00408826
push eax
lea ecx, [ebp - 0xdc]
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
lea ecx, [ebp - 0xdc]
call fcn.0040898e
lea ecx, [ebp - 0xdc]
call fcn.00408968
lea ecx, [ebp - 0x1c0]
call fcn.00408c69
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x1c0]
push eax
push str.___InstallEnd__
mov edx, str.___Install__UTF_8_
call fcn.00413ce0
test al, al
jne 0x414573
cmp byte [ebp - 0xb1], bl
jne 0x414513
push dword [0x430644]
push ebx
call fcn.00411936
push dword [ebp - 0x1c0]
call fcn.00408bfb
push dword [ebp - 0x15c]
call fcn.00408bfb
push dword [ebp - 0x180]
call fcn.00408bfb
push dword [ebp - 0x174]
call fcn.00408bfb
push dword [ebp - 0x19c]
call fcn.00408bfb
push dword [ebp - 0x1a8]
call fcn.00408bfb
push dword [ebp - 0xdc]
call fcn.00408bfb
push dword [ebp - 0x1e4]
call fcn.00408bfb
add esp, 0x20
jmp 0x413fbe
push 0x4243e8
lea ecx, [ebp - 0x150]
call fcn.00401647
lea ecx, [ebp - 0x118]
call fcn.0040320a
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0xe4], 1
cmp dword [ebp - 0x1bc], ebx
je 0x414915
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x1c0]
push eax
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], 4
mov dword [ebp - method.CObjectVector_struct_CTextConfigPair_.virtual_0], vtable.CObjectVector_struct_CTextConfigPair_.0
call fcn.00408e31
test al, al
jne 0x414682
cmp byte [ebp - 0xb1], bl
jne 0x4145fc
push dword [0x430650]
push ebx
call fcn.00411936
xor esi, esi
inc esi
lea ecx, [ebp - 0x144]
call fcn.00413b6d
push dword [ebp - 0x118]
call fcn.00408bfb
push dword [ebp - 0x150]
call fcn.00408bfb
push dword [ebp - 0x1c0]
call fcn.00408bfb
push dword [ebp - 0x15c]
call fcn.00408bfb
push dword [ebp - 0x180]
call fcn.00408bfb
push dword [ebp - 0x174]
call fcn.00408bfb
push dword [ebp - 0x19c]
call fcn.00408bfb
push dword [ebp - 0x1a8]
call fcn.00408bfb
push dword [ebp - 0xdc]
call fcn.00408bfb
push dword [ebp - 0x1e4]
call fcn.00408bfb
add esp, 0x28
mov eax, esi
jmp 0x413fc1
push str.Title
lea ecx, [ebp - 0xd0]
call fcn.00401647
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.00408df4
push dword [ebp - 0xd0]
call fcn.00408bfb
lea ecx, [ebp - 0xd0]
mov dword [esp], str.BeginPrompt
call fcn.00401647
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.00408df4
push dword [ebp - 0xd0]
call fcn.00408bfb
lea ecx, [ebp - 0xd0]
mov dword [esp], 0x4243b0
call fcn.00401647
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.00408df4
push dword [ebp - 0xd0]
call fcn.00408bfb
mov dword [esp], 0x4243a8
push dword [ebp - 0x1d8]
call fcn.004089e5
test eax, eax
jne 0x414741
mov byte [ebp - 0xe4], bl
push str.Directory
lea ecx, [ebp - 0xd0]
call fcn.00401647
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00408dbe
push dword [ebp - 0xd0]
mov esi, eax
call fcn.00408bfb
cmp esi, ebx
pop ecx
jl 0x41478e
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + esi*4]
add eax, 0xc
push eax
lea ecx, [ebp - 0x150]
call fcn.00408639
cmp dword [ebp - 0x1c8], ebx
je 0x4147df
cmp byte [ebp - 0xb1], bl
jne 0x4147df
push 0x24
push dword [ebp - 0x1b4]
push dword [ebp - 0x1cc]
push ebx
call edi
cmp eax, 6
je 0x4147df
push dword [ebp - 0x1d8]
call fcn.00408bfb
push dword [ebp - 0x1cc]
call fcn.00408bfb
push dword [ebp - 0x1b4]
call fcn.00408bfb
add esp, 0xc
xor esi, esi
jmp 0x4145ff
push str.RunProgram
lea ecx, [ebp - 0xd0]
call fcn.00401647
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00408df4
push eax
lea ecx, [ebp - 0x118]
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
push dword [ebp - 0xd0]
call fcn.00408bfb
pop ecx
pop ecx
push str.ExecuteFile
lea ecx, [ebp - 0xd0]
call fcn.00401647
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00408df4
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
push dword [ebp - 0xd0]
call fcn.00408bfb
pop ecx
pop ecx
push str.ExecuteParameters
lea ecx, [ebp - 0xd0]
call fcn.00401647
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00408df4
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004096a4
push eax
lea ecx, [ebp - 0x19c]
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
push dword [ebp - 0xfc]
call fcn.00408bfb
push dword [ebp - 0xd0]
call fcn.00408bfb
push dword [ebp - 0x1d8]
call fcn.00408bfb
push dword [ebp - 0x1cc]
call fcn.00408bfb
push dword [ebp - 0x1b4]
call fcn.00408bfb
add esp, 0x18
lea ecx, [ebp - 0x144]
call fcn.00413b6d
lea ecx, [ebp - 0x108]
mov byte [ebp - 0x10c], bl
call fcn.0040320a
push dword [0x42d24c]
lea ecx, [ebp - 0x10c]
call fcn.004113e5
test al, al
jne 0x414962
cmp byte [ebp - 0xb1], bl
jne 0x41494f
push dword [0x43065c]
push ebx
call fcn.00411936
lea ecx, [ebp - 0x10c]
call fcn.00413a1f
xor esi, esi
inc esi
jmp 0x41460a
push 0x1c
call fcn.00408bd0
pop ecx
cmp eax, ebx
je 0x414979
mov ecx, eax
call fcn.00413ea3
mov esi, eax
jmp 0x41497b
xor esi, esi
push esi
lea ecx, [ebp - 0xb8]
call fcn.0040222c
mov ecx, esi
call fcn.004118a7
test eax, eax
je 0x4149b8
cmp byte [ebp - 0xb1], bl
jne 0x4149a6
push dword [0x43068c]
push ebx
call fcn.00411936
mov eax, dword [ebp - 0xb8]
cmp eax, ebx
je 0x41494f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41494f
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x130]
call fcn.00404082
lea ecx, [ebp - 0x168]
mov byte [ebp - 0xb2], bl
call fcn.0040320a
push dword [ebp - 0xe0]
lea eax, [ebp - 0x180]
push eax
push 1
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0xb2]
push eax
push dword [ebp - 0xe4]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.004135e5
mov esi, eax
cmp esi, ebx
je 0x414afc
cmp byte [ebp - 0xb1], bl
jne 0x414adf
cmp esi, 1
je 0x414a35
cmp byte [ebp - 0xb2], bl
je 0x414a60
push 0xf
lea eax, [ebp - 0xc4]
push eax
call fcn.0040c825
push eax
lea ecx, [ebp - 0x168]
call fcn.00408639
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
mov esi, 0x80004005
cmp esi, 0x80004004
je 0x414adf
push 0xa
lea eax, [ebp - 0xc4]
push eax
cmp dword [ebp - 0x164], ebx
je 0x414a90
call fcn.0040c825
push 0x12010
push dword [eax]
push dword [ebp - 0x168]
push ebx
call edi
jmp 0x414ad3
call fcn.0040c825
mov eax, dword [eax]
push 0x12010
push eax
lea ecx, [ebp - 0x190]
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x184], ebx
call fcn.0041397a
push eax
push ebx
call edi
lea ecx, [ebp - 0x190]
call fcn.00413802
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
push dword [ebp - 0x168]
call fcn.00408bfb
push dword [ebp - 0x130]
call fcn.00408bfb
pop ecx
pop ecx
jmp 0x4149a6
push dword [ebp - 0x168]
call fcn.00408bfb
pop ecx
lea ecx, [ebp - 0xf0]
call fcn.00413e7b
push dword [ebp - 0x108]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call esi
test eax, eax
jne 0x414b35
push dword [ebp - 0xf0]
call esi
push dword [ebp - 0xf0]
jmp 0x414ae5
cmp dword [ebp - 0x1a4], ebx
je 0x414c35
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00404082
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0x220], 0x3c
mov dword [ebp - 0x21c], 0x140
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], edi
cmp dword [ebp - 0xd8], ebx
je 0x414b99
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x19c]
call fcn.00408fde
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x124]
call fcn.00404082
mov eax, dword [ebp - 0x120]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x124]
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x204], 1
mov dword [ebp - 0x1e8], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x200], 0x20
ja 0x414c19
cmp byte [ebp - 0xb1], bl
jne 0x414c01
push dword [0x430698]
push ebx
call fcn.00411936
push dword [ebp - 0x124]
call fcn.00408bfb
push edi
call fcn.00408bfb
pop ecx
pop ecx
jmp 0x414b25
push dword [ebp - 0x124]
mov edi, dword [ebp - 0x1e8]
call fcn.00408bfb
push dword [ebp - 0xd0]
jmp 0x414f32
cmp dword [ebp - 0x114], ebx
jne 0x414c79
push str.setup.exe
lea ecx, [ebp - 0x118]
call fcn.004090ca
push dword [ebp - 0x118]
call fcn.00409421
test al, al
jne 0x414c79
cmp byte [ebp - 0xb1], bl
jne 0x414b25
push dword [0x4306a4]
push ebx
call fcn.00411936
jmp 0x414b25
lea ecx, [ebp - 0x124]
call fcn.0040320a
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x15c]
call fcn.00410d94
test al, al
jne 0x414cd5
lea ecx, [ebp - 0xfc]
call fcn.0040320a
lea eax, [ebp - 0xfc]
push eax
push dword [ebp - 0x15c]
call fcn.00410d94
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x124]
call fcn.00408639
push dword [ebp - 0xfc]
call fcn.00408bfb
pop ecx
push 0x424324
push dword [ebp - 0x118]
call fcn.00417fd5
pop ecx
pop ecx
test eax, eax
je 0x414d5c
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x150]
call fcn.00408639
lea eax, [ebp - 0x150]
push eax
call fcn.004099df
push 0x423a68
lea ecx, [ebp - 0xc4]
call fcn.00401647
push 0x424318
lea ecx, [ebp - 0xfc]
call fcn.00401647
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x118]
call fcn.0040c8c5
push dword [ebp - 0xfc]
call fcn.00408bfb
push dword [ebp - 0xc4]
call fcn.00408bfb
pop ecx
pop ecx
jmp 0x414d70
cmp dword [ebp - 0x14c], ebx
je 0x414d70
lea eax, [ebp - 0x150]
push eax
call fcn.004099df
cmp dword [ebp - 0xd8], ebx
je 0x414d97
push 0x20
lea ecx, [ebp - 0x118]
call fcn.00408670
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x118]
call fcn.00408fde
xor eax, eax
mov word [ebp - 0x27e], ax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x26c]
push eax
mov dword [ebp - 0x2b0], 0x44
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x27c], ebx
call fcn.004096a4
push 0x424314
lea ecx, [ebp - 0x18c]
mov edi, eax
call fcn.00401647
push eax
lea eax, [ebp - 0x180]
push eax
push str.___k_
lea ecx, [ebp - 0x248]
call fcn.00401647
push eax
lea eax, [ebp - 0x124]
push eax
push 0x4242f8
lea ecx, [ebp - 0x254]
call fcn.00401647
push eax
push edi
lea eax, [ebp - 0x260]
push eax
call fcn.004096a4
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.004096a4
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.004096a4
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004096a4
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004096a4
push dword [ebp - 0xc4]
call fcn.00408bfb
push dword [ebp - 0xfc]
call fcn.00408bfb
push dword [ebp - 0x23c]
call fcn.00408bfb
push dword [ebp - 0x260]
call fcn.00408bfb
push dword [ebp - 0x26c]
call fcn.00408bfb
push dword [ebp - 0x254]
call fcn.00408bfb
push dword [ebp - 0x248]
call fcn.00408bfb
push dword [ebp - 0x18c]
call fcn.00408bfb
add esp, 0x20
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp - 0x108]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xd0]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x414f0f
cmp byte [ebp - 0xb1], bl
jne 0x414ef9
push ebx
call fcn.004119f6
push dword [ebp - 0xd0]
call fcn.00408bfb
push dword [ebp - 0x124]
jmp 0x414c0d
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xd0]
mov edi, dword [ebp - 0x230]
call fcn.00408bfb
push dword [ebp - 0x124]
call fcn.00408bfb
pop ecx
pop ecx
cmp edi, ebx
je 0x414fa3
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xe4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xf0]
mov edi, dword [ebp - 0xe4]
call esi
push dword [ebp - 0xf0]
call fcn.00408bfb
push dword [ebp - 0x130]
call fcn.00408bfb
mov eax, dword [ebp - 0xb8]
pop ecx
pop ecx
cmp eax, ebx
je 0x414f91
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10c]
call fcn.00413a1f
mov esi, edi
jmp 0x41460a
push dword [ebp - 0xf0]
call esi
push dword [ebp - 0xf0]
call fcn.00408bfb
push dword [ebp - 0x130]
call fcn.00408bfb
mov eax, dword [ebp - 0xb8]
pop ecx
pop ecx
cmp eax, ebx
je 0x414fd3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10c]
call fcn.00413a1f
xor esi, esi
jmp 0x41460a