Function at 0x40ef60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x443b98
push eax
mov dword fs:[0], esp
sub esp, 0x888
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
cmp dword [ebp + 0x44], ebx
push esi
push edi
je 0x40eff4
push ebx
push 0x3d
push str.developDWF_Coreglobal_srcdwfcorewin32StreamFileDescriptor.cpp
push str.DWFCore::DWFStreamFileDescriptor::open
mov edi, 0x448080
push str.File_already_open
lea ecx, [esp + 0x84]
mov dword [esp + 0x88], edi
call fcn.0040e250
mov esi, vtable.DWFCore::DWFIOException.0
mov dword [esp + 0x70], esi
push ebx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x48c]
mov dword [esp + 0x8a8], ebx
mov dword [esp + 0x490], edi
call fcn.0040e310
push 0x4541dc
lea ecx, [esp + 0x488]
push ecx
mov dword [esp + 0x48c], esi
call fcn.00421275
mov edx, dword [ebp + 4]
lea ecx, [ebp + 4]
mov dword [ebp + 0x48], ebx
call dword [edx + 4]
mov esi, eax
call fcn.00410c10
test al, al
je 0x40f2d3
cmp byte [esi + 0x30], 0
je 0x40f01a
mov eax, dword [esi + 0x24]
jmp 0x40f026
cmp dword [esi + 0x2c], ebx
jbe 0x40f024
lea eax, [esi + 4]
jmp 0x40f026
xor eax, eax
mov ecx, dword [esi + 0x2c]
push ebx
push ebx
push ebx
push ebx
add ecx, ecx
push ecx
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
add edi, edi
push edi
call fcn.0043928d
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], 0x447c30
mov dword [esp + 0x18], vtable.DWFCore::DWFPointer_char_.0
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], 1
test ebx, ebx
mov dword [esp + 0x8a0], 1
jne 0x40f0d7
push eax
push 0x66
push str.developDWF_Coreglobal_srcdwfcorewin32StreamFileDescriptor.cpp
push str.DWFCore::DWFStreamFileDescriptor::open
mov edi, 0x448080
push str.Failed_to_allocate_temporary_string_buffer
lea ecx, [esp + 0x498]
mov dword [esp + 0x49c], edi
call fcn.0040e250
mov esi, vtable.DWFCore::DWFMemoryException.0
mov dword [esp + 0x484], esi
push ebx
lea edx, [esp + 0x488]
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0x8a8], 2
mov dword [esp + 0x7c], edi
call fcn.0040e310
push 0x453338
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], esi
call fcn.00421275
cmp byte [esi + 0x30], 0
je 0x40f0e2
mov eax, dword [esi + 0x24]
jmp 0x40f0ef
cmp dword [esi + 0x2c], 0
jbe 0x40f0ed
lea eax, [esi + 4]
jmp 0x40f0ef
xor eax, eax
mov ecx, dword [esi + 0x2c]
push 0
push 0
push edi
push ebx
add ecx, ecx
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40f172
push eax
push 0x74
push str.developDWF_Coreglobal_srcdwfcorewin32StreamFileDescriptor.cpp
push str.DWFCore::DWFStreamFileDescriptor::open
mov edi, 0x448080
push str.Failed_to_convert_filename_using_local_ANSI_code_page
lea ecx, [esp + 0x498]
mov dword [esp + 0x49c], edi
call fcn.0040e250
mov esi, vtable.DWFCore::DWFStringException.0
mov dword [esp + 0x484], esi
push 0
lea edx, [esp + 0x488]
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0x8a8], 3
mov dword [esp + 0x7c], edi
call fcn.0040e310
push 0x4542c8
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], esi
call fcn.00421275
xor eax, eax
cmp byte [ebp + 0x7c], al
je 0x40f17e
mov ecx, dword [ebp + 0x70]
jmp 0x40f18b
cmp dword [ebp + 0x78], 0
jbe 0x40f189
lea ecx, [ebp + 0x50]
jmp 0x40f18b
xor ecx, ecx
cmp dword [ebp + 0x78], 0
jbe 0x40f1af
cmp word [ecx], 0
je 0x40f1aa
mov dl, byte [ecx]
mov byte [esp + eax + 0x10], dl
add eax, 1
add ecx, 2
cmp eax, dword [ebp + 0x78]
jb 0x40f191
jmp 0x40f1af
mov byte [esp + eax + 0x10], 0
mov byte [esp + eax + 0x10], 0
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00422f84
add esp, 8
test eax, eax
mov dword [ebp + 0x44], eax
jne 0x40f234
push eax
push 0x93
push str.developDWF_Coreglobal_srcdwfcorewin32StreamFileDescriptor.cpp
push str.DWFCore::DWFStreamFileDescriptor::open
mov edi, 0x448080
push str.Failed_to_open_file
lea ecx, [esp + 0x498]
mov dword [esp + 0x49c], edi
call fcn.0040e250
mov esi, vtable.DWFCore::DWFIOException.0
mov dword [esp + 0x484], esi
push 0
lea ecx, [esp + 0x488]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x8a8], 4
mov dword [esp + 0x7c], edi
call fcn.0040e310
push 0x4541dc
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x78], esi
call fcn.00421275
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00422be1
add esp, 8
cmp eax, 0xffffffff
jne 0x40f2b3
push 0
push 0x99
push str.developDWF_Coreglobal_srcdwfcorewin32StreamFileDescriptor.cpp
push str.DWFCore::DWFStreamFileDescriptor::open
mov edi, 0x448080
push str.Failed_to_stat_file
lea ecx, [esp + 0x498]
mov dword [esp + 0x49c], edi
call fcn.0040e250
mov esi, vtable.DWFCore::DWFIOException.0
mov dword [esp + 0x484], esi
push 0
lea ecx, [esp + 0x488]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x8a8], 5
mov dword [esp + 0x7c], edi
call fcn.0040e310
push 0x4541dc
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x78], esi
call fcn.00421275
mov eax, dword [esp + 0x3c]
push ebx
mov dword [ebp + 0x48], eax
mov dword [esp + 0x8a4], 0xffffffff
call fcn.004392bd
add esp, 4
jmp 0x40f41d
cmp byte [ebp + 0x7c], 0
je 0x40f2de
mov ecx, dword [ebp + 0x70]
jmp 0x40f2ea
cmp dword [ebp + 0x78], ebx
jbe 0x40f2e8
lea ecx, [ebp + 0x50]
jmp 0x40f2ea
xor ecx, ecx
cmp byte [esi + 0x30], 0
je 0x40f2f5
mov eax, dword [esi + 0x24]
jmp 0x40f301
cmp dword [esi + 0x2c], ebx
jbe 0x40f2ff
lea eax, [esi + 4]
jmp 0x40f301
xor eax, eax
push ecx
push eax
call fcn.00422aa4
add esp, 8
cmp eax, ebx
mov dword [ebp + 0x44], eax
jne 0x40f37f
push ebx
push 0xad
push str.developDWF_Coreglobal_srcdwfcorewin32StreamFileDescriptor.cpp
push str.DWFCore::DWFStreamFileDescriptor::open
mov edi, 0x448080
push str.Failed_to_open_file
lea ecx, [esp + 0x498]
mov dword [esp + 0x49c], edi
call fcn.0040e250
mov esi, vtable.DWFCore::DWFIOException.0
mov dword [esp + 0x484], esi
push ebx
lea ecx, [esp + 0x488]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x8a8], 6
mov dword [esp + 0x7c], edi
call fcn.0040e310
push 0x4541dc
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x78], esi
call fcn.00421275
cmp byte [esi + 0x30], 0
je 0x40f38a
mov esi, dword [esi + 0x24]
jmp 0x40f396
cmp dword [esi + 0x2c], ebx
jbe 0x40f394
add esi, 4
jmp 0x40f396
xor esi, esi
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.0042274b
add esp, 8
cmp eax, 0xffffffff
jne 0x40f416
push ebx
push 0xb3
push str.developDWF_Coreglobal_srcdwfcorewin32StreamFileDescriptor.cpp
push str.DWFCore::DWFStreamFileDescriptor::open
mov edi, 0x448080
push str.Failed_to_stat_file
lea ecx, [esp + 0x498]
mov dword [esp + 0x49c], edi
call fcn.0040e250
mov esi, vtable.DWFCore::DWFIOException.0
mov dword [esp + 0x484], esi
push ebx
lea ecx, [esp + 0x488]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x8a8], 7
mov dword [esp + 0x7c], edi
call fcn.0040e310
push 0x4541dc
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x78], esi
call fcn.00421275
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x48], eax
mov ecx, dword [esp + 0x898]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x894
ret