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

Disassembly:
push 0xffffffffffffffff
push 0x5231520
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 edi, ecx
mov dword [esp + 0x18], edi
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.05019230
mov dword [esp + 0x78], 0
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x2c]
lea ecx, [edi + 0x44]
push eax
mov dword [esp + 0x24], ecx
call fcn.051916c0
lea ecx, [esp + 0x54]
call fcn.051925a0
mov byte [esp + 0x78], 1
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
lea ecx, [ecx]
test ebp, ebp
je 0x5193f98
cmp ebp, ebx
je 0x5193f9e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x34]
je 0x519417c
test ebp, ebp
jne 0x5193fde
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5193fbf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x84]
cmp dword [esi + 0x10], ecx
je 0x5193fe3
lea ecx, [esp + 0x20]
call fcn.050660e0
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
jmp 0x5193f90
mov eax, dword [ebp]
jmp 0x5193fb4
test ebp, ebp
jne 0x5194164
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5193ffe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
test ebp, ebp
jne 0x519416c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x519403b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x24], 0xfffffff
je 0x5194092
test ebp, ebp
jne 0x5194174
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [ebp + 0x18]
jne 0x519405d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add dword [esi + 0x24], 0xffffffff
jne 0x5194092
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 4]
lea ebp, [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 [ebp], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
push 0x52c722a
push 1
push 0x218
push str..MetaUtilityCallback.cpp
lea ecx, [esp + 0x38]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x84]
push edi
push eax
push eax
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 8]
push eax
movsx eax, word [esp + 0x94]
push str.eng_cb_map::GetCbByToken
push eax
push str.token__d_:__s__:__s__d___cb_0x_08X_
push edx
push esi
call fcn.051ae2d0
add esp, 0x20
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x28]
call fcn.051ae2c0
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov byte [esp + 0x78], 3
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]
xor ebx, ebx
mov dword [esp + 0x6c], ebx
cmp eax, ecx
je 0x5194155
nop
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 0x5194140
push ecx
call sub.mfc90.dll_Ordinal_800
mov dword [esp + 0x6c], ebx
jmp 0x51942c9
mov eax, dword [ebp]
jmp 0x5193ff3
mov eax, dword [ebp]
jmp 0x5194030
mov ebp, dword [ebp]
jmp 0x5194052
test ebp, ebp
je 0x5194184
cmp ebp, ebx
je 0x519418e
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
call ebx
jmp 0x5194194
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
push 0x52c722a
push 1
push 0x220
push str..MetaUtilityCallback.cpp
lea ecx, [esp + 0x38]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x84]
push eax
push eax
call sym.META_DLL.dll_META_GetPrimitiveTypeName
movsx edx, word [esp + 0x8c]
push eax
mov eax, dword [edi + 8]
push str.eng_cb_map::GetCbByToken
push edx
push str.token__d_:__s__:__s__d_:_Engineering_callback_not_found
push eax
push esi
call fcn.051ae2d0
add esp, 0x1c
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x28]
call fcn.051ae2c0
mov ecx, dword [esp + 0x68]
mov esi, dword [ecx]
mov edi, dword [esp + 0x54]
lea esp, [esp]
mov ebp, dword [esp + 0x68]
test edi, edi
je 0x519420e
cmp edi, dword [esp + 0x54]
je 0x5194210
call ebx
cmp esi, ebp
je 0x5194254
test edi, edi
jne 0x519424c
call ebx
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x5194223
call ebx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0506a880
test edi, edi
jne 0x5194250
call ebx
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x5194248
call ebx
mov esi, dword [esi]
jmp 0x5194200
mov eax, dword [edi]
jmp 0x519421c
mov eax, dword [edi]
jmp 0x5194241
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov dword [esi], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov byte [esp + 0x78], 8
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 0x51942bb
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 0x51942a6
push ecx
call sub.mfc90.dll_Ordinal_800
mov dword [esp + 0x6c], 0
mov byte [esp + 0x7c], 0
mov ecx, dword [esp + 0x58]
push ecx
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 0xc