joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51b79e0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5234ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x51b7b4c
push 0x20
mov dword [esi + 0xc], eax
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], 0
test eax, eax
je 0x51b7a3a
mov ecx, eax
call fcn.051add80
jmp 0x51b7a3c
xor eax, eax
or ebp, 0xffffffff
mov dword [esp + 0x38], ebp
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x38], 1
lea edi, [esi + 0x10]
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.051adf30
mov dword [esp + 0x38], ebp
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x20
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], 2
test eax, eax
je 0x51b7a9f
mov ecx, eax
call fcn.051add80
jmp 0x51b7aa1
xor eax, eax
mov dword [esp + 0x38], ebp
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x18]
mov dword [esi + 0x20], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x38], 3
mov ecx, dword [esi + 0x20]
push edi
lea eax, [esp + 0x18]
push eax
call fcn.051adf30
mov dword [esp + 0x38], ebp
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10]
push ecx
push 0
push esi
push 0x51b7280
push 0
push 0
mov byte [esi + 0x14], 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x18], eax
test eax, eax
jne 0x51b7b63
push str._ERROR:
push 0xff
push 0x57
push str..MetaCommCoreLoggingRelay.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x38], 4
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
push edx
push str.__d__Failed_in_creating_RelayRXFromLoggingTool_thread_
push ecx
push eax
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x38], ebp
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov ecx, esi
call fcn.051b7810
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0x10
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0x10
Function at 0x51b8f70
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
push edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
mov edi, dword [ecx]
push eax
mov eax, dword [edi]
push edx
call eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
mov eax, dword [esi + 8]
push eax
call edx
push str._META__CMetaDhlFrameCommModule::SetMetaHandle__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
ret 8

Function at 0x51b9a20
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x51b9a46
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
test al, al
jne 0x51b9a4d
push str.IMetaFrameCommBase::Init_Frame_encoder_init_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret 4
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
test al, al
jne 0x51b9a6e
push str.IMetaFrameCommBase::Init_Frame_decoder_init_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret 4
pop edi
mov al, 1
pop esi
ret 4
Function at 0x51ba7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x522ebd8
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 + 0x38]
cmp dword [edi + 0x10], 0
je 0x51ba837
push 0x52c722a
push 1
push 0x28c
push str..MetaCommCoreMetaFrameCommBase.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0xc]
push str.IMetaFrameCommBase::ConfigRxHook
push str._s__:_Configuring_tunnel_rx_hook
push ecx
push eax
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov edx, dword [edi + 0x10]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x4c], eax
test byte [edi + 0x18], 7
je 0x51ba91a
push 0x52c722a
push 1
push 0x295
push str..MetaCommCoreMetaFrameCommBase.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x30], 1
mov ecx, dword [esi + 0xc]
push str.IMetaFrameCommBase::ConfigRxHook
push str._s__:_Configuring_logging_hook
push ecx
push eax
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x51ba0b0
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x503
call edx
test eax, eax
je 0x51ba91a
push str._ERROR:
push 0xff
push 0x29c
push str..MetaCommCoreMetaFrameCommBase.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov dword [esp + 0x30], 2
mov ecx, dword [esi + 0xc]
push str.Failed_in_setting_rx_hook_
push ecx
push eax
call fcn.051ae2d0
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

Function at 0x51bae90
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor al, al
xor ecx, ecx
test edx, edx
jle 0x51baeaa
push esi
mov esi, dword [esp + 8]
xor al, byte [ecx + esi]
inc ecx
cmp ecx, edx
jl 0x51baea1
pop esi
ret 8
Function at 0x51bbfb0
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x51bbfd6
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
test al, al
jne 0x51bbfdd
push str.CMetaTstFrameCommModule::Init_Frame_decoder_init_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret 4
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
test al, al
jne 0x51bbffe
push str.CMetaTstFrameCommModule::Init_Confirm_Frame_encoder_init_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret 4
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
test al, al
jne 0x51bc01f
push str.CMetaTstFrameCommModule::Init_Confirm_Frame_decoder_init_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor al, al
pop esi
ret 4
pop edi
mov al, 1
pop esi
ret 4

Function at 0x51bc800
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
push edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
mov edi, dword [ecx]
push eax
mov eax, dword [edi]
push edx
call eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
mov eax, dword [esi + 8]
push eax
call edx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
mov edx, dword [esi + 8]
push edx
call eax
push str._META__CMetaTstFrameCommModule::SetMetaHandle__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
ret 8

Function at 0x51bd620
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x51bd610
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x34], eax
pop esi
test eax, eax
jne 0x51bd65e
push eax
push str.ConfirmMessageGenerator
push str.Internal_error_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.MSVCR90.dll_abort]
pop ecx
ret
Function at 0x51bd660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5235421
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi], vtable.IMetaFrameUtEngine.0
mov dword [esi + 4], ebx
mov eax, dword [0x56bc0f0]
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.050191a0
mov dword [esp + 0x1c], ebx
lea ecx, [esi + 0x3c]
mov byte [esi + 0x30], bl
call fcn.051bd440
mov byte [esp + 0x1c], 1
push 1
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], 2
cmp eax, ebx
je 0x51bd6e0
mov ecx, eax
call fcn.051242c0
jmp 0x51bd6e2
xor eax, eax
mov byte [esp + 0x1c], 1
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.051bd620
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x51be3d0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x30], 0
lea eax, [ecx + 0x30]
jne 0x51be409
test ecx, ecx
je 0x51be405
mov eax, dword [ecx + 0x130]
push str.DumpFileWriter::OnDumpBegin
push 0x6fd
push str..MemoryDumpMemoryDumpMain.cpp
push str._MemoryDump__File___s__Line___d__Function___s:__Error__share_data__dump_file_path_is_empty_n
push eax
call fcn.051be010
add esp, 0x14
xor al, al
pop esi
ret
push ebp
push 0x529bc0c
lea ebp, [esi + 4]
push eax
push ebp
mov dword [ebp], 0
call dword [sym.imp.MSVCR90.dll_fopen_s]
add esp, 0xc
cmp dword [ebp], 0
jne 0x51be458
mov esi, dword [esi]
test esi, esi
je 0x51be453
mov ecx, dword [esi + 0x130]
push str.DumpFileWriter::OnDumpBegin
push 0x706
push str..MemoryDumpMemoryDumpMain.cpp
push str._MemoryDump__File___s__Line___d__Function___s:__Error__dump_file_handle__NULL_n
push ecx
call fcn.051be010
add esp, 0x14
pop ebp
xor al, al
pop esi
ret
lea ecx, [esi + 8]
push ebx
mov eax, ecx
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x51be462
sub eax, edi
mov ebx, eax
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x51be472
sub eax, edi
mov edi, eax
mov eax, dword [ebp]
push eax
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_fwrite]
push 1
push ecx
call ebx
add esp, 0x10
cmp eax, edi
je 0x51be4a6
mov esi, dword [esi]
test esi, esi
je 0x51be4e8
push str.DumpFileWriter::OnDumpBegin
push 0x70c
jmp 0x51be4cf
mov eax, dword [ebp]
push eax
push 4
lea ecx, [esi + 0x108]
push 1
push ecx
call ebx
add esp, 0x10
cmp eax, 4
je 0x51be4ef
mov esi, dword [esi]
test esi, esi
je 0x51be4e8
push str.DumpFileWriter::OnDumpBegin
push 0x712
mov edx, dword [esi + 0x130]
push str..MemoryDumpMemoryDumpMain.cpp
push str._MemoryDump__File___s__Line___d__Function___s:__Error__fwrite_fail_n
push edx
call fcn.051be010
add esp, 0x14
pop edi
pop ebx
pop ebp
xor al, al
pop esi
ret
mov eax, dword [ebp]
push eax
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 4
pop edi
pop ebx
pop ebp
mov al, 1
pop esi
ret
Function at 0x51be700
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x51be739
mov esi, dword [esi]
test esi, esi
je 0x51be733
mov eax, dword [esi + 0x130]
push str.DumpFileWriter::WriteFileSize
push 0x741
push str..MemoryDumpMemoryDumpMain.cpp
push str._MemoryDump__File___s__Line___d__Function___s:__Error__dump_file_handle__NULL_n
push eax
call fcn.051be010
add esp, 0x14
xor al, al
pop esi
ret 4
push eax
push 4
lea ecx, [esp + 0x10]
push 1
push ecx
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
cmp eax, 4
je 0x51be780
mov esi, dword [esi]
test esi, esi
je 0x51be733
mov edx, dword [esi + 0x130]
push str.DumpFileWriter::WriteFileSize
push 0x747
push str..MemoryDumpMemoryDumpMain.cpp
push str._MemoryDump__File___s__Line___d__Function___s:__Error__fwrite_fail_n
push edx
call fcn.051be010
add esp, 0x14
xor al, al
pop esi
ret 4
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 4
mov al, 1
pop esi
ret 4

Function at 0x51be7a0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x51be7d9
mov esi, dword [esi]
test esi, esi
je 0x51be7d3
mov eax, dword [esi + 0x130]
push str.DumpFileWriter::WriteContent
push 0x754
push str..MemoryDumpMemoryDumpMain.cpp
push str._MemoryDump__File___s__Line___d__Function___s:__Error__dump_file_handle__NULL_n
push eax
call fcn.051be010
add esp, 0x14
xor al, al
pop esi
ret 8
mov ecx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push eax
push edi
push 1
push ecx
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
cmp eax, edi
pop edi
je 0x51be824
mov esi, dword [esi]
test esi, esi
je 0x51be7d3
mov edx, dword [esi + 0x130]
push str.DumpFileWriter::WriteContent
push 0x75a
push str..MemoryDumpMemoryDumpMain.cpp
push str._MemoryDump__File___s__Line___d__Function___s:__Error__fwrite_fail_n
push edx
call fcn.051be010
add esp, 0x14
xor al, al
pop esi
ret 8
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 4
mov al, 1
pop esi
ret 8

Function at 0x51bea90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x523577b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 4
mov dword [esi], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x15c], ebx
mov byte [esi + 0x30], bl
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x51beae4
mov ecx, eax
call fcn.051bdff0
jmp 0x51beae6
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 0x130], eax
mov dword [esi + 0x160], ebx
mov dword [esi + 0x134], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x51bed90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x52357b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
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 dword [esp + 0x10], esi
mov dword [esi], vtable.IlmListener.0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x24]
push ebx
push ebx
push 1
push ebx
mov dword [esi], vtable.MemoryReader.0
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 8
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x1e
mov dword [esi + 0x14], 0x4000
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
mov byte [esi + 0x18], bl
mov byte [esi + 0x35], 1
mov dword [esi + 0x38], 0xffffffff
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x1c], 1
cmp eax, ebx
je 0x51bee2d
push edi
mov ecx, eax
call fcn.051bdbb0
jmp 0x51bee2f
xor eax, eax
mov byte [esp + 0x1c], bl
mov dword [esi + 4], eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x51c2ac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5235b23
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.IlmListener.0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 0xc]
mov dword [esi], vtable.MemoryRangeReader.0
mov dword [esi + 4], eax
call fcn.0506a6b0
mov byte [esp + 0x14], 1
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 8], eax
mov byte [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x51c2cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5235b6c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi + 4], vtable.FrameListener.0
push 0x164
mov dword [esi], vtable.MemoryDumperImp.1.0
mov dword [esi + 4], vtable.MemoryDumperImp.0
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x51c2d2f
mov ecx, eax
call fcn.051bea90
jmp 0x51c2d31
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esi + 8], eax
push 0x34
mov dword [eax], 0
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 1
test eax, eax
je 0x51c2d68
mov ecx, dword [esi + 8]
push ecx
mov ecx, eax
call fcn.051c2ac0
jmp 0x51c2d6a
xor eax, eax
mov dword [esp + 0x18], edi
push 0x1c
mov dword [esi + 0xc], eax
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 2
test eax, eax
je 0x51c2d98
mov edx, dword [esi + 8]
push edx
mov ecx, eax
call fcn.051c1610
jmp 0x51c2d9a
xor eax, eax
mov dword [esp + 0x18], edi
push 0x50
mov dword [esi + 0x14], eax
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 3
test eax, eax
je 0x51c2dc8
mov ecx, dword [esi + 8]
push ecx
mov ecx, eax
call fcn.051bed90
jmp 0x51c2dca
xor eax, eax
mov dword [esp + 0x18], edi
mov edx, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 0x14]
mov byte [esi + 0x30], 0
call fcn.051c22e0
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push edx
call fcn.051c22e0
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x51d49c0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x10]
push edi
xor edi, edi
cmp byte [ecx], 0x25
jne 0x51d4afb
push ebx
push esi
call fcn.051edfb0
push esi
call fcn.051cf550
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x51d49fe
mov ecx, str.xmlParsePEReference:_no_name_n
lea eax, [edi + 0x44]
call fcn.051c9600
pop ebx
pop edi
pop esi
ret
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 0x10]
cmp byte [eax], 0x3b
je 0x51d4a71
cmp dword [esi + 0xd4], edi
je 0x51d4a1e
cmp dword [esi + 0xac], 0xffffffff
je 0x51d4afa
push str.EntityRef:_expecting__
push 0x53985dc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
push 0x17
push 1
push 0
push esi
push 0
push 0
push 0
mov dword [esi + 0x54], 0x17
call fcn.051eb890
add esp, 0x44
mov dword [esi + 0xc], edi
cmp dword [esi + 0x120], edi
jne 0x51d4afa
pop ebx
pop edi
mov dword [esi + 0xd4], 1
pop esi
ret
push esi
call fcn.051edfb0
mov eax, dword [esi]
inc dword [esi + 0x1b8]
add esp, 4
test eax, eax
je 0x51d4a99
mov eax, dword [eax + 0x60]
test eax, eax
je 0x51d4a99
mov ecx, dword [esi + 4]
push ebx
push ecx
call eax
add esp, 8
mov edi, eax
cmp dword [esi + 0xac], 0xffffffff
je 0x51d4afa
test edi, edi
jne 0x51d4afe
cmp dword [esi + 0x1c], 1
je 0x51d4ad3
cmp dword [esi + 0x58], edi
jne 0x51d4ab6
cmp dword [esi + 0x5c], edi
je 0x51d4ad3
push 0x1b
mov edx, ebx
push esi
xor ecx, ecx
mov ebx, str.PEReference:____s__not_found_n
call fcn.051c9670
add esp, 8
mov dword [esi + 0x64], 0
jmp 0x51d4ae4
mov eax, ebx
mov edx, str.PEReference:____s__not_found_n
mov ecx, 0x1a
call fcn.051c97d0
push 0
push 0
push 0
push esi
call fcn.051ce740
add esp, 0x10
mov dword [esi + 0x5c], 1
pop ebx
pop edi
pop esi
ret
mov eax, dword [edi + 0x30]
cmp eax, 4
je 0x51d4b2a
cmp eax, 5
je 0x51d4b2a
push 0x1b
mov edx, ebx
push esi
xor ecx, ecx
mov ebx, str.Internal:____s__is_not_a_parameter_entity_n
call fcn.051c9670
add esp, 8
pop ebx
pop edi
mov dword [esi + 0x5c], 1
pop esi
ret
mov edx, dword [esi + 0x24]
cmp dword [edx + 0x28], 0x51ca780
push edi
je 0x51d4b57
mov eax, esi
call fcn.051ca790
push eax
push esi
call fcn.051cc400
add esp, 0xc
test eax, eax
jl 0x51d4afa
pop ebx
pop edi
mov dword [esi + 0x5c], 1
pop esi
ret
push esi
call fcn.051eed80
push eax
push esi
call fcn.051cc400
add esp, 0x10
test eax, eax
jl 0x51d4afa
cmp dword [edi + 0x30], 5
jne 0x51d4af3
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3c
jne 0x51d4af3
cmp byte [eax + 1], 0x3f
jne 0x51d4af3
cmp byte [eax + 2], 0x78
jne 0x51d4af3
cmp byte [eax + 3], 0x6d
jne 0x51d4af3
cmp byte [eax + 4], 0x6c
jne 0x51d4af3
mov al, byte [eax + 5]
cmp al, 0x20
je 0x51d4bbf
cmp al, 9
jb 0x51d4bb7
cmp al, 0xa
jbe 0x51d4bbf
cmp al, 0xd
jne 0x51d4af3
push esi
call fcn.051cdf60
add esp, 4
cmp dword [esi + 0x54], 0x20
jne 0x51d4af3
pop ebx
pop edi
mov eax, esi
pop esi
jmp fcn.051cbbd0
Function at 0x51ebd70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
push edi
mov esi, ecx
test edx, edx
je 0x51ebdab
mov cl, byte [edx]
movzx edi, cl
mov eax, edi
shl eax, 4
sub eax, edi
add eax, eax
test cl, cl
je 0x51ebdab
push ebp
mov edi, eax
mov ebp, eax
shl edi, 5
shr ebp, 3
movsx ecx, cl
add edi, ebp
inc edx
add edi, ecx
mov cl, byte [edx]
xor eax, edi
test cl, cl
jne 0x51ebd90
pop ebp
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x51ebddd
mov cl, byte [esi]
test cl, cl
je 0x51ebddd
mov edx, eax
mov edi, eax
shl edx, 5
shr edi, 3
movsx ecx, cl
add edx, edi
inc esi
add edx, ecx
mov cl, byte [esi]
xor eax, edx
test cl, cl
jne 0x51ebdc3
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test ebx, ebx
je 0x51ebe0f
mov cl, byte [ebx]
test cl, cl
je 0x51ebe0f
mov edx, eax
mov esi, eax
shl edx, 5
shr esi, 3
movsx ecx, cl
add edx, esi
inc ebx
add edx, ecx
mov cl, byte [ebx]
xor eax, edx
test cl, cl
jne 0x51ebdf5
mov ecx, dword [esp + 0x10]
xor edx, edx
div dword [ecx + 4]
pop edi
pop esi
pop ebx
mov eax, edx
ret