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

Disassembly:
push 0xffffffffffffffff
push 0x522e639
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x93c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x954]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x970]
mov eax, dword [esp + 0x96c]
mov ebp, dword [esp + 0x964]
mov ebx, dword [esp + 0x974]
mov dword [esp + 0x14], ecx
xor esi, esi
push ebp
mov ecx, 0x53f4cc8
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
call fcn.050674e0
test al, al
jne 0x516108a
push str._ERROR:
push 0xff
push 0x18a
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x78]
call fcn.051ae270
mov dword [esp + 0x95c], esi
mov edx, dword [0x56bc0f0]
push ebp
push str.__d__META_MiscExCmd_InternalGeneralFunction_r__:_invalid_handle_
push edx
push eax
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.051ae2c0
lea eax, [esi + 0xd]
jmp 0x5161bbb
movzx edi, byte [esp + 0x978]
cmp edi, 0xc
ja case.0x51610a2.4
movzx eax, byte [edi + 0x5161bf8]
jmp dword [eax*4 + 0x5161be8]
cmp dword [esp + 0x24], esi
jne case.0x51610a2.4
push str._ERROR:
push 0xff
push 0x195
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x78]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x95c], 1
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push ebx
push ebp
push str.__d___s__:_invalid_arguments____req_arg_0x_08X_.
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.051ae2c0
mov eax, 0xa
jmp 0x5161bbb
cmp dword [esp + 0x14], esi
jne case.0x51610a2.4
push str._ERROR:
push 0xff
push 0x1a2
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x8c]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x95c], 2
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push ebx
push ebp
push str.__d___s__:_invalid_arguments____cnf_arg_0x_08X_.
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.051ae2c0
mov eax, 0xa
jmp 0x5161bbb
cmp dword [esp + 0x24], esi
je 0x516119c
cmp dword [esp + 0x14], esi
jne case.0x51610a2.4
push str._ERROR:
push 0xff
push 0x1ae
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0x95c], 3
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 8]
push ecx
push edx
push ebx
push ebp
push str.__d___s__:_invalid_arguments____req_arg_0x_08X___cnf_arg_0x_08X_.
push eax
push esi
call fcn.051ae2d0
add esp, 0x1c
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov eax, 0xa
jmp 0x5161bbb
push 0x52c722a
push 1
push 0x1b9
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov dword [esp + 0x28], eax
mov dword [esp + 0x95c], 4
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebp
push str.__d__________Request________
push eax
mov eax, dword [esp + 0x34]
push eax
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x1ba
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov dword [esp + 0x44], eax
mov dword [esp + 0x95c], 5
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [eax + 8]
push 0x50
push 0x50
mov dword [esp + 0x30], ecx
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov edx, dword [edi*4 + 0x527f0a8]
push eax
push edi
push edx
push 0x4f
push 0x4f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x40]
push ebx
push ebp
push str.__d___s__:_req_s__d____s__d___cnf_s__d_
push eax
push ecx
call fcn.051ae2d0
add esp, 0x2c
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
lea ecx, [esp + 0x98]
call fcn.05160240
mov dword [esp + 0x95c], 6
push 1
push esi
lea edx, [esp + 0xa0]
push edx
push 0x51606c0
push edi
push 0x50
lea eax, [esp + 0x34]
push eax
push ebp
lea ecx, [esp + 0x70]
mov byte [esp + 0xc4], 0
mov dword [esp + 0x198], ebp
call fcn.050659a0
mov byte [esp + 0x95c], 7
mov dword [esp + 0x20], esi
cmp byte [esp + 0x978], 1
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
jne 0x516141c
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [eax + 0xd568]
push ecx
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x95c], 8
mov esi, dword [esp + 0x90]
push 0x52c722a
push 1
push 0x1cd
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
lea esi, [esi + esi + 2]
call fcn.051ae270
mov dword [esp + 0x28], eax
mov byte [esp + 0x95c], 9
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [eax + 8]
push esi
push ebp
mov ecx, 0x53f4cc8
mov dword [esp + 0x4c], edx
call fcn.05065960
mov eax, dword [eax + 0xd568]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push eax
push ebx
push ebp
push str.__d___s__:file_name:_s__record_len:_d
push ecx
push edx
call fcn.051ae2d0
add esp, 0x1c
mov byte [esp + 0x95c], 8
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov byte [esp + 0x95c], 7
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x10600
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
push 0x4f
push edx
push ebp
call fcn.051a85f0
add esp, 0x28
test eax, eax
je 0x51614a7
sub eax, 1
je 0x5161473
sub eax, 1
je 0x516146c
sub eax, 1
je 0x5161465
mov esi, 1
jmp 0x5161478
mov esi, 8
jmp 0x5161478
mov esi, 9
jmp 0x5161478
mov esi, 0xa
mov byte [esp + 0x95c], 6
lea ecx, [esp + 0x50]
call fcn.05065ae0
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x98]
call fcn.051601f0
mov eax, esi
jmp 0x5161bbb
mov eax, dword [esp + 0x978]
push eax
push 0x4f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push eax
push str.type
push ecx
push edx
push ebp
call fcn.05019f90
lea eax, [edi - 1]
add esp, 0x18
cmp eax, 0xb
ja case.0x51614e2.2
movzx eax, byte [eax + 0x5161c20]
jmp dword [eax*4 + 0x5161c08]
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [eax + 0xd568]
push ecx
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x95c], 0xa
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x40]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esp + 0x50]
add eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.051a8f60
add esp, 0xc
test eax, eax
je 0x51615a9
push str._ERROR:
push 0xff
push 0x1f6
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x95c], 0xb
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push ebp
push str.__d___s:_CopyWideCharStrToBuf__:_failed_
push eax
push esi
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x95c], 0xa
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov byte [esp + 0x95c], 7
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x5161b8e
mov byte [esp + 0x95c], 7
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp case.0x51614e2.2
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
push eax
push 0x4f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push eax
push str.cmd.m_i4ErsDataIndex
push ecx
push edx
push ebp
call fcn.050fe6b0
jmp 0x5161651
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax]
push ecx
push 0x4f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
push str.cmd.u1BPAreaFastCheck
push edx
push eax
push ebp
call fcn.05019f90
jmp 0x5161651
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push edx
push 0x4f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push str.cmd.m_u4SDSMode
push eax
push ecx
jmp 0x516164b
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
push eax
push 0x4f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push eax
push str.cmd.m_u4SetCmd2System
push ecx
push edx
push ebp
call fcn.0501a0b0
add esp, 0x18
cmp dword [esp + 0x40], 0
push 1
je 0x516171a
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.05032d60
add esp, 0x18
test al, al
jne 0x5161773
push str._ERROR:
push 0xff
push 0x21c
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x95c], 0xc
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x18]
movsx edx, word [esp + 0x1c]
push ecx
push edx
mov eax, dword [eax + 8]
push ebx
push ebp
push str.__d___s_token_d_:_SendPrimitive_local_len_d__fail_
push eax
push esi
call fcn.051ae2d0
add esp, 0x1c
mov byte [esp + 0x95c], 7
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov byte [esp + 0x95c], 6
lea ecx, [esp + 0x50]
call fcn.05065ae0
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x98]
call fcn.051601f0
mov eax, 2
jmp 0x5161bbb
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.05048250
add esp, 0x10
test al, al
jne 0x5161773
push str._ERROR:
push 0xff
push 0x224
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x95c], 0xd
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [esp + 0x18]
movsx ecx, word [esp + 0x1c]
push edx
push ecx
jmp 0x51616c3
push 0x52c722a
push 1
push 0x229
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x95c], 0xe
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebp
push str.__d______Request_End.
push eax
push esi
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x95c], 7
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [eax + 0xa8d4]
mov ecx, dword [esp + 0x968]
add eax, 0xa8d0
mov eax, dword [esp + 0x9c]
push ecx
mov dword [esp + 0x64], edx
push 0
lea edx, [esp + 0x68]
push edx
push 2
mov dword [esp + 0x74], eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x51618ef
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xa800
lea esi, [eax + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x95c], 0xf
mov eax, dword [esp + 0x1c]
push eax
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xa800
call fcn.05192530
push str._WARNING:
push 0xd2
push 0x238
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x95c], 0x10
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx ecx, word [esp + 0x1c]
mov eax, dword [eax + 8]
push ecx
push ebx
push ebp
push str.__d___s_token_d_:_Cancel_
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x95c], 0xf
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov byte [esp + 0x95c], 7
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov byte [esp + 0x95c], 6
lea ecx, [esp + 0x50]
call fcn.05065ae0
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x98]
call fcn.051601f0
mov eax, 0x1e
jmp 0x5161bbb
cmp eax, 1
jne 0x5161a8e
cmp edi, 0xa
ja case.0x5161901.1
jmp dword [edi*4 + 0x5161c2c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
jmp case.0x5161901.1
mov edi, dword [esp + 0x14]
push 0xc8
push 0
push edi
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x178]
mov ecx, 0x32
lea esi, [esp + 0xb0]
mov dword [eax + 0xc8], edx
mov dl, byte [esp + 0x17e]
rep movsd dword es:[edi], dword [esi]
mov cx, word [esp + 0x17c]
mov word [eax + 0xcc], cx
add esp, 0xc
mov byte [eax + 0xce], dl
jmp case.0x5161901.1
mov eax, dword [esp + 0xa4]
cmp eax, 4
jbe 0x51619a8
mov eax, dword [esp + 0x14]
mov dword [eax], 4
jmp case.0x5161901.1
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
jmp case.0x5161901.1
mov cl, byte [esp + 0xa4]
mov edx, dword [esp + 0x14]
mov byte [edx], cl
jmp case.0x5161901.1
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
cmp dword [esp + 0x174], 0
lea ecx, [esp + 0x2c]
je 0x5161a09
push str._ERROR:
push 0xff
push 0x294
push str..FunctionPlatformMETA_misc_ex.cpp
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x95c], 0x13
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [esp + 0x174]
movsx ecx, word [esp + 0x1c]
mov eax, dword [eax + 8]
push edx
push ecx
push ebx
push ebp
push str.__d___s_token_d_:_misc_ex_cnf.m_Status__d_.
push eax
push esi
jmp 0x5161b75
push 0x52c722a
push 1
push 0x298
push str..FunctionPlatformMETA_misc_ex.cpp
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x95c], 0x14
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx edx, word [esp + 0x1c]
mov eax, dword [eax + 8]
push edx
push ebx
push ebp
push str.__d___s_token_d_:_OK.
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x95c], 7
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov byte [esp + 0x95c], 6
lea ecx, [esp + 0x50]
call fcn.05065ae0
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x98]
call fcn.051601f0
xor eax, eax
jmp 0x5161bbb
cmp eax, 0x102
jne 0x5161b28
push str._ERROR:
push 0xff
push 0x242
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x95c], 0x11
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx ecx, word [esp + 0x1c]
mov eax, dword [eax + 8]
push ecx
push ebx
push ebp
push str.__d___s_token_d_:_WaitForMultipleObjects___timeout_
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x95c], 7
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov byte [esp + 0x95c], 6
lea ecx, [esp + 0x50]
call fcn.05065ae0
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x98]
call fcn.051601f0
mov eax, 0xb
jmp 0x5161bbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str._ERROR:
push 0xff
push 0x249
push str..FunctionPlatformMETA_misc_ex.cpp
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x95c], 0x12
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx edx, word [esp + 0x1c]
mov eax, dword [eax + 8]
push esi
push edx
push ebx
push ebp
push str.__d___s_token_d_:_WaitForMultipleObjects___failed___Err__u_.
push eax
push edi
call fcn.051ae2d0
add esp, 0x1c
mov byte [esp + 0x95c], 7
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov byte [esp + 0x95c], 6
lea ecx, [esp + 0x50]
call fcn.05065ae0
mov dword [esp + 0x95c], 0xffffffff
lea ecx, [esp + 0x98]
call fcn.051601f0
mov eax, 1
mov ecx, dword [esp + 0x954]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x93c]
xor ecx, esp
call fcn.0520b902
add esp, 0x94c
ret 0x18