Function at 0x410070
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41841e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push ebx
push esi
push edi
lea edi, [ebp - 0x1c0]
mov ecx, 0x6d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004033b2
add esp, 0xc
mov dword [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
push eax
call fcn.0040c964
add esp, 4
movzx eax, al
test eax, eax
jne 0x4100fe
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x2c]
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_]
cmp esi, esp
call fcn.0041512c
jmp 0x410497
call fcn.00401e5d
mov dword [ebp - 0x44], eax
mov esi, esp
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41012d
mov dword [ebp - 0x1b4], 0
jmp 0x410179
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041512c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 3
and eax, 0xfffffffc
call fcn.00414e70
mov dword [ebp - 0x1b8], esp
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x1b8]
push edx
call fcn.004071e3
mov dword [ebp - 0x1b4], eax
mov esi, esp
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4101a0
mov dword [ebp - 0x1bc], 0
jmp 0x4101ec
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041512c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 3
and eax, 0xfffffffc
call fcn.00414e70
mov dword [ebp - 0x1c0], esp
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x1c0]
push edx
call fcn.004071e3
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1b4]
push eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call sub.minizip.dll_mini_unzip_dll
add esp, 8
test eax, eax
je 0x410229
call fcn.0040fec0
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x2c]
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_]
cmp esi, esp
call fcn.0041512c
jmp 0x410497
lea eax, [ebp - 0x1ac]
push eax
call fcn.004127b0
add esp, 4
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1b8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.004033b2
add esp, 0xc
mov byte [ebp - 4], 3
mov esi, esp
lea ecx, [ebp - 0x1ac]
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_]
cmp esi, esp
call fcn.0041512c
mov esi, esp
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
push eax
call fcn.0040c964
add esp, 4
movzx eax, al
test eax, eax
jne 0x4102d9
call fcn.0040fec0
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x80]
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_]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x2c]
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_]
cmp esi, esp
call fcn.0041512c
jmp 0x410497
push 0x2e
mov esi, esp
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040ca22
add esp, 0xc
mov byte [ebp - 4], 4
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xb9], 0
lea eax, [ebp - 0xb0]
push eax
mov esi, esp
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
push eax
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
push eax
call fcn.0040f570
add esp, 0xc
mov byte [ebp - 0xb9], al
movzx eax, byte [ebp - 0xb9]
test eax, eax
jne 0x4103ad
call fcn.0040fec0
mov byte [ebp - 4], 3
mov esi, esp
lea ecx, [ebp - 0xa4]
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_]
cmp esi, esp
call fcn.0041512c
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x80]
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_]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x2c]
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_]
cmp esi, esp
call fcn.0041512c
jmp 0x410497
cmp dword [ebp - 0xb0], 0
je 0x41042d
mov esi, esp
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 0xc8], eax
call fcn.0040fec0
mov byte [ebp - 4], 3
mov esi, esp
lea ecx, [ebp - 0xa4]
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_]
cmp esi, esp
call fcn.0041512c
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x80]
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_]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x2c]
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_]
cmp esi, esp
call fcn.0041512c
jmp 0x410497
push 0
push str._RegServerEx
mov esi, esp
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
push eax
call fcn.0040ce30
add esp, 0xc
mov byte [ebp - 4], 3
mov esi, esp
lea ecx, [ebp - 0xa4]
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_]
cmp esi, esp
call fcn.0041512c
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x80]
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_]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x2c]
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_]
cmp esi, esp
call fcn.0041512c
lea esp, [ebp - 0x1cc]
push edx
mov ecx, ebp
push eax
lea edx, [0x4104c0]
call fcn.0041514f
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret