Function at 0x5193b10
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52314a0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
lea eax, [ebx + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.05019230
mov dword [esp + 0x78], 0
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x2c]
lea ecx, [ebx + 0x44]
push eax
mov dword [esp + 0x24], ecx
call fcn.051916c0
lea ecx, [esp + 0x54]
call fcn.051925a0
mov byte [esp + 0x78], 1
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
lea ecx, [ecx]
test edi, edi
je 0x5193b98
cmp edi, ebp
je 0x5193b9e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x34]
je 0x5193d72
test edi, edi
jne 0x5193c01
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5193bbf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x88]
cmp dword [esi + 0x14], ecx
jne 0x5193bee
test edi, edi
jne 0x5193c05
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5193be2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x84]
cmp dword [esi + 0x10], edx
je 0x5193c09
lea ecx, [esp + 0x20]
call fcn.050660e0
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x5193b90
mov eax, dword [edi]
jmp 0x5193bb4
mov eax, dword [edi]
jmp 0x5193bd7
test edi, edi
jne 0x5193d5d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5193c24
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov ebx, dword [esi + 0x10]
mov ebp, dword [esi + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
test edi, edi
jne 0x5193d64
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5193c61
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x24], 0xfffffff
je 0x5193cb7
test edi, edi
jne 0x5193d6b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 0x18]
jne 0x5193c83
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add dword [esi + 0x24], 0xffffffff
jne 0x5193cb7
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x60]
call fcn.051914a0
push 1
lea ecx, [esp + 0x58]
mov esi, eax
call fcn.05191550
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
push 0x52c722a
push 1
push 0x1f0
push str..MetaUtilityCallback.cpp
lea ecx, [esp + 0x38]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x88]
push ebp
push eax
mov eax, dword [esp + 0x8c]
push eax
push eax
call sym.META_DLL.dll_META_GetPrimitiveTypeName
movsx ecx, word [esp + 0x98]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [edx + 8]
push str.eng_cb_map::Get_cb
push ecx
push str.token__d_:__s__:__s__d____d__cb_0x_08X_
push eax
push esi
call fcn.051ae2d0
add esp, 0x24
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x28]
call fcn.051ae2c0
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esi], ebx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x54]
call fcn.051924d0
jmp 0x5193edb
mov eax, dword [edi]
jmp 0x5193c19
mov eax, dword [edi]
jmp 0x5193c56
mov edi, dword [edi]
jmp 0x5193c78
test edi, edi
je 0x5193d7a
cmp edi, ebp
je 0x5193d84
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
call ebp
jmp 0x5193d8a
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
push 0x52c722a
push 1
push 0x1f8
push str..MetaUtilityCallback.cpp
lea ecx, [esp + 0x38]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x78], 3
mov edx, dword [esp + 0x88]
mov eax, dword [str.NO_TYPE]
push edx
push eax
mov eax, dword [esp + 0x8c]
push eax
push eax
call sym.META_DLL.dll_META_GetPrimitiveTypeName
movsx ecx, word [esp + 0x98]
mov edx, dword [ebx + 8]
push eax
push str.eng_cb_map::Get_cb
push ecx
push str.token__d_:__s__:__s__d____s__d_:_Engineering_callback_not_found
push edx
push esi
call fcn.051ae2d0
add esp, 0x24
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x28]
call fcn.051ae2c0
mov eax, dword [esp + 0x68]
mov esi, dword [eax]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x68]
test edi, edi
je 0x5193e0e
cmp edi, dword [esp + 0x54]
je 0x5193e10
call ebp
cmp esi, ebx
je 0x5193e54
test edi, edi
jne 0x5193e4c
call ebp
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x5193e23
call ebp
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0506a880
test edi, edi
jne 0x5193e50
call ebp
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x5193e48
call ebp
mov esi, dword [esi]
jmp 0x5193e00
mov eax, dword [edi]
jmp 0x5193e1c
mov eax, dword [edi]
jmp 0x5193e41
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esi], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x50]
xor eax, eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov byte [esp + 0x78], 4
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x68]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x6c], 0
cmp eax, ecx
je 0x5193ebb
mov edi, dword [eax]
push eax
call sub.mfc90.dll_Ordinal_800
mov ecx, dword [esp + 0x6c]
add esp, 4
mov eax, edi
cmp edi, ecx
jne 0x5193ea6
push ecx
call sub.mfc90.dll_Ordinal_800
mov dword [esp + 0x6c], 0
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x58]
push eax
call sub.mfc90.dll_Ordinal_800
add esp, 8
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.05019250
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10