joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51a95c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52337f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x51a9651
push str._ERROR:
push 0xff
push 0x10a
push str..MetaUtilityMetaDlWrapper.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x30], edi
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push edi
push ecx
push str.__d__CMetaDlWrapper::GetStructMemberAlignmentInternal__:_dbParser_0x_p_
push edx
push eax
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xfffffc18
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.05003fa0
mov esi, eax
test esi, esi
jne 0x51a9689
mov edx, dword [esp + 0x40]
mov dword [edx], 0xffffffff
lea eax, [esi - 2]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.05194310
mov dword [esp + 0x30], 1
push esi
mov ecx, edi
call fcn.05003d50
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.05194330
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10

Function at 0x51a9920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52337f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x51a99b1
push str._ERROR:
push 0xff
push 0x14e
push str..MetaUtilityMetaDlWrapper.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x30], edi
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push edi
push ecx
push str.__d__CMetaDlWrapper::GetStructMemberSizeInternal__:_dbParser_0x_p_
push edx
push eax
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xfffffc18
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.05003fa0
mov esi, eax
test esi, esi
jne 0x51a99e9
mov edx, dword [esp + 0x40]
mov dword [edx], 0xffffffff
lea eax, [esi - 2]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.05194310
mov dword [esp + 0x30], 1
push esi
mov ecx, edi
call fcn.05003d90
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.05194330
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x51a9fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52337f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x40]
test edi, edi
jne 0x51aa03e
push str._ERROR:
push 0xff
push 0x271
push str..MetaUtilityMetaDlWrapper.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x30], edi
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push edi
push ecx
push str.__d__CMetaDlWrapper::GetStructMemberTypeNameInternal__:_dbParser_0x_p_
push edx
push eax
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.05003fa0
mov esi, eax
test esi, esi
je 0x51aa028
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.05194310
mov dword [esp + 0x30], 1
push edi
lea edx, [esp + 0x44]
push edx
push esi
mov dword [esp + 0x4c], 0
call fcn.051a9e40
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.05194330
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0xc

Function at 0x51aa0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52337f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x51aa171
push str._ERROR:
push 0xff
push 0x28c
push str..MetaUtilityMetaDlWrapper.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x30], edi
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push edi
push ecx
push str.__d__CMetaDlWrapper::GetStructMemberDimensionInternal__:_dbParser_0x_p_
push edx
push eax
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xfffffc18
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.05003fa0
mov esi, eax
test esi, esi
jne 0x51aa1a5
mov edx, dword [esp + 0x40]
mov dword [edx], eax
lea eax, [esi - 2]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.05194310
mov dword [esp + 0x30], 1
push esi
mov ecx, edi
call fcn.05003da0
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.05194330
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 0x10
Function at 0x51ada80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5233ddb
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
xor eax, eax
lea edi, [esi + 8]
mov word [edi], ax
or eax, 0xffffffff
push 0x10
mov dword [esi], vtable.CPrimitiveMessage.0
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x51adb15
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 1
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
push ebp
push edi
push ebx
mov ecx, eax
call fcn.050659a0
jmp 0x51adb17
xor eax, eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x28], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x51aeec0
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push eax
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp eax, 0xb7
jne 0x51aeef2
push str.META_HANDLE_already_occupied
call ebx
cmp dword [esi], 0
jne 0x51aef27
call edi
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0x10]
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
ret 4

Function at 0x51af470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
ret

Function at 0x51af490
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x51af4a3
xor al, al
ret
shr al, 4
and al, 1
ret
Function at 0x51afd30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5234191
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.051af660
test al, al
jne 0x51afd74
mov eax, 1
jmp 0x51afe89
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
test ebp, ebp
je 0x51afe39
test ebx, ebx
jbe 0x51afe39
test edi, edi
je 0x51afe39
mov dword [edi], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test al, al
je 0x51afdb5
mov eax, 3
jmp 0x51afe89
mov eax, dword [esi + 0x880]
push eax
push ebx
push 1
push ebp
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp byte [esp + 0x48], 0
mov dword [edi], eax
je 0x51afe18
push 0x52c722a
push 1
push 0x15f
push str..SysUtilityMETA_SysUtility.cpp
lea ecx, [esp + 0x28]
call fcn.051ae270
mov ecx, 1
mov dword [esp + 0x34], ecx
mov edx, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x880]
push ecx
mov ecx, dword [esi + 4]
push edx
push edi
push ebx
push ebp
push str.IO_FILE::Read__:_fread__:_buf_0x_08X___len_to_read__lu___p_read_len_0x_08X__lu__m_fp_0x_08X_.
push ecx
push eax
call fcn.051ae2d0
add esp, 0x20
mov dword [esp + 0x34], 0xffffffff
test byte [esp + 0x14], 1
je 0x51afe35
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x18]
call fcn.051ae2c0
xor eax, eax
jmp 0x51afe89
push str._ERROR:
push 0xff
push 0x150
push str..SysUtilityMETA_SysUtility.cpp
lea ecx, [esp + 0x28]
call fcn.051ae270
mov dword [esp + 0x34], 0
mov edx, dword [esi + 4]
push edi
push ebx
push ebp
push str.IO_FILE::Read__:_invalid_arguments___buf_0x_08X___len_to_read__lu___p_read_len_0x_08X_.
push edx
push eax
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.051ae2c0
mov eax, 2
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x51afea0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5234191
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.051af660
test al, al
jne 0x51afee4
mov eax, 1
jmp 0x51afff9
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
test ebp, ebp
je 0x51affa9
test ebx, ebx
jbe 0x51affa9
test edi, edi
je 0x51affa9
mov dword [edi], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test al, al
je 0x51aff25
mov eax, 3
jmp 0x51afff9
mov eax, dword [esi + 0x880]
push eax
push ebx
push 1
push ebp
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
cmp byte [esp + 0x48], 0
mov dword [edi], eax
je 0x51aff88
push 0x52c722a
push 1
push 0x17c
push str..SysUtilityMETA_SysUtility.cpp
lea ecx, [esp + 0x28]
call fcn.051ae270
mov ecx, 1
mov dword [esp + 0x34], ecx
mov edx, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x880]
push ecx
mov ecx, dword [esi + 4]
push edx
push edi
push ebx
push ebp
push str.IO_FILE::Write__:_fwrite__:_buf_0x_08X___len_to_write__lu___p_written_len_0x_08X__lu__m_fp_0x_08X_.
push ecx
push eax
call fcn.051ae2d0
add esp, 0x20
mov dword [esp + 0x34], 0xffffffff
test byte [esp + 0x14], 1
je 0x51affa5
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x18]
call fcn.051ae2c0
xor eax, eax
jmp 0x51afff9
push str._ERROR:
push 0xff
push 0x16e
push str..SysUtilityMETA_SysUtility.cpp
lea ecx, [esp + 0x28]
call fcn.051ae270
mov dword [esp + 0x34], 0
mov edx, dword [esi + 4]
push edi
push ebx
push ebp
push str.IO_FILE::Write__:_invalid_arguments___buf_0x_08X___len_to_write__lu___p_written_len_0x_08X_.
push edx
push eax
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.051ae2c0
mov eax, 2
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10

Function at 0x51b0e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52345d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x400
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push str._ERROR:
push 0xff
push 0x2d9
push str..SysUtilityMETA_SysUtility.cpp
lea ecx, [esp + 0x18]
call fcn.051ae270
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push str._s___s:__d_
push ecx
push eax
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 8]
call fcn.051ae2c0
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x24
ret
Function at 0x51b1f90
Capabilities:
Create pipe

Disassembly:
push esi
mov esi, ecx
cmp byte [esi], 0
push 0
push 0
je 0x51b1fb7
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
push eax
push eax
push 1
push 7
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x51b1fcd
mov edx, dword [esp + 0x10]
push 3
push 0
push 0
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 4], eax
pop esi
cmp eax, 0xffffffff
jne 0x51b1fe1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
ret 8
mov al, 1
ret 8

Function at 0x51b2020
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, ecx
mov ecx, dword [eax]
test edx, edx
jbe 0x51b2089
mov dword [esp + 0xc], edx
push ebx
jmp 0x51b2040
inc ecx
and ecx, 0xff
mov dl, byte [ecx + eax + 8]
movzx ebx, dl
add ebx, esi
and ebx, 0xff
mov esi, ebx
mov bl, byte [esi + eax + 8]
mov byte [ecx + eax + 8], bl
mov byte [esi + eax + 8], dl
movzx ebx, byte [ecx + eax + 8]
movzx edx, dl
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + eax + 8]
xor dl, byte [ebp]
inc edi
mov byte [edi - 1], dl
inc ebp
sub dword [esp + 0x10], 1
jne 0x51b2040
pop ebx
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebp
pop ecx
ret
Function at 0x51b2620
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5234570
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.051b2360
test eax, eax
je 0x51b2669
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
cmp dword [esi + 0x28], 0
je 0x51b26aa
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
mov edx, dword [esi + 0x10]
push edx
mov eax, dword [eax + 0x3c]
call eax
test al, al
jne 0x51b26aa
push str._META__Init_DHL_Frame_Comm_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x24], 0
je 0x51b26e4
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [esi + 0x10]
push eax
mov edx, dword [edx + 0x3c]
call edx
test al, al
jne 0x51b26e4
push str._META__Init_TST_Frame_Comm_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x10]
push eax
mov ecx, dword [esi + 0xc]
call fcn.051b6040
test al, al
jne 0x51b271d
push str._META__Init_META_protocol_header_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._META__Init_Message_Transmission_handle_OK_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x51b2f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52230c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x52c722a
push 1
push 0x386
push str..MetaCommHandleMETA_Adaptation.cpp
lea ecx, [esp + 0x1c]
call fcn.051ae270
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 8]
push edi
push str.CMetaAdaptation::SetCurrentCommBaudrate
push str._s__:Set_Baudrate___d_
push ecx
push eax
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.051ae2c0
mov dword [esi + 0xa4], edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x51b5380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x522f790
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x52c722a
push 1
push 0x1e9
push str..MetaCommHandleMETA_Adaptation.cpp
lea ecx, [esp + 0x1c]
call fcn.051ae270
mov dword [esp + 0x28], 0
mov ecx, dword [esi + 8]
push str.CMetaAdaptation::Connect
push str._s:_Configure_connection_handle
push ecx
push eax
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.051ae2c0
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x14]
push edx
mov ecx, esi
call fcn.051b33a0
mov eax, dword [edi + 0x18]
push eax
call fcn.051b3390
push edi
call fcn.051b5050
test eax, eax
je 0x51b542a
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
push edi
mov ecx, esi
call fcn.051b4540
test eax, eax
je 0x51b544f
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x51b54c4
push str._ERROR:
push 0xff
push 0x1f6
push str..MetaCommHandleMETA_Adaptation.cpp
lea ecx, [esp + 0x1c]
call fcn.051ae270
mov dword [esp + 0x28], 1
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
push ecx
mov ecx, dword [esi + 8]
push edx
push str.CMetaAdaptation::Connect
push str._s:_Not_supported_Protocol___d__and_Channel___d__combination
push ecx
push eax
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.051ae2c0
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
mov edi, dword [edi + 0x20]
test edi, edi
je 0x51b54db
cmp byte [edi], 0
je 0x51b54db
mov edx, dword [ecx]
mov eax, dword [edi + 4]
mov edx, dword [edx + 0x44]
push eax
call edx
mov byte [esi + 0x14], 1
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x51b5520
Capabilities:
Print debug messages

Disassembly:
push esi
push str._META__Free_Data_library_resource_n
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 8]
test eax, eax
je 0x51b553e
mov ecx, dword [esi + 0x2c]
push eax
call fcn.05003d40
mov eax, dword [esi + 0xc]
test eax, eax
je 0x51b554e
mov ecx, dword [esi + 0x2c]
push eax
call fcn.05003d40
pop esi
ret
Function at 0x51b5560
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
push 1
mov esi, ecx
mov ecx, dword [esi + 0x2c]
push str.FT_H
push 0
call fcn.05003d00
mov edi, eax
test edi, edi
jne 0x51b558b
push str.InitLocalPart__:_can_not_get_DLStructDef_of_FT_H_from_primitiveDbHandle_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret
mov ecx, dword [esi + 0x2c]
push str.header.ref_count
push str.FT_H
call fcn.05003fa0
mov dword [esi + 8], eax
test eax, eax
jne 0x51b55b4
push str.InitLocalPart__:_can_not_get_header.ref_count_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret
mov ecx, dword [esi + 0x2c]
push str.header.msg_len
push str.FT_H
call fcn.05003fa0
mov dword [esi + 0xc], eax
test eax, eax
jne 0x51b55dd
push str.InitLocalPart__:_can_not_get_header.msg_len_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret
mov ecx, dword [esi + 0x2c]
push str.token
push edi
call fcn.05003f20
mov dword [esi + 0x10], eax
test eax, eax
jne 0x51b5602
push str.InitLocalPart__:_can_not_get_token_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret
mov ecx, dword [esi + 0x2c]
push 0x5398a90
push edi
call fcn.05003f20
mov dword [esi + 0x14], eax
test eax, eax
jne 0x51b5627
push str.InitLocalPart__:_can_not_get_id_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret
pop edi
mov al, 1
pop esi
ret
Function at 0x51b7550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x522a340
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x18], 0
mov byte [esi + 0x24], 0
jne 0x51b7595
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 0xc
push 0x52c722a
push 1
push 0x19c
push str..MetaCommCoreLoggingRelay.cpp
lea ecx, [esp + 0x18]
call fcn.051ae270
mov dword [esp + 0x24], 0
mov ecx, dword [0x56bc0f0]
push str._MEMORY_DUMP_LOG_:_Init
push ecx
push eax
call fcn.051ae2d0
add esp, 0xc
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 8]
call fcn.051ae2c0
call fcn.051c3080
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x14], eax
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ecx
mov ecx, eax
call edx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 8]
push edx
call eax
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
lea eax, [esi + 4]
push eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
lea eax, [esi + 8]
push eax
mov eax, dword [edx + 0x18]
call eax
push 0x52c722a
push 1
push 0x1a4
push str..MetaCommCoreLoggingRelay.cpp
lea ecx, [esp + 0x18]
call fcn.051ae270
mov dword [esp + 0x24], 1
mov ecx, dword [0x56bc0f0]
push str._MEMORY_DUMP_LOG_:_START
push ecx
push eax
call fcn.051ae2d0
add esp, 0xc
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 8]
call fcn.051ae2c0
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 0xc

Function at 0x51b7780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52230c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x52c722a
push 1
push 0x1d7
push str..MetaCommCoreLoggingRelay.cpp
lea ecx, [esp + 0x1c]
call fcn.051ae270
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x30]
mov ecx, dword [0x56bc0f0]
push edi
push str._MEMORY_DUMP_LOG_:_UpdateProgress_:__d
push ecx
push eax
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.051ae2c0
mov dword [esi + 0x18], edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4