Function at 0x4326b0
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x4c
lea ebp, [esp - 4]
mov eax, dword [0x59d300]
xor eax, ebp
mov dword [ebp + 0x4c], eax
push 0x8c
mov eax, 0x523e37
call fcn.00506664
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
mov edi, ecx
mov esi, edx
call ebx
cmp dword [esi + 0x18], 8
jb 0x4326ea
mov eax, dword [esi + 4]
jmp 0x4326ed
lea eax, [esi + 4]
xor ecx, ecx
push ecx
push ecx
push 2
pop esi
push esi
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x20], eax
cmp eax, 0xffffffff
jne 0x4328d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.0040dbda
cmp byte [eax], 0
jne 0x4327b0
lea eax, [ebp - 0x98]
push eax
call fcn.0040d9e1
and dword [ebp - 4], 0
push ebx
push 0x543368
lea eax, [ebp - 0x90]
push str.CFirefoxBrowser::WriteFile___CreateFile_failed._GetLastError
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push eax
call fcn.00408e51
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040bf31
lea edi, [ebp + 0x30]
mov byte [ebp - 4], 1
call fcn.0040ba4e
push 0
push 1
mov esi, edi
call fcn.0040dac5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x98]
call fcn.0040c22b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4c]
xor ecx, ebp
call fcn.004ffa47
add ebp, 0x50
leave
ret
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 4], esi
call fcn.0040b935
mov byte [ebp - 4], 3
call fcn.0040dbda
lea ecx, [ebp]
call fcn.0040b84b
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x4327df
mov edi, dword [eax + 4]
jmp 0x4327e2
lea edi, [eax + 4]
lea eax, [ebp - 0x90]
push 0x54331c
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push edi
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543314
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push str.CFirefoxBrowser::WriteFile___CreateFile_failed._GetLastError
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543368
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push ebx
push eax
call fcn.00408e51
push 0
push 1
lea esi, [ebp]
mov byte [ebp - 4], 3
call fcn.0040dac5
lea eax, [ebp + 0x1c]
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 + 0x1c]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x43288f
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x90]
call fcn.0040b831
push 0x2dd
push str..FirefoxBrowser.cpp
push eax
push esi
lea ecx, [ebp + 0x1c]
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 0
push 1
lea esi, [ebp]
call fcn.0040dac5
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.0040b8a0
jmp 0x432791
xor esi, esi
push esi
call ebx
cmp dword [edi + 0x18], 0x10
mov ecx, dword [edi + 0x14]
mov dword [ebp + 0x2c], esi
jb 0x4328ec
mov eax, dword [edi + 4]
jmp 0x4328ef
lea eax, [edi + 4]
push esi
lea edx, [ebp + 0x2c]
push edx
push ecx
push eax
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x432abe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.0040dbda
cmp byte [eax], 0
jne 0x432995
lea eax, [ebp - 0x98]
push eax
call fcn.0040d9e1
push ebx
push 0x543368
lea eax, [ebp - 0x90]
push str.CFirefoxBrowser::WriteFile___WriteFile_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 + 0x30]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040bf31
lea edi, [ebp + 0x30]
mov byte [ebp - 4], 0xa
call fcn.0040ba4e
push esi
push 1
mov esi, edi
call fcn.0040dac5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x98]
call fcn.0040c22b
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x432791
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 4], 0xb
call fcn.0040b935
mov byte [ebp - 4], 0xc
call fcn.0040dbda
lea ecx, [ebp]
call fcn.0040b84b
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x4329c8
mov edi, dword [eax + 4]
jmp 0x4329cb
lea edi, [eax + 4]
lea eax, [ebp - 0x90]
push 0x54331c
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push edi
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543314
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push str.CFirefoxBrowser::WriteFile___WriteFile_failed._GetLastError
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543368
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push ebx
push eax
call fcn.00408e51
push esi
push 1
lea esi, [ebp]
mov byte [ebp - 4], 0xc
call fcn.0040dac5
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 0x432a77
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x90]
call fcn.0040b831
push 0x2e5
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
push 0
push 1
lea esi, [ebp]
call fcn.0040dac5
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0xc
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xb
call fcn.0040b8a0
jmp 0x432987
mov edi, dword [edi + 0x14]
cmp dword [ebp + 0x2c], edi
jae 0x432c85
call fcn.0040dbda
cmp byte [eax], 0
jne 0x432b5a
lea eax, [ebp - 0x98]
push eax
call fcn.0040d9e1
mov dword [ebp - 4], 0x12
push dword [ebp + 0x2c]
lea eax, [ebp - 0x90]
push 0x543368
push str.CFirefoxBrowser::WriteFile_____WriteFile_failed._size_written_too_small
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push eax
call fcn.00408e51
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040bf31
lea edi, [ebp + 0x30]
mov byte [ebp - 4], 0x13
call fcn.0040ba4e
push esi
push 1
mov esi, edi
call fcn.0040dac5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x98]
call fcn.0040c22b
xor bl, bl
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x432793
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 4], 0x14
call fcn.0040b935
mov byte [ebp - 4], 0x15
call fcn.0040dbda
lea ecx, [ebp]
call fcn.0040b84b
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], 8
jb 0x432b8d
mov edi, dword [eax + 4]
jmp 0x432b90
lea edi, [eax + 4]
lea eax, [ebp - 0x90]
push 0x54331c
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push edi
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543314
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push str.CFirefoxBrowser::WriteFile_____WriteFile_failed._size_written_too_small
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push 0x543368
push eax
call fcn.0040c0a0
pop ecx
pop ecx
push dword [ebp + 0x2c]
push eax
call fcn.00408e51
push esi
push 1
lea esi, [ebp]
mov byte [ebp - 4], 0x15
call fcn.0040dac5
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], 0x17
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x432c3e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x90]
call fcn.0040b831
push 0x2eb
push str..FirefoxBrowser.cpp
push eax
push esi
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x18
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 0
push 1
lea esi, [ebp]
call fcn.0040dac5
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x15
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x14
call fcn.0040b8a0
jmp 0x432b48
mov bl, 1
jmp 0x432b4a