Function at 0x4317a2
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2820]
mov eax, 0x2820
call fcn.00514d40
push 0xffffffffffffffff
push 0x523f0c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x59d300]
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 eax, dword [ebp + 0x2828]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
push ebx
mov esi, ecx
mov dword [ebp - 0x14], eax
call edi
cmp dword [esi + 0x18], 8
jb 0x431806
mov esi, dword [esi + 4]
jmp 0x431809
add esi, 4
push ebx
push 0x80
push 4
push ebx
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
jne 0x4319d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.0040dbda
cmp byte [eax], bl
jne 0x4318b0
lea eax, [ebp - 0xc4]
push eax
call fcn.0040d9e1
push edi
push 0x543368
lea eax, [ebp - 0xbc]
push str.CFirefoxBrowser::ReadTempXML_____CreateFile_failed._GetLastError
push eax
mov dword [ebp - 4], ebx
call fcn.0040c0a0
pop ecx
pop ecx
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push eax
call fcn.00408e51
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040bf31
lea edi, [ebp]
mov byte [ebp - 4], 1
call fcn.0040ba4e
push ebx
push 1
mov esi, edi
call fcn.0040dac5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc4]
call fcn.0040c22b
xor al, al
jmp 0x431bf8
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 4], 2
call fcn.0040b935
mov byte [ebp - 4], 3
call fcn.0040dbda
lea ecx, [ebp - 0x3c]
call fcn.0040b84b
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x4318e3
mov esi, dword [eax + 4]
jmp 0x4318e6
lea esi, [eax + 4]
lea eax, [ebp - 0xbc]
push 0x54331c
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push esi
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543314
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push str.CFirefoxBrowser::ReadTempXML_____CreateFile_failed._GetLastError
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543368
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push edi
push eax
call fcn.00408e51
push ebx
push 1
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040dac5
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
cmp al, bl
je 0x431991
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040b831
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
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.0040dac5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0040b8a0
jmp 0x4318a9
push ebx
mov byte [ebp + 0x1c], bl
call edi
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x2800
lea eax, [ebp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x431bb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.0040dbda
cmp byte [eax], bl
jne 0x431a88
lea eax, [ebp - 0xc4]
push eax
call fcn.0040d9e1
push edi
push 0x543368
lea eax, [ebp - 0xbc]
push str.CFirefoxBrowser::ReadTempXML_____ReadFile_failed._GetLastError
push eax
mov dword [ebp - 4], 9
call fcn.0040c0a0
pop ecx
pop ecx
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push eax
call fcn.00408e51
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040bf31
lea edi, [ebp]
mov byte [ebp - 4], 0xa
call fcn.0040ba4e
push ebx
push 1
mov esi, edi
call fcn.0040dac5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc4]
call fcn.0040c22b
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4318a9
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 4], 0xb
call fcn.0040b935
mov byte [ebp - 4], 0xc
call fcn.0040dbda
lea ecx, [ebp - 0x3c]
call fcn.0040b84b
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x431abb
mov esi, dword [eax + 4]
jmp 0x431abe
lea esi, [eax + 4]
lea eax, [ebp - 0xbc]
push 0x54331c
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push esi
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543314
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push str.CFirefoxBrowser::ReadTempXML_____ReadFile_failed._GetLastError
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543368
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push edi
push eax
call fcn.00408e51
push ebx
push 1
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call fcn.0040dac5
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], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x431b69
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040b831
push 0x2aa
push str..FirefoxBrowser.cpp
push eax
push esi
lea ecx, [ebp - 0x18]
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
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.0040dac5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xb
call fcn.0040b8a0
jmp 0x431a7a
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 0x431bd0
xor ecx, ecx
jmp 0x431beb
lea eax, [edi + edi]
call fcn.00506130
mov dword [ebp - 0x10], esp
mov esi, esp
push 3
push edi
lea eax, [ebp + 0x1c]
push eax
call fcn.00412f14
mov ecx, eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.0040bb7a
mov al, 1
lea esp, [ebp - 0xd4]
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.004ffa47
add ebp, 0x2820
leave
ret 4