Function at 0x10006fbc
Capabilities:
Get file size
Set registry value

Disassembly:
mov eax, 0x1000cf02
call fcn.1000c520
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
push 3
xor edi, edi
pop esi
cmp eax, edi
mov dword [ebp - 4], esi
jne 0x10006fe3
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x10011e28
push 1
pop ebx
push ebx
call fcn.10002b6f
mov eax, dword [ebp + 0x1c]
add esp, 0xc
cmp eax, edi
jne 0x10007001
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push str.MD5:__s
push ebx
call fcn.10002b6f
mov eax, dword [ebp + 0x2c]
add esp, 0xc
cmp eax, edi
jne 0x1000701c
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push str.URL:__s
push ebx
call fcn.10002b6f
mov eax, dword [ebp + 0x3c]
add esp, 0xc
cmp eax, edi
jne 0x10007037
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push str.Mode:__s
push ebx
call fcn.10002b6f
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, edi
jne 0x10007052
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push edi
push 0x80
push esi
push edi
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp - 0x3c]
push esi
push dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call fcn.1000680b
add esp, 0xc
cmp esi, 0xffffffff
mov byte [ebp - 4], 4
jne 0x100070a5
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x1000708d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x10011df8
push ebx
call fcn.10002b6f
add esp, 0xc
and byte [ebp - 0xd], 0
jmp 0x10007317
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
je 0x100070c7
push 0x10011de4
push ebx
call fcn.10002b6f
pop ecx
pop ecx
jmp 0x1000709c
push eax
push 0x10011dd8
push ebx
call fcn.10002b6f
add esp, 0xc
cmp dword [ebp - 0x18], 0x20000
jb 0x10007314
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x100070ef
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x10011dc8
push ebx
call fcn.10002b6f
mov al, byte [ebp + 0x17]
add esp, 0xc
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0x6c], al
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x50]
push eax
movzx eax, word [ebp - 0x52]
push eax
movzx eax, word [ebp - 0x54]
push eax
movzx eax, word [ebp - 0x56]
push eax
movzx eax, word [ebp - 0x5a]
push eax
movzx eax, word [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push 0x10011c98
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
and byte [ebp - 0x3e], 0
lea eax, [ebp - 0x4c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x24
lea ecx, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push 0x100110a4
lea eax, [ebp - 0x8c]
push 0x10012218
push eax
mov dword [ebp - 0x20], edi
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x18
push ebx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x100071d1
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x14]
push edi
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push eax
push dword [0x10012254]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1000726f
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x100071fc
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x100110dc
push ebx
call fcn.10002b6f
add esp, 0xc
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
push ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x3c]
push eax
call fcn.10006829
pop ecx
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
and byte [ebp - 4], 0
push ebx
lea ecx, [ebp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp + 0x38]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor al, al
jmp 0x1000735b
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x1000727b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push ebx
push edi
push str.LocalPath
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp + 0x2c]
cmp eax, edi
jne 0x1000729d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push dword [ebp + 0x30]
push eax
push ebx
push edi
push 0x100110cc
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 0x68]
cmp eax, edi
jne 0x100072b9
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push dword [ebp - 0x64]
push eax
push ebx
push edi
push str.ModifyTime
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push edi
push str.Length
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x20]
push 4
push eax
push 4
push edi
push str.FileType
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov byte [ebp - 0xd], bl
lea eax, [ebp - 0x3c]
push eax
call fcn.10006829
pop ecx
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
and byte [ebp - 4], 0
push ebx
lea ecx, [ebp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp + 0x38]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret