Function at 0x413540
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ca5e
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.00403e63
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.0041925c
push eax
call fcn.0040f706
add esp, 4
movzx eax, al
test eax, eax
jne 0x4135ce
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.0041925c
jmp 0x413967
call fcn.00409de5
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.0041925c
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4135fd
mov dword [ebp - 0x1b4], 0
jmp 0x413649
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041925c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 3
and eax, 0xfffffffc
call fcn.00418ed0
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.00409deb
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.0041925c
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x413670
mov dword [ebp - 0x1bc], 0
jmp 0x4136bc
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041925c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 3
and eax, 0xfffffffc
call fcn.00418ed0
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.00409deb
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 0x4136f9
call fcn.00413390
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.0041925c
jmp 0x413967
lea eax, [ebp - 0x1ac]
push eax
call fcn.00415c80
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.00403e63
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.0041925c
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.0041925c
push eax
call fcn.0040f706
add esp, 4
movzx eax, al
test eax, eax
jne 0x4137a9
call fcn.00413390
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.0041925c
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.0041925c
jmp 0x413967
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.0041925c
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040f7be
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.0041925c
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.0041925c
push eax
call fcn.00412310
add esp, 0xc
mov byte [ebp - 0xb9], al
movzx eax, byte [ebp - 0xb9]
test eax, eax
jne 0x41387d
call fcn.00413390
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.0041925c
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.0041925c
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.0041925c
jmp 0x413967
cmp dword [ebp - 0xb0], 0
je 0x4138fd
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.0041925c
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 0xc8], eax
call fcn.00413390
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.0041925c
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.0041925c
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.0041925c
jmp 0x413967
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.0041925c
push eax
call fcn.0040fbd0
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.0041925c
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.0041925c
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.0041925c
lea esp, [ebp - 0x1cc]
push edx
mov ecx, ebp
push eax
lea edx, [0x413990]
call fcn.0041927f
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