Function at 0x4b8860
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2820]
mov eax, 0x2820
call fcn.0055c750
push 0xffffffffffffffff
push 0x56eada
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp + 0x281c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
mov esi, ecx
mov ebx, edx
call edi
cmp dword [esi + 0x18], 8
jb 0x4b88bc
mov esi, dword [esi + 4]
jmp 0x4b88bf
add esi, 4
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
jne 0x4b8a87
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.00462c28
cmp byte [eax], 0
jne 0x4b8966
lea eax, [ebp - 0xc8]
push eax
call fcn.00409b60
and dword [ebp - 4], 0
push edi
push 0x5967ac
lea eax, [ebp - 0xc0]
push str.CFirefoxBrowser::ReadTempXML_____CreateFile_failed._GetLastError
push eax
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.004155d0
lea ecx, [ebp]
lea eax, [ebp - 0xc8]
call fcn.00407170
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00406a80
lea ecx, [ebp]
call fcn.00409c40
or dword [ebp - 4], esi
lea eax, [ebp - 0xc8]
call fcn.00407660
xor al, al
jmp 0x4b8c9e
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 4], 2
call fcn.004068d0
mov byte [ebp - 4], 3
call fcn.00462c28
lea esi, [ebp - 0x40]
call fcn.00406720
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x4b8999
mov esi, dword [eax + 4]
jmp 0x4b899c
lea esi, [eax + 4]
lea eax, [ebp - 0xc0]
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::ReadTempXML_____CreateFile_failed._GetLastError
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5967ac
push eax
call fcn.00407390
pop ecx
pop ecx
push edi
push eax
call fcn.004155d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00409c40
lea eax, [ebp - 0x18]
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 - 0x18]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4b8a40
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0xc0]
call fcn.00406700
push 0x2a0
push str..FirefoxBrowser.cpp
push eax
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
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 - 0x40]
call fcn.00409c40
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.004067e0
jmp 0x4b895f
push 0
mov byte [ebp + 0x1c], 0
call edi
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x2800
lea eax, [ebp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b8c59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.00462c28
cmp byte [eax], 0
jne 0x4b8b38
lea eax, [ebp - 0xc8]
push eax
call fcn.00409b60
push edi
push 0x5967ac
lea eax, [ebp - 0xc0]
push str.CFirefoxBrowser::ReadTempXML_____ReadFile_failed._GetLastError
push eax
mov dword [ebp - 4], 9
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.00407390
pop ecx
pop ecx
push eax
call fcn.004155d0
lea ecx, [ebp]
lea eax, [ebp - 0xc8]
call fcn.00407170
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.00406a80
lea ecx, [ebp]
call fcn.00409c40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc8]
call fcn.00407660
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b895f
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 4], 0xb
call fcn.004068d0
mov byte [ebp - 4], 0xc
call fcn.00462c28
lea esi, [ebp - 0x40]
call fcn.00406720
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x4b8b6b
mov esi, dword [eax + 4]
jmp 0x4b8b6e
lea esi, [eax + 4]
lea eax, [ebp - 0xc0]
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::ReadTempXML_____ReadFile_failed._GetLastError
push eax
call fcn.00407390
pop ecx
pop ecx
push 0x5967ac
push eax
call fcn.00407390
pop ecx
pop ecx
push edi
push eax
call fcn.004155d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.00409c40
lea eax, [ebp - 0x24]
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 - 0x24]
mov byte [ebp - 4], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4b8c12
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0xc0]
call fcn.00406700
push 0x2aa
push str..FirefoxBrowser.cpp
push eax
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
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 - 0x40]
call fcn.00409c40
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
call fcn.004067e0
jmp 0x4b8b2a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x4b8c79
xor eax, eax
jmp 0x4b8c92
lea eax, [edi + edi]
call fcn.00552130
mov dword [ebp - 0x10], esp
mov esi, esp
push 3
mov edx, edi
lea eax, [ebp + 0x1c]
call fcn.0045c1d0
push dword [ebp - 0x1c]
mov esi, ebx
call fcn.00406bf0
mov al, 1
lea esp, [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x281c]
xor ecx, ebp
call fcn.0054677c
add ebp, 0x2820
leave
ret