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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40d599
push eax
mov dword fs:[0], esp
sub esp, 0x58
cmp byte [esp + 0x68], 0
push ebx
push ebp
push esi
push edi
je 0x404f85
mov ebx, dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
push str.Engine.UserSession
lea ecx, [esp + 0x1c]
call ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
xor ebp, ebp
push ecx
mov dword [esp + 0x78], ebp
call fcn.004055f0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 2
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
jne 0x404ada
push ebp
push 0x106
push 0x40f338
push 0x40f0a8
push 0x40f0a8
push ebp
call dword [sym.imp.FineObj.dll_bool___cdecl_FObj::GenerateInternalError_enum_FObj::TInternalErrorType__wchar_t_const___wchar_t_const___wchar_t_const___long_int__unsigned_long_int_]
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
push str.Engine.Image9Support
lea ecx, [esp + 0x20]
call ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x78], 3
call fcn.004056e0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 5
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov byte [esp + 0x70], 6
xor edi, edi
mov ecx, dword [esp + 0x78]
mov esi, dword [sym.imp.FineObj.dll_bool___cdecl_FObj::GenerateInternalError_enum_FObj::TInternalErrorType__wchar_t_const___wchar_t_const___wchar_t_const___long_int__unsigned_long_int_]
mov dword [esp + 0x28], edi
cmp ecx, ebp
jne 0x404b59
push ebp
push 0x106
push 0x40f338
push 0x40f0a8
push 0x40f0a8
push ebp
call esi
mov ecx, dword [esp + 0x90]
add esp, 0x18
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
cmp edi, eax
jge 0x404d69
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 7
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 8
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_void_]
mov byte [esp + 0x70], 9
mov ecx, dword [esp + 0x78]
cmp ecx, ebp
jne 0x404bc0
push ebp
push 0x106
push 0x40f338
push 0x40f0a8
push 0x40f0a8
push ebp
call esi
mov ecx, dword [esp + 0x90]
add esp, 0x18
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x2c]
push edx
push edi
call eax
xor ebx, ebx
cmp dword [esp + 0x44], ebp
jle 0x404cc3
mov esi, dword [esp + 0x40]
jmp 0x404bf0
mov ecx, dword [esp + 0x48]
lea edx, [ecx + ebx*4]
mov ecx, dword [esp + 0x38]
inc ecx
cmp ecx, esi
mov dword [esp + 0x30], edx
jle 0x404c88
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp eax, 8
jg 0x404c19
mov eax, 8
sub ecx, esi
cmp ecx, eax
jle 0x404c21
mov eax, ecx
mov edi, dword [esp + 0x3c]
lea ebp, [esi + eax]
test ebp, ebp
jle 0x404c6a
lea eax, [ebp*4]
push eax
call dword [sym.imp.FineObj.dll_void____cdecl_FObj::doAlloc_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
jne 0x404c49
call dword [sym.imp.FineObj.dll_void___cdecl_FObj::ThrowMemoryException_void_]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
test eax, eax
jle 0x404c72
lea ecx, [eax*4]
push ecx
push edi
push esi
call dword [sym.imp.MSVCR90.dll_memmove]
add esp, 0xc
jmp 0x404c72
mov dword [esp + 0x3c], 0
test edi, edi
je 0x404c80
push edi
call dword [sym.imp.FineObj.dll_void___cdecl_FObj::doFree_void__]
add esp, 4
mov esi, ebp
mov dword [esp + 0x40], esi
xor ebp, ebp
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
lea ecx, [edx + eax*4]
mov dword [esp + 0x34], ecx
mov byte [esp + 0x70], 0xa
cmp ecx, ebp
je 0x404caf
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_class_FObj::CUnicodeString_const__]
mov esi, dword [esp + 0x40]
mov byte [esp + 0x70], 9
inc dword [esp + 0x38]
inc ebx
cmp ebx, dword [esp + 0x44]
jl 0x404bf0
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 8
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 7
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov byte [esp + 0x70], 6
mov eax, dword [esp + 0x44]
mov edi, eax
cmp eax, ebp
je 0x404d3f
lea esi, [eax - 1]
cmp esi, ebp
jl 0x404d16
jmp 0x404d00
mov eax, dword [esp + 0x48]
lea ecx, [eax + esi*4]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
sub esi, 1
jns 0x404d00
mov eax, dword [esp + 0x44]
mov ecx, eax
sub ecx, edi
cmp ecx, ebp
jle 0x404d39
mov eax, dword [esp + 0x48]
add ecx, ecx
add ecx, ecx
push ecx
lea edx, [eax + edi*4]
push edx
push eax
call dword [sym.imp.MSVCR90.dll_memmove]
mov eax, dword [esp + 0x50]
add esp, 0xc
sub eax, edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], ebp
cmp eax, ebp
je 0x404d55
push eax
call dword [sym.imp.FineObj.dll_void___cdecl_FObj::doFree_void__]
add esp, 4
mov edi, dword [esp + 0x28]
mov ebx, dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
mov dword [esp + 0x4c], ebp
inc edi
jmp 0x404b25
push str.Integration
lea ecx, [esp + 0x2c]
call ebx
push 0x415998
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0xb
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_class_FObj::CUnicodeString_const__]
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x7c], 0xc
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::Merge_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const__]
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 0xe
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0xf
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
push str.SupportedOpenImageFormat
lea ecx, [esp + 0x28]
call ebx
mov eax, dword [esp + 0x7c]
sub eax, ebp
mov byte [esp + 0x70], 0x10
je 0x404e07
sub eax, 1
je 0x404e00
sub eax, 1
je 0x404df9
push ebp
push 0x48
push str..SrcSetupIntegration.cpp
push 0x40f0a8
push 0x40f0a8
push ebp
call esi
add esp, 0x18
mov eax, 2
jmp 0x404e09
mov eax, 1
jmp 0x404e09
xor eax, eax
push eax
push 2
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x64]
call dword [sym.imp.FineObj.dll_protected:_void___thiscall_FObj::CSetupBase::constructor_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const___enum_FObj::TSetupType__enum_FObj::TSetupRegistryView_]
mov dword [esp + 0x54], vtable.FObj::CSetupArray_class_FObj::CArray_class_FObj::CUnicodeString__class_FObj::CurrentMemoryManager__.0
mov bl, 0x12
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], bl
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x24]
push eax
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0x5c]
call eax
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 0x13
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CSetupBase::SetString_class_FObj::CUnicodeString_const__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], bl
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0xf
call dword [sym.imp.FineObj.dll_protected_virtual:_void___thiscall_FObj::CSetupBase::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 6
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov byte [esp + 0x70], 5
mov eax, dword [esp + 0x38]
mov edi, eax
cmp eax, ebp
je 0x404ee3
lea esi, [eax - 1]
cmp esi, ebp
jl 0x404eb7
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx + esi*4]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
sub esi, 1
jns 0x404ea1
mov eax, dword [esp + 0x38]
mov ecx, eax
sub ecx, edi
cmp ecx, ebp
jle 0x404edd
mov eax, dword [esp + 0x3c]
lea edx, [ecx*4]
push edx
lea ecx, [eax + edi*4]
push ecx
push eax
call dword [sym.imp.MSVCR90.dll_memmove]
mov eax, dword [esp + 0x44]
add esp, 0xc
sub eax, edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], ebp
cmp eax, ebp
je 0x404ef9
push eax
call dword [sym.imp.FineObj.dll_void___cdecl_FObj::doFree_void__]
add esp, 4
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [esp + 0x40], ebp
cmp eax, ebp
je 0x404f37
mov dword [esp + 0x78], ebp
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea esi, [ecx + eax + 4]
lea edx, [esi + 4]
push edx
call edi
test eax, eax
jne 0x404f37
cmp esi, ebp
je 0x404f37
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x404fdb
mov dword [esp + 0x14], ebp
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea esi, [edx + eax + 4]
lea eax, [esi + 4]
push eax
call edi
test eax, eax
jne 0x404fdb
cmp esi, ebp
je 0x404fdb
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea ecx, [esp + 0x44]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CRegistryKey::constructor_void_]
mov ecx, dword [esp + 0x7c]
push ecx
mov dword [esp + 0x74], 0x14
mov eax, dword [0x415998]
push 1
add eax, 0xc
push eax
push 0x80000002
lea ecx, [esp + 0x54]
call dword [sym.imp.FineObj.dll_public:_bool___thiscall_FObj::CRegistryKey::Open_struct_HKEY_____wchar_t_const___enum_FObj::CRegistryKey::TAccessMode__enum_FObj::CRegistryKey::TRegistryView_]
test al, al
je 0x404fc9
push str.Integration
lea ecx, [esp + 0x48]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CRegistryKey::DeleteSubKey_wchar_t_const__]
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CRegistryKey::destructor_void_]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret