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

Disassembly:
push 0xffffffffffffffff
push 0x40c7e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
push edi
lea ecx, [esp + 0x20]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_void_]
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], edi
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 1
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 2
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_void_]
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
mov byte [esp + 0x5c], 3
call dword [sym.imp.FineObj.dll_void___cdecl_FObj::FileSystem::Split_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString___class_FObj::CUnicodeString___class_FObj::CUnicodeString___class_FObj::CUnicodeString__]
lea ecx, [esp + 0x64]
push esi
push ecx
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::GetDrivePath_class_FObj::CUnicodeString_const__]
push eax
mov byte [esp + 0x68], 4
call fcn.0040b890
add esp, 0x20
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_class_FObj::CUnicodeString_const__]
lea esi, [ebp + 0xc]
mov ebp, dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::Merge_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const__]
mov byte [esp + 0x48], 5
mov bl, 7
mov edi, edi
test edi, edi
je 0x40b3d1
push 0xa
lea edx, [esp + 0x2c]
push edi
push edx
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::UnicodeStr_int__int_]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x60], 6
call fcn.00402d60
lea edx, [esp + 0x2c]
push edx
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x74], bl
call ebp
add esp, 0x2c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 8
call dword [sym.imp.FineObj.dll_public:_class_FObj::CUnicodeString____thiscall_FObj::CUnicodeString::operator_class_FObj::CUnicodeString_const__]
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], bl
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 6
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 5
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.00407860
push 2
push 0x30a2
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.00407890
test al, al
je 0x40b421
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
or eax, edx
jne 0x40b419
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 2
push 0x40e828
mov ecx, esi
call eax
mov ecx, esi
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CBaseFile::SeekToEnd_void_]
mov ecx, esi
inc edi
call dword [sym.imp.FineObj.dll_public:_bool___thiscall_FObj::CFile::IsOpen_void_const]
test al, al
jne 0x40b43a
cmp edi, 0xff
jl 0x40b350
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 3
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 2
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 1
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4