Function at 0x410560
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41897e
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.0040345d
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.0041561c
push eax
call fcn.0040cac5
add esp, 4
movzx eax, al
test eax, eax
jne 0x4105ee
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.0041561c
jmp 0x410987
call fcn.00401ec1
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.0041561c
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41061d
mov dword [ebp - 0x1b4], 0
jmp 0x410669
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041561c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 3
and eax, 0xfffffffc
call fcn.00415360
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.0040727b
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.0041561c
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x410690
mov dword [ebp - 0x1bc], 0
jmp 0x4106dc
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041561c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 3
and eax, 0xfffffffc
call fcn.00415360
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.0040727b
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 0x410719
call fcn.004103b0
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.0041561c
jmp 0x410987
lea eax, [ebp - 0x1ac]
push eax
call fcn.00412ca0
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.0040345d
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.0041561c
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.0041561c
push eax
call fcn.0040cac5
add esp, 4
movzx eax, al
test eax, eax
jne 0x4107c9
call fcn.004103b0
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.0041561c
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.0041561c
jmp 0x410987
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.0041561c
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040cb83
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.0041561c
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.0041561c
push eax
call fcn.0040f6d0
add esp, 0xc
mov byte [ebp - 0xb9], al
movzx eax, byte [ebp - 0xb9]
test eax, eax
jne 0x41089d
call fcn.004103b0
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.0041561c
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.0041561c
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.0041561c
jmp 0x410987
cmp dword [ebp - 0xb0], 0
je 0x41091d
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.0041561c
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.0041561c
mov dword [ebp - 0xc8], eax
call fcn.004103b0
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.0041561c
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.0041561c
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.0041561c
jmp 0x410987
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.0041561c
push eax
call fcn.0040cf90
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.0041561c
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.0041561c
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.0041561c
lea esp, [ebp - 0x1cc]
push edx
mov ecx, ebp
push eax
lea edx, [0x4109b0]
call fcn.0041563f
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