joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cd3b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x55bbd8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov ebx, dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
jne 0x4cd40f
push 0
lea eax, [esp + 0x18]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov eax, esi
lea esi, [esp + 0x10]
call fcn.0049abc0
mov dword [esp + 0x20], 0
mov eax, esi
call fcn.00408130
mov ecx, eax
mov eax, esi
call fcn.0049b410
push 0
lea edx, [esp + 0x18]
push edx
mov esi, eax
push esi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4cd44e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00499450
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x55bbac
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
lea ecx, [esi + 0x1c]
mov dword [esi], vtable.VLogEvent.0
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call fcn.004992d0
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x20]
call fcn.004992d0
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x24]
call fcn.004992d0
mov byte [esp + 0x14], 2
mov eax, dword [0x67f9a0]
push eax
push 0x61040052
lea ecx, [esi + 0x40]
push ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.0049c100
mov byte [esp + 0x14], 3
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4cd9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5611f3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, 5
call fcn.004080a0
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [esi + 0x14]
call fcn.004cdf50
mov byte [esp + 0x14], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4d0d70
Capabilities:
Parse credit card information

Disassembly:
push 0xffffffffffffffff
push 0x564050
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
mov esi, ecx
lea ecx, [esp + 0x18]
call fcn.004992d0
mov dword [esp + 0x28], 0
lea edi, [esp + 0x18]
call fcn.0049d090
test al, al
je 0x4d0f55
mov eax, edi
call fcn.00499c00
cmp eax, 5
jl 0x4d0f55
mov edi, 1
lea eax, [esp + 0x18]
call fcn.0049a170
cmp word [eax], 0x3a
jne 0x4d0f55
mov edi, 2
lea eax, [esp + 0x18]
call fcn.0049a170
cmp word [eax], 0x22
jne 0x4d0f55
mov edi, ebx
call fcn.00499c60
lea eax, [esp + 0x18]
mov ebp, 3
call fcn.00499c00
cmp eax, ebp
jle 0x4d0e3f
jmp 0x4d0e20
mov edi, ebp
lea eax, [esp + 0x18]
call fcn.0049a170
cmp word [eax], 0x22
je 0x4d0e3f
lea eax, [esp + 0x18]
inc ebp
call fcn.00499c00
cmp ebp, eax
jl 0x4d0e20
lea eax, [ebp - 3]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, 3
lea ecx, [esp + 0x20]
call fcn.00499930
mov byte [esp + 0x28], 1
mov edi, ebx
call fcn.00499530
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x1c]
call fcn.00499450
lea eax, [esp + 0x18]
inc ebp
call fcn.00499c00
cmp ebp, eax
jge 0x4d0f55
mov edi, ebp
lea eax, [esp + 0x18]
call fcn.0049a170
inc ebp
cmp word [eax], 0x3d
jne 0x4d0f55
xor edi, edi
lea eax, [esp + 0x18]
call fcn.0049a170
cmp word [eax], 0x44
lea eax, [esp + 0x18]
jne 0x4d0ee5
mov edx, dword [esp + 0x34]
push edx
push ebp
push eax
call fcn.004d11d0
add esp, 0xc
mov bl, al
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00499450
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor edi, edi
call fcn.0049a170
cmp word [eax], 0x53
jne 0x4d0f04
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
call fcn.004d1410
jmp 0x4d0eb9
xor edi, edi
lea eax, [esp + 0x18]
call fcn.0049a170
cmp word [eax], 0x42
jne 0x4d0f2b
mov eax, dword [esp + 0x34]
push eax
push ebp
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.004d18e0
add esp, 0x10
jmp 0x4d0ebc
xor edi, edi
lea eax, [esp + 0x18]
call fcn.0049a170
cmp word [eax], 0x5a
jne 0x4d0f55
mov edx, dword [esp + 0x34]
push edx
push ebp
lea eax, [esp + 0x20]
push eax
push esi
call fcn.004d1d80
add esp, 0x10
jmp 0x4d0ebc
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00499450
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4d6c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x556d32
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], 0
call fcn.004da6e0
mov dword [esp + 0x30], 2
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push edx
lea edi, [esp + 0x14]
mov dword [esp + 0x40], ecx
call fcn.004da810
push esi
mov ecx, edi
call fcn.004da6e0
mov byte [esp + 0x30], 2
mov dword [esp + 0xc], 1
mov dword [esp + 0x30], 0
mov eax, edi
push eax
call fcn.00517570
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret

Function at 0x4d74f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x556c92
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], 4
lea ecx, [esi + 0x48]
call fcn.004d6df0
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x34]
call fcn.004d6df0
mov byte [esp + 0x18], 2
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x30]
push eax
push 0
push edi
call sub.MSVCR90.dll_memset
push edi
mov edi, dword [sym.imp.MSVCR90.dll_free]
call edi
mov byte [esp + 0x28], 1
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
push eax
push 0
push ebx
call sub.MSVCR90.dll_memset
push ebx
call edi
mov byte [esp + 0x38], 0
mov eax, dword [esi + 0x14]
mov ebx, dword [esi + 0x18]
push eax
push 0
push ebx
call sub.MSVCR90.dll_memset
push ebx
call edi
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0xc]
push eax
push 0
push ebx
call sub.MSVCR90.dll_memset
push ebx
call edi
add esp, 0x40
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4da910
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x55b513
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.004dd6b0
mov dword [esp + 0x14], 2
lea eax, [esi + 0x60]
mov dword [esp + 8], eax
mov dword [eax + 0x48], 0x10
mov byte [eax + 0x41], 1
mov dword [eax + 0x4c], eax
mov byte [esp + 0x14], 4
mov eax, dword [esi + 0xac]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
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 0x4e3670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x551673
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [esp + 0x70]
push str.AlgorithmParametersBase:_parameter__
lea ecx, [esp + 0x48]
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 ecx, dword [esp + 0x74]
push ecx
push eax
lea edx, [esp + 0x30]
mov dword [esp + 0x70], 0
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push edx
call edi
push str.__not_used
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x80], 1
call edi
add esp, 0x18
push eax
push 6
push esi
mov byte [esp + 0x74], 2
call fcn.004d5da0
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 4
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 + 0x28]
mov byte [esp + 0x68], 5
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 + 0x44]
mov byte [esp + 0x68], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esi], vtable.CryptoPP::AlgorithmParametersBase::ParameterNotUsed.0
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x60
ret 8

Function at 0x4e4ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54ff78
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x20]
mov edx, dword [eax + 0x24]
push ebx
call edx
mov esi, eax
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], 0
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
push ecx
push edx
mov ecx, esi
call eax
mov eax, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
push 0
push eax
push esi
push ebx
mov ecx, edi
call edx
mov dword [esp + 0x18], 0xffffffff
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4e4c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54ff18
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
call edx
mov edi, eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push edx
push edi
mov ecx, esi
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push eax
push ecx
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push edi
mov ecx, esi
call edx
mov dword [esp + 0x1c], 0xffffffff
mov bl, al
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x568100
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ecx]
xor edx, edx
push 1
push 0x6831fc
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], eax
push edx
mov edx, dword [esi + 0x80]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054eee2
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5680d0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
push 0x6831fc
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x20], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0054eee2
mov esp, ebp
pop ebp
ret 8
Function at 0x4e69c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x568094
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x1b]
push ecx
mov ecx, esi
call edx
mov dl, byte [esp + 0x1b]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004e6f80
mov dword [esp + 0x90], 0
mov bl, byte [esp + 0x1b]
xor ecx, ecx
lea esi, [esp + 0x50]
call fcn.004e55c0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x50], vtable.CryptoPP::DERGeneralEncoder.0
mov dword [esp + 0x54], vtable.CryptoPP::DERGeneralEncoder.1.0
mov dword [esp + 0x78], ecx
mov byte [esp + 0x7c], 0
mov byte [esp + 0x7d], bl
mov ebx, 1
mov byte [esp + 0x90], bl
cmp byte [esp + 0x3d], 0
je 0x4e6ac6
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push ebx
push 0x6831fc
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov edx, esi
push edx
mov edx, dword [eax + 0x7c]
lea ecx, [esp + 0x34]
call edx
mov eax, dword [esp + 0x44]
cmp byte [esp + 0x3d], 0
mov byte [esp + 0x3c], bl
je 0x4e6b16
or eax, dword [esp + 0x48]
je 0x4e6b35
call fcn.004e64e0
cmp byte [esp + 0x3d], 0
je 0x4e6ac6
mov eax, dword [esp + 0x44]
mov ecx, eax
or ecx, dword [esp + 0x48]
je 0x4e6a97
jmp 0x4e6b02
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
push 2
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 0
call edx
movzx cx, byte [esp + 0x14]
movzx dx, byte [esp + 0x15]
shl cx, 8
or cx, dx
movzx ecx, cx
cmp eax, 2
jne 0x4e6b02
test cx, cx
je 0x4e6a93
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004e69c0
add esp, 8
jmp 0x4e6ab1
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
call fcn.004e49a0
cmp eax, 2
jne 0x4e6aac
cmp word [esp + 0x14], 0
jne 0x4e6aac
lea edi, [esp + 0x50]
call fcn.004e72e0
mov eax, edi
push eax
mov byte [esp + 0x94], 0
call fcn.004e7250
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x94], 0xffffffff
call fcn.004e7040
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0054eee2
mov esp, ebp
pop ebp
ret

Function at 0x4e6f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56805a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004e6520
lea edx, [esp + 8]
push edx
mov dword [esp + 0x30], 0
call fcn.004e7d10
add esp, 4
test al, al
jne 0x4e6f50
call fcn.004e64e0
lea eax, [esp + 8]
push eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004d6d30
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
add esp, 0x2c
ret 4
Function at 0x4e83e0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x567f51
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
call fcn.004f56b0
mov ecx, dword [esp + 0x40]
mov esi, eax
mov dword [esp + 0x30], 1
call fcn.004f7d00
push eax
mov edi, ebp
call fcn.004f56b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 1
mov byte [esp + 0x30], 0
call fcn.004d6df0
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 0xc

Function at 0x4f60a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x571c60
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x14], vtable.CryptoPP::ArraySink.1.0
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
call fcn.004f6130
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0054eee2
mov esp, ebp
pop ebp
ret 4

Function at 0x4f63d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x572ffa
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor ecx, ecx
lea esi, [esp + 0xc]
call fcn.004e55c0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0xc], vtable.CryptoPP::DERGeneralEncoder.0
mov dword [esp + 0x10], vtable.CryptoPP::DERGeneralEncoder.1.0
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 4
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov edx, esi
push edx
mov ecx, edi
mov dword [esp + 0x54], eax
call fcn.004f6130
mov edi, esi
call fcn.004e72e0
mov eax, esi
push eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.004e7250
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054eee2
add esp, 0x40
ret 8
Function at 0x4f66a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5769ff
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
push ebx
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.004fa770
mov edx, dword [esp + 0x1e8]
lea esi, [esp + 0x30]
mov dword [esp + 0x1d8], 0
call fcn.004fa7a0
lea ecx, [esp + 0x1ec]
push ecx
lea esi, [esp + 0x78]
mov byte [esp + 0x1dc], 1
call fcn.004fa7c0
mov edx, dword [esp + 0x1f0]
lea esi, [esp + 0xc8]
mov byte [esp + 0x1d8], 2
call fcn.004fa7e0
mov edx, dword [esp + 0x1f4]
lea esi, [esp + 0x13c]
mov byte [esp + 0x1d8], 3
call fcn.004fa800
mov edx, dword [esp + 0x1e0]
mov ecx, dword [esp + 0x1e4]
push eax
push edx
mov byte [esp + 0x1e0], 4
call fcn.004f6bd0
mov bl, al
mov eax, esi
push eax
mov byte [esp + 0x1dc], 3
call fcn.004f6910
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0x1dc], 2
call fcn.004f68b0
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x1dc], 1
call fcn.004f6850
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x1dc], 0
call fcn.004f67f0
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x1dc], 0xffffffff
call fcn.004f6970
mov al, bl
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1d0
ret 0x18
Function at 0x4fb5b0
Capabilities:
Hash data using sha256

Disassembly:
push 0xffffffffffffffff
push 0x560827
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x20]
push ebx
call fcn.004dd6b0
lea eax, [ebx + 0x60]
push eax
mov dword [esp + 0x1c], 2
call fcn.004dddb0
mov byte [esp + 0x18], 3
mov edi, dword [ebx + 0xac]
mov ecx, 8
mov esi, 0x6278dc
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], 0xffffffff
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x4fbc20
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0xffffffffffffffff
push 0x553909
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
call fcn.004fbeb0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [eax]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4fbc94
push 0x625a44
lea ecx, [esp + 8]
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__]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x5c], 0
call fcn.004fba00
push 0x63d994
lea edx, [esp + 0x24]
push edx
call sub.MSVCR90.dll__CxxThrowException
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x54
ret 8

Function at 0x4fc340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5514cd
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 0
call fcn.004d7700
add esi, 0xc
push esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004fc410
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x4fd070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x572ffa
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor ecx, ecx
lea esi, [esp + 0xc]
call fcn.004e55c0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0xc], vtable.CryptoPP::DERGeneralEncoder.0
mov dword [esp + 0x10], vtable.CryptoPP::DERGeneralEncoder.1.0
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 4
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
push edi
mov edi, esi
call fcn.004fd010
call fcn.004e72e0
mov ecx, esi
push ecx
mov dword [esp + 0x4c], 0xffffffff
call fcn.004e7250
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054eee2
add esp, 0x40
ret 8