Function at 0x4258e8
Capabilities:
Link many functions at runtime
Move file
Set current directory

Disassembly:
mov eax, 0x42fc33
call fcn.0041f1a0
sub esp, 0x870
mov ecx, dword [ebp + 0x14]
mov eax, dword [0x440200]
mov dword [ebp - 0x840], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x82c], ecx
mov ecx, dword [ebp + 0x20]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x87c], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [esi + 0x14], ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x85c], eax
je 0x426125
cmp dword [eax + 0x14], ecx
je 0x426125
cmp dword [edi + 0x14], ecx
je 0x426125
push ebx
push edi
lea ecx, [ebp - 0x1a0]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
and dword [ebp - 4], 0
mov eax, dword [edi + 0x14]
push 8
pop ebx
cmp dword [edi + 0x18], ebx
jb 0x42596d
mov edi, dword [edi + 4]
jmp 0x425970
add edi, 4
cmp word [edi + eax*2 - 2], 0x5c
je 0x425989
push 0x4322f4
lea ecx, [ebp - 0x1a0]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp dword [ebp - 0x188], ebx
mov eax, dword [ebp - 0x19c]
mov byte [ebp - 4], 2
jae 0x4259bd
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x14c]
push ecx
push dword [ebp - 0x18c]
push eax
call fcn.004112de
mov eax, dword [ebp - 0x840]
mov ecx, dword [eax + 0x14]
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x4259e6
mov eax, dword [eax + 4]
jmp 0x4259e9
add eax, 4
lea edx, [ebp - 0x168]
push edx
push ecx
push eax
call fcn.004112de
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], ebx
mov dword [ebp - 0x834], eax
mov byte [ebp - 0x835], al
mov byte [ebp - 0x82d], al
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x858], eax
mov dword [ebp - 0x84c], eax
jb 0x425a3c
mov esi, dword [esi + 4]
jmp 0x425a3f
add esi, 4
lea eax, [ebp - 0x1d8]
push esi
push eax
call fcn.0040f615
pop ecx
pop ecx
cmp dword [ebp - 0x1c0], ebx
mov eax, dword [ebp - 0x1d4]
jae 0x425a62
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x828]
call fcn.0042560a
push 0x431b4c
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x425a8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x425d85
cmp dword [ebp - 0x82c], 0
je 0x425aad
push 0
push dword [ebp - 0x82c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x425e4a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.init
push edi
call esi
push str.uninit
push edi
mov ebx, eax
call esi
push str.create_new_task
push edi
mov dword [ebp - 0x848], eax
call esi
push str.delete_task
push edi
mov dword [ebp - 0x864], eax
call esi
push str.start_task
push edi
mov dword [ebp - 0x850], eax
call esi
push str.stop_task
push edi
mov dword [ebp - 0x874], eax
call esi
push str.get_failure_detail
push edi
mov dword [ebp - 0x854], eax
call esi
push str.query_task_info
push edi
mov dword [ebp - 0x870], eax
call esi
push str.create_continued_task
push edi
mov dword [ebp - 0x878], eax
call esi
push str.is_tempfile_exist
push edi
mov dword [ebp - 0x868], eax
call esi
push str.delete_tempfile
push edi
mov dword [ebp - 0x844], eax
call esi
push str.get_file_name
push edi
mov dword [ebp - 0x858], eax
call esi
push str.set_task_hub_type
push edi
mov dword [ebp - 0x84c], eax
call esi
push 0
mov dword [ebp - 0x86c], eax
call ebx
test eax, eax
jne 0x425d85
xor ebx, ebx
cmp dword [ebp - 0x82c], ebx
mov byte [ebp - 0x835], 1
je 0x425b97
push ebx
push dword [ebp - 0x82c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x425e4a
cmp byte [ebp + 0x24], 0
mov esi, 0x431d43
je 0x425cc7
mov eax, dword [ebp - 0x840]
cmp dword [eax + 0x14], ebx
je 0x425cc7
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00401679
add esp, 0xc
cmp dword [ebp - 0x118], 0x10
mov eax, dword [ebp - 0x12c]
mov byte [ebp - 4], 5
jae 0x425beb
lea eax, [ebp - 0x12c]
push dword [ebp - 0x11c]
push eax
call dword [ebp - 0x844]
cmp eax, ebx
je 0x425caf
cmp dword [ebp - 0x150], 0x10
mov eax, dword [ebp - 0x164]
jae 0x425c15
lea eax, [ebp - 0x164]
cmp dword [ebp - 0x134], 0x10
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x148]
jae 0x425c30
lea eax, [ebp - 0x148]
mov ebx, dword [ebp - 0x85c]
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x83c], eax
jb 0x425c4a
mov eax, dword [ebx + 4]
jmp 0x425c4d
lea eax, [ebx + 4]
lea edx, [ebp - 0x834]
push edx
push dword [ebp - 0x154]
push dword [ebp - 0x860]
push dword [ebp - 0x138]
push dword [ebp - 0x83c]
push 0
push esi
push 0
push esi
push ecx
push eax
call dword [ebp - 0x868]
cmp dword [ebp - 0x82c], 0
je 0x425cb5
push 0
push dword [ebp - 0x82c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x425cb5
lea ecx, [ebp - 0x130]
mov ebx, 0x3e3
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x425e4f
mov ebx, dword [ebp - 0x85c]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x425ccd
mov ebx, dword [ebp - 0x85c]
cmp dword [ebp - 0x834], 0
jne 0x425d64
cmp dword [ebp - 0x150], 0x10
mov eax, dword [ebp - 0x164]
jae 0x425cef
lea eax, [ebp - 0x164]
cmp dword [ebp - 0x134], 0x10
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x83c], eax
jae 0x425d0a
lea edx, [ebp - 0x148]
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x425d18
mov eax, dword [ebx + 4]
jmp 0x425d1b
lea eax, [ebx + 4]
lea ebx, [ebp - 0x834]
push ebx
push dword [ebp - 0x154]
xor ebx, ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x138]
push edx
push ebx
push esi
push ebx
push esi
push ecx
push eax
call dword [ebp - 0x864]
cmp eax, ebx
jne 0x425d85
cmp dword [ebp - 0x82c], ebx
je 0x425d64
push ebx
push dword [ebp - 0x82c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x425e4a
push dword [ebp + 0x1c]
push dword [ebp - 0x834]
call dword [ebp - 0x86c]
push dword [ebp - 0x834]
call dword [ebp - 0x874]
xor esi, esi
cmp eax, esi
je 0x425d8c
mov ebx, eax
jmp 0x425e4f
cmp dword [ebp - 0x82c], esi
mov byte [ebp - 0x82d], 1
je 0x425db0
push esi
push dword [ebp - 0x82c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x425e4a
mov ebx, dword [ebp - 0x87c]
lea eax, [ebp - 0x620]
push eax
push dword [ebp - 0x834]
call dword [ebp - 0x878]
cmp ebx, esi
je 0x425df0
mov eax, dword [ebp - 0x5f4]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x5f0]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x604]
mov dword [ebx], eax
mov eax, dword [ebp - 0x600]
mov dword [ebx + 4], eax
cmp dword [ebp - 0x620], 0xb
je 0x425e25
cmp dword [ebp - 0x620], 0xc
je 0x425e29
cmp dword [ebp - 0x82c], esi
je 0x425e1b
push esi
push dword [ebp - 0x82c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x425e4a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x425db6
xor ebx, ebx
jmp 0x425e4f
lea eax, [ebp - 0x83c]
push eax
push dword [ebp - 0x834]
mov dword [ebp - 0x83c], esi
call dword [ebp - 0x870]
mov ebx, dword [ebp - 0x83c]
jmp 0x425e4f
mov ebx, 0x3e3
lea ecx, [ebp - 0x184]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor esi, esi
cmp dword [ebp - 0x834], esi
mov byte [ebp - 4], 6
je 0x425ff8
cmp dword [ebp - 0x854], esi
je 0x425ff8
cmp dword [ebp - 0x850], esi
je 0x425ff8
cmp byte [ebp - 0x82d], 0
je 0x425e9a
push dword [ebp - 0x834]
call dword [ebp - 0x854]
cmp dword [ebp - 0x84c], esi
je 0x425ef8
mov esi, 0x104
push esi
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x83c], esi
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x834]
call dword [ebp - 0x84c]
test eax, eax
jne 0x425ef8
cmp dword [ebp - 0x83c], esi
jae 0x425ef8
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x184]
call dword [0x431390]
push dword [ebp - 0x834]
call dword [ebp - 0x850]
test ebx, ebx
mov esi, dword [ebp - 0x840]
jne 0x425fc4
cmp dword [esi + 0x14], ebx
je 0x425fca
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.00401679
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 4], 7
call fcn.00401679
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1bc]
push eax
mov byte [ebp - 4], 8
call dword [0x431294]
add esp, 0x20
test al, al
je 0x425fa4
cmp dword [ebp - 0x118], 0x10
mov ecx, dword [ebp - 0x12c]
jae 0x425f87
lea ecx, [ebp - 0x12c]
cmp dword [ebp - 0x1a4], 0x10
mov eax, dword [ebp - 0x1b8]
jae 0x425f9c
lea eax, [ebp - 0x1b8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esi + 0x14], 0
jne 0x425ff8
cmp dword [ebp - 0x170], 0
je 0x425ff8
cmp dword [ebp - 0x16c], 0x10
mov eax, dword [ebp - 0x180]
jae 0x425fe8
lea eax, [ebp - 0x180]
push esi
push dword [ebp - 0x170]
push eax
call fcn.00411296
add esp, 0xc
xor esi, esi
cmp ebx, esi
je 0x4260a1
cmp dword [ebp - 0x170], esi
je 0x4260a1
cmp dword [ebp - 0x844], esi
je 0x4260a1
cmp dword [ebp - 0x858], esi
je 0x4260a1
cmp byte [ebp + 0x28], 0
jne 0x4260a1
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00401679
add esp, 0xc
cmp dword [ebp - 0x118], 0x10
mov eax, dword [ebp - 0x12c]
mov byte [ebp - 4], 9
jae 0x42605e
lea eax, [ebp - 0x12c]
push dword [ebp - 0x11c]
push eax
call dword [ebp - 0x844]
test eax, eax
je 0x426091
cmp dword [ebp - 0x118], 0x10
mov eax, dword [ebp - 0x12c]
jae 0x426084
lea eax, [ebp - 0x12c]
push dword [ebp - 0x11c]
push eax
call dword [ebp - 0x858]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp byte [ebp - 0x835], 0
je 0x4260b8
cmp dword [ebp - 0x848], esi
je 0x4260b8
call dword [ebp - 0x848]
cmp edi, esi
je 0x4260c3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebx
pop ebx
jmp 0x42612a
mov eax, 0x132b3a1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.0041ef93
leave
ret