Function at 0x413720
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cbde
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.0040421b
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.0041944c
push eax
call fcn.0040f8de
add esp, 4
movzx eax, al
test eax, eax
jne 0x4137ae
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.0041944c
jmp 0x413b47
call fcn.0040a039
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.0041944c
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4137dd
mov dword [ebp - 0x1b4], 0
jmp 0x413829
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041944c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 3
and eax, 0xfffffffc
call fcn.004190c0
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.0040a03f
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.0041944c
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x413850
mov dword [ebp - 0x1bc], 0
jmp 0x41389c
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041944c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 3
and eax, 0xfffffffc
call fcn.004190c0
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.0040a03f
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 0x4138d9
call fcn.00413570
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.0041944c
jmp 0x413b47
lea eax, [ebp - 0x1ac]
push eax
call fcn.00415e60
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.0040421b
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.0041944c
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.0041944c
push eax
call fcn.0040f8de
add esp, 4
movzx eax, al
test eax, eax
jne 0x413989
call fcn.00413570
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.0041944c
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.0041944c
jmp 0x413b47
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.0041944c
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040f996
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.0041944c
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.0041944c
push eax
call fcn.004124f0
add esp, 0xc
mov byte [ebp - 0xb9], al
movzx eax, byte [ebp - 0xb9]
test eax, eax
jne 0x413a5d
call fcn.00413570
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.0041944c
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.0041944c
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.0041944c
jmp 0x413b47
cmp dword [ebp - 0xb0], 0
je 0x413add
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.0041944c
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.0041944c
mov dword [ebp - 0xc8], eax
call fcn.00413570
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.0041944c
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.0041944c
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.0041944c
jmp 0x413b47
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.0041944c
push eax
call fcn.0040fdb0
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.0041944c
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.0041944c
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.0041944c
lea esp, [ebp - 0x1cc]
push edx
mov ecx, ebp
push eax
lea edx, [0x413b70]
call fcn.0041946f
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