joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5499e8
Capabilities:
Log keystrokes via polling

Disassembly:
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
test byte [esp + 0xa2], 0x80
jne 0x549a0c
test byte [esp + 0xa3], 0x80
jne 0x549a0c
xor eax, eax
jmp 0x549a0e
mov al, 1
add esp, 0x100
ret

Function at 0x549a18
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xfffffeec
xor ebx, ebx
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x549a3b
cmp dword [esp + 4], 6
jae 0x549a3b
mov bl, 1
mov eax, ebx
add esp, 0x114
pop ebx
ret

Function at 0x54aa40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x54aab2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00404ac0
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x54aacc
mov edx, dword [0x72288c]
call fcn.004078d8
mov eax, dword [ebp - 0x24]
call fcn.0040767c
mov dword [ebp - 0x16], eax
mov word [ebp - 0xe], 0x414
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54aab9
lea eax, [ebp - 0x24]
call fcn.00406acc
ret
Function at 0x45064c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x45065b
pop dword [ebp - 0x38]
mov eax, 0x35f50ef7
add eax, 0xca4ff764
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x84998389
sub dword [ebp - 0x48], 0x36473e3e
mov dword [ebp - 0x44], 0x9c5d8bde
sub dword [ebp - 0x44], 0x6a2a3f99
mov dword [ebp - 0x40], 0x7fbf3ebc
sub dword [ebp - 0x40], 0x3372fa8e
mov dword [ebp - 0x3c], 0xfa16273a
sub dword [ebp - 0x3c], 0xfa16273a
lea eax, [ebp - 0x48]
push eax
mov eax, 0x508c82ac
add eax, 0xafb92db8
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x46387308
add dword [ebp - 0x48], 0x2e39f64e
mov dword [ebp - 0x44], 0xf010ed8
add dword [ebp - 0x44], 0x326b529d
mov dword [ebp - 0x40], 0x9452c95b
add dword [ebp - 0x40], 0xcf1ca311
mov dword [ebp - 0x3c], 0x6aeb3c5a
sub dword [ebp - 0x3c], 0x6aeb3c5a
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x4c73a
push 0
call eax
mov ecx, 0xfda044e0
sub ecx, 0xfda004be
mov esi, eax
mov edi, 0x476000
add edi, dword [ebp - 0x38]
mov edx, 0x884af740
sub edx, 0x39d57603
mov dword [ebp - 0x30], 0x637d60d9
mov ebx, dword [edi]
sub dword [ebp - 0x24], edi
sub ebx, edx
sub dword [ebp - 0x10], ecx
mov dword [esi], ebx
xor dword [ebp - 0x14], edi
add esi, 4
add edi, 0xf666590a
sub edi, 0xf6665906
loop 0x450772
add eax, 0x5c9d4888
sub eax, 0x5c9c552d
mov ebx, eax
add eax, 5
mov ecx, 0x9702ddae
sub ecx, 0x96c2ddae
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x10001480
Capabilities:
Query environment variable

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

Function at 0x100025e0
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 0x10002610
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 + 0x1009e7d8]
sub ecx, 1
add esi, 1
test ecx, ecx
jne 0x100025f0
pop esi
not eax
ret 8
Function at 0x10003190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100916ac
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov eax, dword [0x100cc8ec]
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.1006acf0
add esp, 0x10
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0xc]
call dword [0x1009e138]
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x1000322a
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.10090524
add esp, 0x130
ret
Function at 0x1000fed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100934bb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.10014d60
mov edx, dword [esi + 0xc]
push str._CORE__XWPKCS11Session::getSelectedCert____START__
push edx
call fcn.100772b0
mov edi, dword [esp + 0x20]
mov ebx, dword [esi + 4]
add esp, 8
test edi, edi
je 0x1000ff32
cmp edi, esi
je 0x1000ff38
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
je 0x10010002
test edi, edi
jne 0x1000ff4e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [edi + 4]
jne 0x1000ff59
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10010002
cmp dword [eax + 4], 0
je 0x10010002
mov ecx, dword [eax]
call sym.XecureMacuxCSM.dll_private:_void___thiscall_XWFileUtility::constructor_void_
cmp dword [eax + 0x89c], 0
lea ecx, [eax + 0x89c]
je 0x1001004f
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x24]
push edx
push ecx
mov ecx, dword [esi + 0x10]
push eax
call fcn.10077600
test eax, eax
jne 0x1001003c
push 0xaa70
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov dword [esp + 0x38], 0
je 0x1000ffd1
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.10006fa0
mov edi, eax
jmp 0x1000ffd3
xor edi, edi
push 1
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x1c], edi
call fcn.100052a0
mov eax, dword [esi + 0xc]
push str._CORE__XWPKCS11Session::getSelectedCert__Success.
push eax
call fcn.10077220
add esp, 8
test edi, edi
jne 0x10010011
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x15ef683
call edx
mov eax, dword [esi + 0xc]
push str._CORE__XWPKCS11Session::getSelectedCert____COMPLETE__
push eax
call fcn.100772b0
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
mov ecx, dword [esi + 0xc]
push str._CORE__XWPKCS11Session::getSelectedCert__Fail_:_certificate_not_found.
push ecx
call fcn.10077220
add esp, 8
jmp 0x10010002
mov edx, dword [esi + 0xc]
push str._CORE__XWPKCS11Session::getSelectedCert__Fail_:_PrivateKey_Handle_is_NULL.
push edx
call fcn.10077220
add esp, 8
jmp 0x10010002
Function at 0x10012370
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100937eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100cc8ec]
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.10010d90
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.1006ae80
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 0x10012420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009381b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100cc8ec]
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.10010d90
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.1006ae80
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 0x100124de
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 0x100124d0
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 0x10012500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009384b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100cc8ec]
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.10077110
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 0x10012564
mov ecx, eax
call fcn.10066540
jmp 0x10012566
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 0x10017300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10093f93
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100cc8ec]
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.10016fa0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
mov dword [esi], vtable.XWStorageTypeGPKI.0
call fcn.10015a80
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 0x1001c380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10094e93
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100cc8ec]
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.10016fa0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
mov dword [esi], vtable.XWStorageTypeXecure.0
call fcn.10015a80
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 0x1001cd20
Capabilities:
Create directory
Delete directory
Delete file
Write file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x100cc8ec]
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 0x1001cda3
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 0x1001cdf7
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 0x1001cec1
cmp dword [esp + 0x248], 0x10
mov eax, dword [esp + 0x234]
jae 0x1001ce0f
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 0x1001cec1
lea edx, [esp + 0x20]
push 0x100a1cac
push edx
call dword [sym.imp.MSVCR80.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x1001ceb9
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1001ce70
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 0x1001cec1
lea edx, [esp + 0x124]
push edx
call dword [sym.imp.MSVCR80.dll__rmdir]
add esp, 4
jmp 0x1001cec1
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.10090524
add esp, 0x21c
ret
Function at 0x10023640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10095c99
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
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.10010860
mov edi, dword [esp + 0x34]
mov esi, eax
push edi
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.1000ea40
push edi
mov ecx, esi
call fcn.1000fdd0
mov eax, 3
cmp dword [esp + 0x38], eax
jne 0x100236a7
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
mov dword [esp + 0x34], 0
jle 0x100237aa
mov ebp, dword [esp + 0x44]
cmp dword [esp + 0x14], 1
mov esi, dword [esp + 0x38]
je 0x100236cd
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 0x100236f8
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 0x10023732
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 0x1002375c
mov ecx, dword [ebx + 4]
push eax
push esi
push edi
call fcn.1000a140
mov esi, eax
test esi, esi
je 0x10023756
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x1406f45
call edx
mov dword [esp + 0x18], esi
jmp 0x10023791
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10023779
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.100772b0
add esp, 0x14
jmp 0x10023791
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.100772b0
add esp, 0x18
mov eax, dword [esp + 0x34]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
jl 0x100236be
mov esi, dword [esp + 0x1c]
push edi
mov ecx, esi
call fcn.1000fe50
push edi
mov ecx, esi
call fcn.1000f1f0
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 0x100239e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10095cd2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
call fcn.10010860
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 0x10023b2d
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 0x10023b2d
cmp dword [esp + 0x4c], 0
jne 0x10023ab1
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x14070d5
call edx
or eax, 0xffffffff
jmp 0x10023b4f
push esi
call fcn.10007890
add esp, 4
test al, al
jne 0x10023b2d
push esi
call fcn.100078c0
add esp, 4
test al, al
jne 0x10023b2d
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 0x10023aee
mov eax, dword [eax + 4]
jmp 0x10023af1
add eax, 4
push eax
push ebp
push esi
mov ecx, edi
call fcn.100239c0
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 0x10023b2d
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0x1406f4e
call eax
mov eax, dword [esp + 0x44]
jmp 0x10023b4f
mov ecx, dword [edi + 4]
push ebx
push ebp
push esi
call fcn.1000a0b0
mov esi, eax
test esi, esi
je 0x10023b4d
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