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

Disassembly:
push 0xffffffffffffffff
push 0x522adf0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.051af340
mov dword [esp + 0x90], ebx
mov esi, dword [esp + 0x98]
push esi
mov ecx, 0x53f4cc8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebx
call fcn.050674e0
lea ecx, [esp + 0x48]
test al, al
jne 0x5139dec
push str._ERROR:
push 0xff
push 0x6e7
push str..FunctionPlatformInit.cpp
call fcn.051ae270
mov byte [esp + 0x90], 1
mov ecx, dword [0x56bc0f0]
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_invalid_handle_
push ecx
push eax
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x48]
call fcn.051ae2c0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
lea eax, [ebx + 0xd]
jmp 0x513a436
mov ebp, dword [esp + 0x9c]
cmp ebp, ebx
jne 0x5139e65
push str._ERROR:
push 0xff
push 0x6ee
push str..FunctionPlatformInit.cpp
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x90], 2
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push str.META_GetTargetRequiredMetaVer_r__:_invalid_argument_
push eax
push edi
call fcn.051ae2d0
add esp, 0xc
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x48]
call fcn.051ae2c0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
mov eax, 0xa
jmp 0x513a436
push 0x52c722a
push 1
push 0x6f2
push str..FunctionPlatformInit.cpp
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x90], 3
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.__d__________Request________
push eax
push edi
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x48]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x6f4
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x58]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x90], 4
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [eax + 8]
push 0xd
push 0xd
mov dword [esp + 0x30], edx
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
mov eax, dword [str.NO_TYPE]
push ebx
push eax
push 0xc
push 0xc
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x3c]
push eax
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_req_s__d____s__d___cnf_s__d_
push ecx
push edi
call fcn.051ae2d0
add esp, 0x28
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x48]
call fcn.051ae2c0
cmp byte [esp + 0x3c], bl
jne 0x5139fa1
push str._ERROR:
push 0xff
push 0x6f9
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x58]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x90], 5
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_create_hEventReady_fail_
push eax
push edi
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x48]
call fcn.051ae2c0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
mov eax, 9
jmp 0x513a436
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0x424
push eax
lea edx, [esp + 0x44]
push edx
push 0x5130a70
push ebx
push 0xd
push 0xc
push esi
lea ecx, [esp + 0x78]
call fcn.051ada80
mov byte [esp + 0x90], 6
lea ecx, [esp + 0x5c]
call fcn.051adbc0
push 0x52c722a
push 1
push 0x6ff
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x58]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x90], 7
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_waiting_for_target_ready_confirm_...
push eax
push edi
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x90], 6
lea ecx, [esp + 0x48]
call fcn.051ae2c0
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x513a0cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str._ERROR:
push 0xff
push 0x705
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x58]
mov edi, eax
call fcn.051ae270
mov ebp, eax
mov byte [esp + 0x90], 8
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push edi
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_ResetEvent___failed___Err__u_.
mov eax, dword [eax + 8]
push eax
push ebp
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x90], 6
lea ecx, [esp + 0x48]
call fcn.051ae2c0
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x5c]
call fcn.051adbe0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
mov eax, 1
jmp 0x513a436
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
call fcn.051adb40
cmp eax, ebx
je 0x513a15e
sub eax, 1
je 0x513a12e
sub eax, 1
je 0x513a127
sub eax, 1
je 0x513a120
mov esi, 1
jmp 0x513a133
mov esi, 8
jmp 0x513a133
mov esi, 9
jmp 0x513a133
mov esi, 0xa
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x5c]
call fcn.051adbe0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
mov eax, esi
jmp 0x513a436
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
call sym.META_DLL.dll_META_GetDLLVer
mov edi, dword [esp + 0x18]
shl edi, 8
or edi, dword [esp + 0x1c]
shl edi, 0x10
or edi, dword [esp + 0x20]
push edi
push 0xc
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push eax
push str.meta_ver_from_pc
push ecx
push edx
call fcn.05038040
add esp, 0x14
push 1
lea ecx, [esp + 0x60]
call fcn.051adc20
test al, al
jne 0x513a245
push str._ERROR:
push 0xff
push 0x72b
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x58]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x90], 9
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push ecx
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_SendPrimitive_local_len_d__fail_
push eax
push edi
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x90], 6
lea ecx, [esp + 0x48]
call fcn.051ae2c0
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x5c]
call fcn.051adbe0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
mov eax, 2
jmp 0x513a436
mov edx, dword [esp + 0x40]
push 0x5dc
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x513a29f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str._ERROR:
push 0xff
push 0x734
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x58]
mov edi, eax
call fcn.051ae270
mov ebp, eax
mov byte [esp + 0x90], 0xa
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
push edi
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_WaitForSingleObject___failed___Err__u_.
jmp 0x513a083
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 0x424]
push 0x52c722a
push 1
push 0x73a
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x58]
mov dword [ebp], eax
call fcn.051ae270
mov dword [esp + 0x38], eax
mov byte [esp + 0x90], 0xb
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebp]
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x38]
push ecx
push ebp
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_p_meta_ver_required_by_target_0x_08X_0x_08X.
push eax
push edx
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x90], 6
lea ecx, [esp + 0x48]
call fcn.051ae2c0
mov eax, dword [ebp]
mov ecx, eax
xor ecx, edi
test ecx, 0xffff0000
jne 0x513a3ac
movzx edx, ax
movzx eax, di
cmp edx, eax
ja 0x513a3ac
push 0x52c722a
push 1
push 0x745
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x58]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x90], 0xd
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_OK.
push eax
push edi
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x90], 6
lea ecx, [esp + 0x48]
call fcn.051ae2c0
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x5c]
call fcn.051adbe0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
xor eax, eax
jmp 0x513a436
push str._ERROR:
push 0xff
push 0x741
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x58]
call fcn.051ae270
mov dword [esp + 0x38], eax
mov byte [esp + 0x90], 0xc
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebp]
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x38]
push edi
push ecx
push esi
push str.__d__META_GetTargetRequiredMetaVer_r__:_target_required_META_DLL_doesnt_match_the_META_DLL_you_used_now___meta_ver_required_by_target_0x_08X____meta_ver_from_pc_0x_08X_.
push eax
push edx
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x90], 6
lea ecx, [esp + 0x48]
call fcn.051ae2c0
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x5c]
call fcn.051adbe0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
mov eax, 0x18
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8