joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001430
Capabilities:
Query environment variable

Disassembly:
push str.HOME
call dword [sym.imp.MSVCR80.dll_getenv]
add esp, 4
ret

Function at 0x10002590
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
or eax, 0xffffffff
test ecx, ecx
je 0x100025c0
push esi
mov esi, dword [esp + 8]
movzx edx, byte [esi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x1009f7d8]
sub ecx, 1
add esi, 1
test ecx, ecx
jne 0x100025a0
pop esi
not eax
ret 8
Function at 0x10003160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10091fac
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
push 0x103
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push 0
mov dword [esp + 0x144], 0
call fcn.1006b540
add esp, 0x10
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0xc]
call dword [0x1009f138]
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x100031fa
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x134], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10090e24
add esp, 0x130
ret
Function at 0x10012400
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100940eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esi], eax
call fcn.10010e20
mov dword [edi + 4], eax
mov byte [eax + 0x4d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x24]
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.1006b6d0
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 8], ebx
mov dword [esi + 4], eax
push 0x2c
mov dword [esi + 8], eax
lea ecx, [esi + 0x30]
push ebx
mov dword [esi + 0xc], eax
push ecx
mov dword [esi + 0x10], eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esi + 0x14], ebx
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 0x100124b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009411b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0x18]
xor ebx, ebx
mov ecx, edi
mov dword [esi], ebx
call fcn.10010e20
mov dword [edi + 4], eax
mov byte [eax + 0x4d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x24]
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.1006b6d0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
xor eax, eax
mov dword [esi + 4], eax
lea edi, [esi + 4]
mov dword [edi + 4], eax
mov dword [esi + 0xc], eax
push 0x2c
mov dword [esi + 0x10], eax
lea eax, [esi + 0x30]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esi], ebx
mov dword [esi + 0x14], ebx
jne 0x1001256e
mov ecx, dword [esp + 0x24]
push ecx
push edi
call sub.XecureAcIO.dll_XFA_BIN_Copy
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 0xc
mov dword [esi + 0x10], eax
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10012560
sub eax, edx
mov dword [esi + 0xc], eax
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 8
Function at 0x10012590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009414b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
mov dword [esi], 0
mov dword [esi + 0x444], 1
call fcn.100779c0
push 0x10
mov dword [esi + 0x454], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x100125f4
mov ecx, eax
call fcn.10066cd0
jmp 0x100125f6
xor eax, eax
mov dword [esi + 0x458], eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
push 0x400
push eax
mov dword [esi + 0x40], eax
lea eax, [esi + 0x44]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10017350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10094893
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x30], 1
call fcn.10016ff0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
mov dword [esi], vtable.XWStorageTypeGPKI.0
call fcn.1001c680
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
mov byte [esp + 0x34], 3
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0x38]
push edx
lea ecx, [esi + 8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x38]
mov dword [esi + 4], 2
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x54]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 0x38
Function at 0x1001ca50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100958a3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x30], 1
call fcn.10016ff0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
mov dword [esi], vtable.XWStorageTypeXecure.0
call fcn.1001c680
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
mov byte [esp + 0x34], 3
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0x38]
push edx
lea ecx, [esi + 8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
xor eax, eax
lea ecx, [esp + 0x38]
mov dword [esi + 4], eax
mov byte [esp + 0x30], al
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x54]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 0x38
Function at 0x1001d400
Capabilities:
Create directory
Delete directory
Delete file
Write file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x129]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x130], bl
call sub.MSVCR80.dll_memset
push 0x103
lea ecx, [esp + 0x31]
push ebx
push ecx
mov byte [esp + 0x38], bl
call sub.MSVCR80.dll_memset
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.MSVCR80.dll__localtime64]
add esp, 0x20
cmp dword [esp + 0x248], 0x10
mov esi, eax
mov eax, dword [esp + 0x234]
jae 0x1001d483
lea eax, [esp + 0x234]
mov edi, dword [sym.imp.MSVCR80.dll_sprintf]
push eax
lea ecx, [esp + 0x128]
push str._sAnySign
push ecx
call edi
mov ebp, dword [sym.imp.MSVCR80.dll__access]
lea edx, [esp + 0x130]
push ebx
push edx
call ebp
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1001d4d7
lea eax, [esp + 0x124]
push eax
mov dword [esp + 0x18], 1
call dword [sym.imp.MSVCR80.dll__mkdir]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x1001d5a1
cmp dword [esp + 0x248], 0x10
mov eax, dword [esp + 0x234]
jae 0x1001d4ef
lea eax, [esp + 0x234]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
add ecx, 1
push ecx
add edx, 0x76c
push edx
push eax
lea eax, [esp + 0x3c]
push str._sAnySignXecureWebLog__4d_02d_02d__02d_02d_02d.tmp
push eax
call edi
lea ecx, [esp + 0x44]
push ebx
push ecx
call ebp
add esp, 0x2c
cmp eax, 0xffffffff
jne 0x1001d5a1
lea edx, [esp + 0x20]
push 0x100a2cc0
push edx
call dword [sym.imp.MSVCR80.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x1001d599
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1001d550
push esi
sub eax, edx
push 1
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.MSVCR80.dll_fwrite]
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x14
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x14], 1
jne 0x1001d5a1
lea edx, [esp + 0x124]
push edx
call dword [sym.imp.MSVCR80.dll__rmdir]
add esp, 4
jmp 0x1001d5a1
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x230]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10090e24
add esp, 0x21c
ret
Function at 0x10023ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100966a9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 1
call fcn.100108f0
mov edi, dword [esp + 0x34]
mov esi, eax
push edi
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.1000eb90
push edi
mov ecx, esi
call fcn.1000ff20
mov eax, 3
cmp dword [esp + 0x38], eax
jne 0x10023d47
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
mov dword [esp + 0x34], 0
jle 0x10023e4a
mov ebp, dword [esp + 0x44]
cmp dword [esp + 0x14], 1
mov esi, dword [esp + 0x38]
je 0x10023d6d
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
sub esp, 0x1c
test eax, eax
mov ecx, esp
mov dword [esp + 0x60], esp
je 0x10023d98
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x80]
push 0xe
push esi
push edi
call edx
jmp 0x10023dd2
push ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esp + 0x5c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov dword [esp + 0x68], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
add eax, 0x78
push esi
push edi
mov dword [esp + 0x6c], 0xffffffff
call edx
test eax, eax
je 0x10023dfc
mov ecx, dword [ebx + 4]
push eax
push esi
push edi
call fcn.1000a1a0
mov esi, eax
test esi, esi
je 0x10023df6
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x1406f45
call edx
mov dword [esp + 0x18], esi
jmp 0x10023e31
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10023e19
push eax
mov eax, dword [ebx]
push esi
push edi
push str.XWCertificateMng::deleteCert____FAIL_mediaID:_d_cert_type:_d_subjectRDN:_s_
push eax
call fcn.10077b60
add esp, 0x14
jmp 0x10023e31
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx]
push ebp
push ecx
push esi
push edi
push str.XWCertificateMng::deleteCert____FAIL_mediaID:_d_cert_type:_d_issuerRDN:_s_certSerial:_s_
push edx
call fcn.10077b60
add esp, 0x18
mov eax, dword [esp + 0x34]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
jl 0x10023d5e
mov esi, dword [esp + 0x1c]
push edi
mov ecx, esi
call fcn.1000ffa0
push edi
mov ecx, esi
call fcn.1000f340
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
Function at 0x10024080
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100966e2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
call fcn.100108f0
mov esi, dword [esp + 0x44]
mov eax, 0x51eb851f
imul esi
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x64
mov eax, esi
sub eax, ecx
mov ecx, esi
sub ecx, eax
cmp ecx, 0xbb8
je 0x100241cd
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x60], esp
push 1
push edx
mov ecx, ebx
call fcn.10005400
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x80], esp
push 1
push 1
push eax
mov ecx, ebx
mov dword [esp + 0x7c], 0
call fcn.10005470
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
push ebp
push esi
mov dword [esp + 0x78], 0xffffffff
call edx
test eax, eax
je 0x100241cd
cmp dword [esp + 0x4c], 0
jne 0x10024151
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x14070d5
call edx
or eax, 0xffffffff
jmp 0x100241ef
push esi
call fcn.10007890
add esp, 4
test al, al
jne 0x100241cd
push esi
call fcn.100078c0
add esp, 4
test al, al
jne 0x100241cd
push 1
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.100055d0
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x38], 1
jb 0x1002418e
mov eax, dword [eax + 4]
jmp 0x10024191
add eax, 4
push eax
push ebp
push esi
mov ecx, edi
call fcn.10024060
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esp + 0x44], 0
je 0x100241cd
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0x1406f4e
call eax
mov eax, dword [esp + 0x44]
jmp 0x100241ef
mov ecx, dword [edi + 4]
push ebx
push ebp
push esi
call fcn.1000a110
mov esi, eax
test esi, esi
je 0x100241ed
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0x14070d3
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
Function at 0x1002dc40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10097714
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x50]
mov ebp, ecx
sub esp, 0x1c
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x44], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, ebp
call fcn.1002c3d0
mov esi, dword [esp + 0x48]
mov edi, eax
test edi, edi
jne 0x1002dcdd
push 0xa0
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x24], 1
je 0x1002dcd4
push esi
sub esp, 0x1c
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, edi
call fcn.1002b750
jmp 0x1002dcd6
xor eax, eax
mov byte [esp + 0x24], 0
mov edi, eax
push esi
mov ecx, edi
call fcn.1002b8c0
mov ecx, dword [esp + 0x4c]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
push ebx
sub esi, eax
push ecx
sub esi, 1
push esi
mov ecx, edi
call fcn.1002bcc0
push edi
sub esp, 0x1c
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, ebp
call fcn.1002d350
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x28
Function at 0x1002dda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10097738
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.XWCertRetrieve.0
mov eax, dword [esi + 8]
push str.XWCertRetrieve::XWCertRetrieve____finalized.
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.10077b60
mov dword [0x100cd930], ebx
lea ecx, [esi + 0x14]
push ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esi + 0x1c]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 4]
add esp, 0x10
cmp ecx, ebx
mov byte [esi + 0x38], bl
je 0x1002de2a
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi], vtable.IXWCertRetrieve.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x100309d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10097de3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0x10
mov dword [esp + 0x1c], 0
mov dword [esi], vtable.XWCertRetrieve.0
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 1
je 0x10030a28
mov ecx, eax
call fcn.10066cd0
jmp 0x10030a2a
xor eax, eax
push 0
mov byte [esp + 0x1c], 0
mov dword [esi + 4], eax
call fcn.100779c0
add esp, 4
mov dword [esi + 8], eax
call fcn.10008060
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1009fc09
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.10065760
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov byte [esi + 0x38], al
mov eax, dword [esi + 8]
push str.XWCertRetrieve::XWCertRetrieve____Initialized.
push eax
call fcn.10077b60
add esp, 0x28
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret