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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xd
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x509e1c
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], 0
je 0x509b3e
mov eax, dword [ebp + 8]
push dword [eax + 0x28]
call sym.X86RunHoudini.exe_LookupObjectDefinition
pop ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x509b3e
push 0
push str.super
push 0x6d
push str.ObjectDefinitionConverter.cpp
push 4
push 0x83
call fcn.004a4f70
add esp, 0x18
mov ecx, dword [ebp + 8]
call fcn.004dacd0
mov ecx, dword [ebp + 8]
call fcn.004dac50
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 0
je 0x509b6b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x20], ecx
jmp 0x509b84
inc dword [ebp - 0x18]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x509b76
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x14], 0
je 0x509ba0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x28], ecx
jmp 0x509bc0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x20], ecx
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x509bab
cmp dword [ebp - 0x14], 0
je 0x509bd4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x30]
jmp 0x509bd9
mov edx, 0
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 0x30], ecx
jmp 0x509c34
mov eax, dword [ebp - 0x30]
test dword [eax + 0x24], 8
je 0x509c13
push 0
push str.0___item__userFlags__systemPropertyVirtual_
push 0x9c
push str.ObjectDefinitionConverter.cpp
push 4
push 0x83
call fcn.004a4f70
add esp, 0x18
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x509c1f
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x54], 0
je 0x509c2b
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jne 0x509be7
cmp dword [ebp - 0x14], 0
je 0x509c48
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x38]
jmp 0x509c4d
mov edx, 0
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp + 8]
call fcn.004dab80
mov dword [ebp - 0x38], eax
jmp 0x509d14
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x40], 3
je 0x509d0b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
cmp dword [eax + 0x3c], ecx
je 0x509d08
mov dword [ebp - 8], 0
push str.Manifest_file_outdated_
call fcn.0040d340
pop ecx
push eax
push str.Manifest_file_outdated_
lea ecx, [ebp - 8]
call fcn.00589f70
cmp dword [ebp - 8], 0
je 0x509cae
mov ebx, dword [ebp - 8]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x38
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0058b180
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.0058a690
push eax
push str.item__mPropertyTableIndex__propertyCount
push 0xaa
push str.ObjectDefinitionConverter.cpp
push 4
push 0x83
call fcn.004a4f70
add esp, 0x18
cmp dword [ebp - 0xc], 0
je 0x509cfa
mov ecx, dword [ebp - 0xc]
call fcn.00589d70
cmp dword [ebp - 8], 0
je 0x509d08
mov ecx, dword [ebp - 8]
call fcn.00589d70
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
jne 0x509c60
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
cmp dword [ebp - 0x34], ecx
je 0x509d49
push 0
push str.propertyCount__defn__mPropertyTableSize
push 0xad
push str.ObjectDefinitionConverter.cpp
push 4
push 0x83
call fcn.004a4f70
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x509d57
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
jmp 0x509d5c
mov eax, 0
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call sym.X86RunHoudini.exe_RuntimeNewClass
add esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x509d9d
push 0
push 0x5ff18a
push 0xb5
push str.ObjectDefinitionConverter.cpp
push 4
push 0x83
call fcn.004a4f70
add esp, 0x18
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.0058a350
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
cmp byte [eax + 0x78], 0
je 0x509de8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 1
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00509f60
pop ecx
pop ecx
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0050a040
pop ecx
pop ecx
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00509e30
pop ecx
pop ecx
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0050a180
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 4]
pop ebx
pop ebp
ret