Function at 0x4b7f51
Capabilities:
Copy file
Create directory

Disassembly:
push 0x1b4
mov eax, 0x579ee2
call fcn.0054d478
mov eax, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x128], eax
xor eax, eax
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov dword [ebp - 4], ebx
mov edi, 0x5967ac
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x130]
call fcn.004de9d6
pop ecx
test al, al
je 0x4b885c
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x68]
cmp byte [ebp + 0x10], bl
je 0x4b8178
push dword [ebp - 0x128]
push eax
call fcn.004b8d4f
test al, al
jne 0x4b830a
call fcn.00462c28
cmp byte [eax], bl
jne 0x4b8046
lea eax, [ebp - 0x1c0]
push eax
call fcn.00409b60
lea eax, [ebp - 0x68]
push eax
push edi
lea eax, [ebp - 0x1b8]
push str.CFirefoxBrowser::SetDSPinAllProfiles_failed_to_write_Pref.js_to_profile_USER_
push eax
mov byte [ebp - 4], 1
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x1c0]
call fcn.00407170
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00406a80
lea ecx, [ebp - 0x4c]
call fcn.00409c40
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], bl
call fcn.00407660
jmp 0x4b830a
lea eax, [ebp - 0x1b8]
push eax
mov byte [ebp - 4], 3
call fcn.004068d0
mov byte [ebp - 4], 4
call fcn.00462c28
lea esi, [ebp - 0x30]
call fcn.00406720
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x4b8076
mov esi, dword [eax + 4]
jmp 0x4b8079
lea esi, [eax + 4]
lea eax, [ebp - 0x1b8]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CFirefoxBrowser::SetDSPinAllProfiles_failed_to_write_Pref.js_to_profile_USER_
push eax
call fcn.00407390
pop ecx
pop ecx
push edi
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00409c40
lea eax, [ebp - 0x138]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 6
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x4b8127
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1b8]
call fcn.00406700
push 0x261
push str..FirefoxBrowser.cpp
push eax
push esi
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 7
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
lea ecx, [ebp - 0x30]
call fcn.00409c40
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 4
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1b8]
call fcn.004067e0
mov dword [ebp - 4], ebx
jmp 0x4b830a
push ebx
push eax
call fcn.004b8d4f
test al, al
jne 0x4b830a
call fcn.00462c28
cmp byte [eax], bl
jne 0x4b81df
lea eax, [ebp - 0x1c0]
push eax
call fcn.00409b60
lea eax, [ebp - 0x68]
push eax
push edi
lea eax, [ebp - 0x1b8]
push str.CFirefoxBrowser::SetDSPinAllProfiles_failed_to_write_Pref.js_to_profile
push eax
mov byte [ebp - 4], 0xa
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x1c0]
call fcn.00407170
mov byte [ebp - 4], 0xb
jmp 0x4b8023
lea eax, [ebp - 0x1b8]
push eax
mov byte [ebp - 4], 0xc
call fcn.004068d0
mov byte [ebp - 4], 0xd
call fcn.00462c28
lea esi, [ebp - 0x30]
call fcn.00406720
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x18], 8
jb 0x4b820f
mov esi, dword [eax + 4]
jmp 0x4b8212
lea esi, [eax + 4]
lea eax, [ebp - 0x1b8]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CFirefoxBrowser::SetDSPinAllProfiles_failed_to_write_Pref.js_to_profile
push eax
call fcn.00407390
pop ecx
pop ecx
push edi
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.00411b20
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.00409c40
lea eax, [ebp - 0x124]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xf
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x4b82c0
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1b8]
call fcn.00406700
push 0x268
push str..FirefoxBrowser.cpp
push eax
push esi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x10
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
lea ecx, [ebp - 0x30]
call fcn.00409c40
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xd
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
mov byte [ebp - 4], 0xc
jmp 0x4b813a
cmp dword [ebp - 0x128], ebx
je 0x4b7f92
lea eax, [ebp - 0xd8]
push eax
call fcn.004de4c2
pop ecx
lea eax, [ebp - 0xd8]
push eax
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 0x13
call fcn.00406fb0
push ebx
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 0x14
call fcn.004117d0
mov eax, esi
push eax
mov eax, str._searchplugins_
call fcn.00411970
cmp dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x80]
jae 0x4b8363
lea eax, [ebp - 0x80]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4b851f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4b851f
call fcn.00462c28
cmp byte [eax], bl
jne 0x4b8409
lea eax, [ebp - 0x1c0]
push eax
call fcn.00409b60
lea eax, [ebp - 0x1b8]
push str.CFirefoxBrowser::SetDSPinAllProfiles._Create_directory_is_failed
push eax
mov byte [ebp - 4], 0x15
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x1c0]
call fcn.00407170
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00406a80
lea ecx, [ebp - 0x4c]
call fcn.00409c40
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x14
call fcn.00407660
lea ecx, [ebp - 0x84]
call fcn.00409c40
lea ecx, [ebp - 0xd8]
call fcn.00409c40
lea ecx, [ebp - 0x68]
call fcn.00409c40
xor al, al
call fcn.0054d4d4
ret 0xc
lea eax, [ebp - 0x1b8]
push eax
mov byte [ebp - 4], 0x17
call fcn.004068d0
mov byte [ebp - 4], 0x18
call fcn.00462c28
lea esi, [ebp - 0x30]
call fcn.00406720
mov byte [ebp - 4], 0x19
cmp dword [eax + 0x18], 8
jb 0x4b8439
mov esi, dword [eax + 4]
jmp 0x4b843c
lea esi, [eax + 4]
lea eax, [ebp - 0x1b8]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CFirefoxBrowser::SetDSPinAllProfiles._Create_directory_is_failed
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x18
call fcn.00409c40
lea eax, [ebp - 0x124]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x1a
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x4b84d5
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1b8]
call fcn.00406700
push 0x279
push str..FirefoxBrowser.cpp
push eax
push esi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x1b
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
lea ecx, [ebp - 0x30]
call fcn.00409c40
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x18
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 0x17
call fcn.004067e0
jmp 0x4b83e1
lea esi, [ebp - 0x11c]
call fcn.004db184
mov ecx, dword [ebp - 0x128]
mov eax, esi
push eax
mov byte [ebp - 4], 0x1e
call fcn.004db1e6
test al, al
jne 0x4b854c
mov ecx, esi
call fcn.004db1c2
jmp 0x4b83e1
mov eax, str.XML_FILE_NAME
lea ecx, [ebp - 0x30]
call fcn.004066c0
mov eax, 0x595d04
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
call fcn.004066c0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x20
call fcn.004db59c
lea ecx, [ebp - 0x4c]
call fcn.00409c40
lea ecx, [ebp - 0x30]
call fcn.00409c40
xor eax, eax
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0x24
call fcn.00464057
pop ecx
lea eax, [ebp - 0xa0]
push eax
mov eax, str.ProgData_
call fcn.00411970
push ebx
lea eax, [ebp - 0xf4]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0xa0]
call fcn.004117d0
lea eax, [ebp - 0x84]
push eax
lea esi, [ebp - 0xbc]
call fcn.00406fb0
push ebx
lea eax, [ebp - 0xf4]
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 0x25
call fcn.004117d0
cmp dword [ebp - 0xa4], 8
mov ecx, dword [ebp - 0xb8]
jae 0x4b8624
lea ecx, [ebp - 0xb8]
cmp dword [ebp - 0x88], 8
mov eax, dword [ebp - 0x9c]
jae 0x4b8639
lea eax, [ebp - 0x9c]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
jne 0x4b8812
call fcn.00462c28
cmp byte [eax], bl
jne 0x4b86ac
lea eax, [ebp - 0x1c0]
push eax
call fcn.00409b60
lea eax, [ebp - 0x1b8]
push str.CFirefoxBrowser::SetDSPinAllProfiles._CopyFile_is_failed
push eax
mov byte [ebp - 4], 0x26
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1c0]
call fcn.00407170
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x27
call fcn.00406a80
lea ecx, [ebp - 0x30]
call fcn.00409c40
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x25
call fcn.00407660
jmp 0x4b87c1
lea eax, [ebp - 0x1b8]
push eax
mov byte [ebp - 4], 0x28
call fcn.004068d0
mov byte [ebp - 4], 0x29
call fcn.00462c28
lea esi, [ebp - 0x30]
call fcn.00406720
mov byte [ebp - 4], 0x2a
cmp dword [eax + 0x18], 8
jb 0x4b86dc
mov esi, dword [eax + 4]
jmp 0x4b86df
lea esi, [eax + 4]
lea eax, [ebp - 0x1b8]
push 0x5950f8
push eax
call fcn.00407390
pop ecx
pop ecx
push esi
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5950f0
push eax
call fcn.00407390
pop ecx
pop ecx
push str.CFirefoxBrowser::SetDSPinAllProfiles._CopyFile_is_failed
push eax
call fcn.00407390
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x29
call fcn.00409c40
lea eax, [ebp - 0x124]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x2b
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x4b8778
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1b8]
call fcn.00406700
push 0x290
push str..FirefoxBrowser.cpp
push eax
push esi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x2c
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
lea ecx, [ebp - 0x30]
call fcn.00409c40
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x29
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 0x28
call fcn.004067e0
jmp 0x4b87c1
lea ecx, [ebp - 0xbc]
call fcn.00409c40
lea ecx, [ebp - 0xa0]
call fcn.00409c40
lea ecx, [ebp - 0xf4]
call fcn.00409c40
lea ecx, [ebp - 0x11c]
call fcn.004db1c2
lea ecx, [ebp - 0x84]
call fcn.00409c40
lea ecx, [ebp - 0xd8]
call fcn.00409c40
lea ecx, [ebp - 0x68]
call fcn.00409c40
mov al, bl
jmp 0x4b8401
lea ecx, [ebp - 0xbc]
call fcn.00409c40
lea ecx, [ebp - 0xa0]
call fcn.00409c40
lea ecx, [ebp - 0xf4]
call fcn.00409c40
lea ecx, [ebp - 0x11c]
call fcn.004db1c2
lea ecx, [ebp - 0x84]
call fcn.00409c40
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call fcn.00409c40
jmp 0x4b7f92
mov bl, 1
jmp 0x4b8803