Function at 0x4176c0
Capabilities:
Create process on windows
Delete file
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4698db
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x48c9dc]
xor eax, esp
mov dword [esp + 0x4ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48c9dc]
xor eax, esp
push eax
lea eax, [esp + 0x4c4]
mov dword fs:[0], eax
xor ebx, ebx
push str.tools_bin_cdsZip
mov dword [esp + 0x4d0], ebx
call dword [sym.imp.cdsCommon.dll_cdsGetInstPath]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4177cd
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x88]
mov byte [esp + 0x4cc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push str.tools_bin_cdsZip
push 0x8d11
lea eax, [esp + 0x90]
push str.ORCAP
push eax
mov byte [esp + 0x4dc], 2
call fcn.004482f0
add esp, 0x10
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.MFC80.DLL_Ordinal_2322]
add esp, 8
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
mov edx, dword [0x48cc64]
mov esi, eax
push esi
push 0x47633c
push edx
call dword [sym.imp.MSVCR80.dll_fprintf]
push esi
push 0x47633c
call dword [sym.imp.MSVCR80.dll_printf]
add esp, 0x18
lea ecx, [esp + 0x88]
mov byte [esp + 0x4cc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x417b06
push 0x3ff
lea eax, [esp + 0xc5]
push ebx
push eax
mov byte [esp + 0xcc], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
push str.pstchip.dat
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4d0], 5
call dword [sym.imp.MFC80.DLL_Ordinal_784]
push str.pstxprt.dat
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_784]
push str.pstxnet.dat
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_784]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x4d0], 6
call fcn.00417630
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call fcn.00417630
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.00417630
push 0x47665c
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x4d0], 7
call fcn.00417630
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x4d8], ebx
mov byte [esp + 0x4cc], 8
je 0x4178fe
push str.pstngdefs.dcf
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x4d0], 9
call fcn.00417630
lea ecx, [esp + 0x14]
mov byte [esp + 0x4cc], 8
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x4d4]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.pstdedb.cdsz
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.MSVCR80.dll_sprintf]
push esi
lea eax, [esp + 0xc4]
push str._s___q__j_pstdedb.cdsz
push eax
call edi
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esp, 0xc
xor esi, esi
mov edi, edi
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x417979
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x417979
lea ecx, [ecx + esi*4]
call dword [sym.imp.MFC80.DLL_Ordinal_3397]
push eax
lea ecx, [esp + 0xc4]
push ecx
mov edx, ecx
push str._s__s
push edx
call edi
add esp, 0x10
add esi, 1
jmp 0x417940
push 0x44
lea eax, [esp + 0x48]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [esp + 0xe0]
push eax
push ebx
mov dword [esp + 0x6c], 0x44
mov dword [esp + 0x98], 1
mov word [esp + 0x9c], bx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
jne 0x417ac8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
mov bl, 0xa
lea ecx, [esp + 0xa4]
mov byte [esp + 0x4cc], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x8d12
lea ecx, [esp + 0xa8]
push str.ORCAP
push ecx
mov byte [esp + 0x4d8], 0xb
call fcn.00440990
add esp, 0xc
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_2322]
add esp, 8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
mov esi, eax
mov eax, dword [0x48cc64]
push esi
push 0x47633c
push eax
call dword [sym.imp.MSVCR80.dll_fprintf]
push esi
push 0x47633c
call dword [sym.imp.MSVCR80.dll_printf]
add esp, 0x18
lea ecx, [esp + 0xa4]
mov byte [esp + 0x4cc], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x34]
mov byte [esp + 0x4cc], 6
call fcn.00417220
lea ecx, [esp + 0x24]
call fcn.00417270
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x4d4]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor al, al
jmp 0x417b1f
mov ecx, dword [esp + 0x88]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x34]
mov byte [esp + 0x4cc], 6
call fcn.00417220
lea ecx, [esp + 0x24]
call fcn.00417270
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x4d4]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov al, 1
mov ecx, dword [esp + 0x4c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4ac]
xor ecx, esp
call fcn.0043f646
add esp, 0x4bc
ret