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

Disassembly:
push 0xffffffffffffffff
push 0x4205b7
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43845c]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.CELLDBPI.dll_public:_void___thiscall_CCellDBCell::constructor_void_]
lea ecx, [esp + 0xb8]
call esi
lea ecx, [esp + 0x15c]
call esi
mov eax, dword [sym.imp.CELLDBPI.dll_const_CCellDBNestedCell::vftable]
xor ebx, ebx
or esi, 0xffffffff
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], ebx
call sub.mfc90.dll_Ordinal_580
mov ecx, dword [edi + 0x1f8]
push ebx
push ebx
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x214], ebx
call dword [sym.imp.LibManagerDBPI.dll_public:_void___thiscall_CLibCell::constructor_class_CLibServer___char_const___char_const__]
push 1
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x210], 1
mov dword [esp + 0x24], ebx
call dword [sym.imp.TreeMemClasses.dll_public:_void___thiscall_CNdxName::constructor_int__int_]
mov ecx, dword [edi + 0xa4]
push 0x201
push 1
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x214], 2
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDB::GetNextCell_class_CCellDBCell___int__int_]
cmp eax, ebx
jne 0x4060da
mov ebp, dword [sym.imp.mfc90.dll_Ordinal_2538]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xbc]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::GetName_char_const___]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0xbc]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::GetCellType_enum_CCellDB::eCellType__]
push 1
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x28], 1
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::GetNextNestedCell_class_CCellDBNestedCell___int_]
cmp eax, ebx
jne 0x4060b1
cmp dword [esp + 0x20], ebx
je 0x405d28
push 0x3c
call sub.mfc90.dll_Ordinal_798
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x208], 3
cmp esi, ebx
je 0x405d16
push 1
push ebx
mov ecx, esi
call dword [sym.imp.TreeMemClasses.dll_public:_void___thiscall_CNdxName::constructor_int__int_]
mov dword [esi], vtable.CNdxName.0
jmp 0x405d18
xor esi, esi
mov byte [esp + 0x208], 2
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBNestedCell::GetCellName_char_const___]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.TreeMemClasses.dll_public:_int___thiscall_CNdxName::Match_char_const__]
push ecx
lea ecx, [esp + 0x80]
call esi
test eax, eax
jne 0x406086
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
call esi
test eax, eax
jne 0x406086
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.TreeMemClasses.dll_public:_int___thiscall_CNdxName::Insert_char_const__]
push eax
call esi
cmp dword [edi + 0xac], ebx
je 0x405f49
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [edi + 0xa4]
lea edx, [esp + 0x160]
push edx
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDB::FindCell_class_CCellDBCell___char_const__]
test eax, eax
je 0x405e57
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x80]
call esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x4284ac
lea ecx, [esp + 0x18]
push 0xe4
push ecx
mov byte [esp + 0x214], 4
call ebp
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
push edx
push eax
lea esi, [edi + 0x1c4]
push 0x70
push esi
call ebp
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x78]
push esi
push edx
call fcn.00403940
add esp, 0x28
push eax
mov ecx, esi
mov byte [esp + 0x20c], 5
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x58]
mov byte [esp + 0x208], 4
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ebx
push ebx
push 1
push esi
mov ecx, edi
call fcn.004104f0
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_2327]
push ebx
push ebx
push 1
push esi
mov ecx, edi
call fcn.004104f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x208], 2
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x406086
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x160]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::GetCellType_enum_CCellDB::eCellType__]
cmp dword [esp + 0x28], ebx
jne 0x406086
mov eax, dword [esp + 0x30]
cmp eax, 8
je 0x406086
cmp eax, ebx
jne 0x406086
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xbc]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::GetPackageGroup_enum_CCellDB::ePackageGroup__]
cmp dword [esp + 0x2c], 0x14
je 0x406086
lea esi, [edi + 0x1c4]
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_2327]
push ebx
push ebx
push 1
push esi
mov ecx, edi
call fcn.00410490
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x208], 6
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push 0x103
push edx
call ebp
add esp, 0xc
push ebx
push ebx
push 1
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.004104f0
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x405f05
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x208], 1
call dword [sym.imp.TreeMemClasses.dll_public_virtual:_void___thiscall_CNdxName::destructor_void_]
lea ecx, [esp + 0x34]
call dword [sym.imp.LibManagerDBPI.dll_public:_void___thiscall_CLibCell::destructor_void_]
lea ecx, [esp + 0x44]
mov dword [esp + 0x208], 0xffffffff
call sub.mfc90.dll_Ordinal_781
mov eax, 1
jmp 0x406108
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 0xa4]
push edx
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDB::FindCell_class_CCellDBCell___char_const__]
test eax, eax
je 0x406044
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x3c]
call dword [sym.imp.LibManagerDBPI.dll_public:_long_int___thiscall_CLibCell::GetPartitionNames_class_CStringArray___char_const__]
test eax, eax
jne 0x405f8a
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jne 0x405fb2
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x3c]
call dword [sym.imp.LibManagerDBPI.dll_public:_long_int___thiscall_CLibCell::GetBadPartitionNames_class_CStringArray___char_const__]
cmp eax, ebx
jne 0x40618b
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x40618b
jle 0x406122
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x40]
call dword [sym.imp.LibManagerDBPI.dll_public:_long_int___thiscall_CLibCell::GetType_int___char_const___char_const__]
cmp eax, ebx
jne 0x406127
cmp dword [esp + 0x60], ebx
jl 0x406086
mov eax, dword [esp + 0x30]
cmp eax, 8
je 0x406086
cmp eax, ebx
jne 0x406086
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0xbc]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::GetPackageGroup_enum_CCellDB::ePackageGroup__]
cmp dword [esp + 0x2c], 0x14
je 0x406086
lea esi, [edi + 0x1c4]
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_2327]
push ebx
push ebx
push 1
push esi
mov ecx, edi
call fcn.00410490
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x208], 0xb
jmp 0x405ed1
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x160]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::GetCellType_enum_CCellDB::eCellType__]
cmp dword [esp + 0x5c], ebx
jne 0x406086
mov eax, dword [esp + 0x30]
cmp eax, 8
je 0x406086
cmp eax, ebx
jne 0x406086
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xbc]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::GetPackageGroup_enum_CCellDB::ePackageGroup__]
cmp dword [esp + 0x2c], 0x14
jne 0x406236
push ebx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0xc0]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::GetNextNestedCell_class_CCellDBNestedCell___int_]
cmp eax, ebx
je 0x405ce1
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x4060b1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [edi + 0xa4]
push 0x201
push ebx
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDB::GetNextCell_class_CCellDBCell___int__int_]
cmp eax, ebx
je 0x405c99
or esi, 0xffffffff
lea ecx, [esp + 0x7c]
mov byte [esp + 0x208], 1
call dword [sym.imp.TreeMemClasses.dll_public_virtual:_void___thiscall_CNdxName::destructor_void_]
lea ecx, [esp + 0x34]
call dword [sym.imp.LibManagerDBPI.dll_public:_void___thiscall_CLibCell::destructor_void_]
lea ecx, [esp + 0x44]
mov dword [esp + 0x208], esi
call sub.mfc90.dll_Ordinal_781
xor eax, eax
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret
call sub.mfc90.dll_Ordinal_1252
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x80]
call esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push str.NESTED_CELL
lea edx, [esp + 0x18]
push 0xe4
mov bl, 9
push edx
mov byte [esp + 0x214], bl
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea esi, [edi + 0x1c4]
push 0x70
push esi
call ebp
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x48]
push esi
push eax
call fcn.00403940
add esp, 0x28
mov byte [esp + 0x208], 0xa
jmp 0x4061ed
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x80]
call esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x4284b8
lea edx, [esp + 0x18]
push 0xe4
mov bl, 7
push edx
mov byte [esp + 0x214], bl
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea esi, [edi + 0x1c4]
push 0x70
push esi
call ebp
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x48]
push esi
push eax
call fcn.00403940
add esp, 0x28
mov byte [esp + 0x208], 8
push eax
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x28]
mov byte [esp + 0x208], bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0
push 0
push 1
push esi
mov ecx, edi
call fcn.004104f0
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_2327]
push 0
push 0
push 1
push esi
mov ecx, edi
call fcn.004104f0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jmp 0x405efb
lea esi, [edi + 0x1c4]
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_2327]
push ebx
push ebx
push 1
push esi
mov ecx, edi
call fcn.00410490
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push 0x103
push edx
mov byte [esp + 0x214], 0xc
call ebp
add esp, 0xc
push ebx
push ebx
push 1
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004104f0
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x406296
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x20]
jmp 0x405f09