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

Disassembly:
push 0xffffffffffffffff
push 0x1009c7d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 2
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 ebx
mov byte [esp + 0x20], 3
call fcn.10077110
add esp, 4
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x1009ec09
mov dword [esi + 0xac], 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.10064fd0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
add esp, 0x20
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, esi
mov byte [esi + 4], bl
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xb4], ebx
call fcn.100757b0
test eax, eax
mov eax, esi
je 0x10075b69
mov byte [esi + 4], bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x14

Function at 0x100762d0
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0x10
jb 0x100762de
mov eax, dword [esi + 0x24]
jmp 0x100762e1
lea eax, [esi + 0x24]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x10076318
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esi + 0x124]
push ecx
call sub.MSVCR80.dll_memcpy
movzx edx, word [esi + 0x3c]
add esp, 0xc
push edx
call sub.WS2_32.dll_htons
mov word [esi + 0x122], ax
pop esi
ret
cmp dword [esi + 0x38], 0x10
jb 0x10076323
mov eax, dword [esi + 0x24]
jmp 0x10076326
lea eax, [esi + 0x24]
push eax
call sub.WS2_32.dll_inet_addr
movzx edx, word [esi + 0x3c]
push edx
mov dword [esi + 0x124], eax
call sub.WS2_32.dll_htons
mov word [esi + 0x122], ax
pop esi
ret
Function at 0x100768e0
Capabilities:
Create directory

Disassembly:
sub esp, 0x14
push ebp
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.MSVCR80.dll__time64]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea esi, [edi + 0x198]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.MSVCR80.dll__localtime64_s]
mov ebp, dword [esp + 0x30]
add esp, 0xc
test ebp, ebp
mov dword [edi + 0x1bc], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
jne 0x1007695b
lea esi, [edi + 0x10]
push str.testLog.log
push esi
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 8
push 0x40
push 8
push esi
lea ecx, [edi + 0x110]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::open_char_const___int__int_]
jmp 0x10076a2d
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10076960
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0xfde9
call fcn.1007daf0
add esp, 0x14
test eax, eax
jne 0x100769bf
push eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
je 0x100769cb
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.MSVCR80.dll__wmkdir]
add esp, 4
test eax, eax
je 0x100769cb
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100769bf
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x14
ret 4
mov ecx, edi
lea esi, [edi + 0x10]
call fcn.10076880
push eax
push str.XecureWebLog
push ebp
push str._s__s__s
push esi
call dword [sym.imp.MSVCR80.dll_sprintf]
mov eax, esi
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100769f0
sub eax, edx
push eax
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0xfde9
call fcn.1007daf0
add esp, 0x14
test eax, eax
jne 0x100769ad
mov ecx, dword [esp + 0x10]
push 0x40
push 8
push ecx
lea ecx, [edi + 0x110]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::open_wchar_t_const___int__int_]
mov eax, dword [esp + 0xc]
test eax, eax
mov esi, dword [sym.imp.MSVCR80.dll_free]
je 0x10076a41
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10076a4f
push eax
call esi
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x14
ret 4
Function at 0x10077340
Capabilities:
Get common file path

Disassembly:
sub esp, 0x420
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
mov esi, ecx
push 0x1009ec09
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_char_const__]
push 0x400
lea eax, [esp + 0x24]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x400
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10077391
sub eax, edx
mov edx, 0x3ff
sub edx, eax
push edx
lea eax, [esp + 0x24]
push str._npki_pkcs11.cnf
push eax
call dword [sym.imp.MSVCR80.dll_strncat]
push 0x1009ec09
add esi, 4
push esi
call fcn.10080060
add esp, 0x14
lea ecx, [esp + 4]
mov esi, eax
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 + 0x420]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10090524
add esp, 0x420
ret

Function at 0x10077450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009cbd9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x1009ec09
lea ecx, [esp + 0xc]
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__]
cmp dword [0x100cefcc], 0
mov dword [esp + 0x30], 0
je 0x100774d2
mov esi, dword [esi + 4]
test esi, esi
je 0x100774d2
mov eax, dword [esi]
add eax, 0x100
push eax
lea ecx, [esp + 0xc]
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_char_const__]
mov esi, dword [esi + 4]
test esi, esi
je 0x100774d2
push 0x1009f844
lea ecx, [esp + 0xc]
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_char_const__]
jmp 0x100774a8
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x100774e1
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 + 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
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10090524
add esp, 0x2c
ret
Function at 0x1007c200
Capabilities:
Get common file path

Disassembly:
sub esp, 0x420
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
mov esi, ecx
push 0x1009ec09
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_char_const__]
push 0x400
lea eax, [esp + 0x24]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x400
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007c251
sub eax, edx
mov edx, 0x3ff
sub edx, eax
push edx
lea eax, [esp + 0x24]
push str._npki_pkcs11.cnf
push eax
call dword [sym.imp.MSVCR80.dll_strncat]
push 0x1009ec09
add esi, 4
push esi
call fcn.10082b60
add esp, 0x14
lea ecx, [esp + 4]
mov esi, eax
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 + 0x420]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10090524
add esp, 0x420
ret

Function at 0x1007c310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009d5f9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x1009ec09
lea ecx, [esp + 0xc]
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__]
cmp dword [0x100cefd4], 0
mov dword [esp + 0x30], 0
je 0x1007c392
mov esi, dword [esi + 4]
test esi, esi
je 0x1007c392
mov eax, dword [esi]
add eax, 0x100
push eax
lea ecx, [esp + 0xc]
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_char_const__]
mov esi, dword [esi + 4]
test esi, esi
je 0x1007c392
push 0x1009f844
lea ecx, [esp + 0xc]
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_char_const__]
jmp 0x1007c368
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x1007c3a1
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 + 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
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10090524
add esp, 0x2c
ret
Function at 0x1007c570
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x11c
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call esi
test eax, eax
jne 0x1007c5dd
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x114
call esi
test eax, eax
jne 0x1007c5dd
xor al, al
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.10090524
add esp, 0x120
ret
cmp dword [esp + 8], 6
mov ecx, dword [esp + 0x120]
setae al
pop esi
xor ecx, esp
call fcn.10090524
add esp, 0x120
ret

Function at 0x1007c650
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push esi
push 0
push 0x1007c600
call dword [sym.imp.MSVCR80.dll__beginthread]
add esp, 0xc
mov dword [esi + 4], eax
pop esi
ret
Function at 0x1007e2b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov edi, dword [esp + 0x4c]
or ebx, 0xffffffff
cmp edi, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
je 0x1007e400
mov esi, dword [esp + 0x50]
cmp esi, ebp
je 0x1007e400
xor eax, eax
mov dword [edi], eax
push 0x30
mov dword [edi + 4], eax
lea eax, [esp + 0x1c]
push ebp
push eax
call sub.MSVCR80.dll_memset
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007e2f8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0xfde9
call fcn.1007daf0
mov esi, eax
add esp, 0x14
cmp esi, ebp
mov ebp, dword [esp + 0x10]
jne 0x1007e3da
push 0
push ebp
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
je 0x1007e36a
mov esi, dword [sym.imp.MSVCR80.dll__errno]
call esi
cmp dword [eax], 0xd
jne 0x1007e351
mov esi, 0x1f5f
jmp 0x1007e3da
call esi
mov esi, dword [eax]
sub esi, 2
neg esi
sbb esi, esi
and esi, 0xffffe09f
add esi, 0x1f60
jmp 0x1007e3da
push 0
push 0x8000
push ebp
call dword [sym.imp.MSVCR80.dll__wopen]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jge 0x1007e386
or esi, 0xffffffff
jmp 0x1007e3da
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.MSVCR80.dll__wstat64i32]
add esp, 8
test eax, eax
je 0x1007e39e
or esi, 0xffffffff
jmp 0x1007e3da
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
add eax, 1
push 1
push eax
call sub.XecureAcIO.dll_XFA_calloc
add esp, 8
test eax, eax
mov dword [edi + 4], eax
jne 0x1007e3c0
mov esi, 0x1f43
jmp 0x1007e3da
mov ecx, dword [edi]
push ecx
push eax
push ebx
call dword [sym.imp.MSVCR80.dll__read]
xor edx, edx
add esp, 0xc
test eax, eax
setg dl
sub edx, 1
mov esi, edx
test ebp, ebp
je 0x1007e3e8
push ebp
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test ebx, ebx
jle 0x1007e3f6
push ebx
call dword [sym.imp.MSVCR80.dll__close]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0x1f41
pop ebx
add esp, 0x38
ret

Function at 0x1007e500
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push esi
push eax
push ecx
call dword [sym.imp.MSVCR80.dll__read]
add esp, 0xc
test eax, eax
jne 0x1007e524
mov eax, 0x1f5e
pop esi
ret
xor edx, edx
cmp eax, esi
setge dl
pop esi
sub edx, 1
mov eax, edx
ret
Function at 0x1007ed00
Capabilities:
Get common file path
Get file attributes
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push edi
push str.ProgramFiles
call dword [sym.imp.MSVCR80.dll_getenv]
mov ebx, dword [sym.imp.MSVCR80.dll__access]
mov edi, eax
add esp, 4
test edi, edi
je 0x1007ed53
push 0
push edi
call ebx
add esp, 8
test eax, eax
jne 0x1007ed53
push 0x401
push eax
push esi
call sub.MSVCR80.dll_memset
push 0x400
push edi
jmp 0x1007edd9
push 0x400
lea eax, [esp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x408]
push 0x100a179c
push ecx
call dword [sym.imp.MSVCR80.dll_strtok]
push eax
lea edx, [esp + 0x14]
push str._sProgram_Files
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
lea eax, [esp + 0x1c]
push 0
push eax
call ebx
add esp, 0x1c
test eax, eax
jne 0x1007edc2
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x1007edc2
push 0x401
push 0
push esi
call sub.MSVCR80.dll_memset
push 0x400
lea edx, [esp + 0x18]
push edx
jmp 0x1007edd9
push 0x401
push 0
push esi
call sub.MSVCR80.dll_memset
push 0x400
push 0x1009ec09
push esi
call dword [sym.imp.MSVCR80.dll_strncpy]
mov ecx, dword [esp + 0x820]
add esp, 0x18
pop edi
pop ebx
xor ecx, esp
call fcn.10090524
add esp, 0x804
ret
Function at 0x1007f0c0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x408
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
push edi
push 0x400
xor edi, edi
lea eax, [esp + 0xd]
push edi
push eax
mov byte [esp + 0x14], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea esi, [esp + 8]
call fcn.1007ed00
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007f100
mov esi, dword [sym.imp.MSVCR80.dll_strncat]
sub eax, edx
mov ecx, 0x400
sub ecx, eax
push ecx
lea edx, [esp + 0xc]
push str.SoftForum
push edx
call esi
lea eax, [esp + 0x14]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007f130
sub eax, edx
mov ecx, 0x400
sub ecx, eax
push ecx
lea edx, [esp + 0xc]
push str.Xecure_Mobile_Relay
push edx
call esi
lea eax, [esp + 0x14]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007f160
sub eax, edx
mov ecx, 0x400
sub ecx, eax
push ecx
lea edx, [esp + 0xc]
push str.xcmhsmpc.dll
push edx
call esi
add esp, 0xc
push 8
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [0x100cf04c], eax
jne 0x1007f1b6
pop edi
mov eax, 0xffffff7f
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.10090524
add esp, 0x408
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XcSet
push eax
call esi
test eax, eax
jne 0x1007f1cb
lea edi, [eax + 1]
mov ecx, dword [0x100cf04c]
push str.XcInit
push ecx
call esi
test eax, eax
jne 0x1007f1e0
or edi, 2
mov edx, dword [0x100cf04c]
push str.XcInitEx
push edx
call esi
test eax, eax
jne 0x1007f1f5
or edi, 4
mov eax, dword [0x100cf04c]
push str.XcGetSignatureFirst
push eax
call esi
test eax, eax
jne 0x1007f209
or edi, 8
mov ecx, dword [0x100cf04c]
push str.XcGetSignatureChain
push ecx
call esi
test eax, eax
jne 0x1007f21e
or edi, 0x10
mov edx, dword [0x100cf04c]
push str.XcClose
push edx
call esi
test eax, eax
jne 0x1007f233
or edi, 0x16
mov eax, dword [0x100cf04c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x40c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.10090524
add esp, 0x408
ret
Function at 0x1007f260
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x408
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
push 0x400
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea esi, [esp + 4]
call fcn.1007ed00
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007f2a0
mov esi, dword [sym.imp.MSVCR80.dll_strncat]
sub eax, edx
mov ecx, 0x400
sub ecx, eax
push ecx
lea edx, [esp + 8]
push str.SoftForum
push edx
call esi
lea eax, [esp + 0x10]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007f2d0
sub eax, edx
mov ecx, 0x400
sub ecx, eax
push ecx
lea edx, [esp + 8]
push str.Xecure_Mobile_Relay
push edx
call esi
lea eax, [esp + 0x10]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1007f300
sub eax, edx
mov ecx, 0x400
sub ecx, eax
push ecx
lea edx, [esp + 8]
push str.xcmhsmpc.dll
push edx
call esi
add esp, 0xc
push 8
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [0x100cf04c], eax
jne 0x1007f355
mov eax, 0xffffff7f
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.10090524
add esp, 0x408
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XcSet
push eax
call esi
mov ecx, dword [0x100cf04c]
push str.XcInit
push ecx
mov dword [0x100ceffc], eax
call esi
mov edx, dword [0x100cf04c]
push str.XcInitEx
push edx
mov dword [0x100cf000], eax
call esi
mov dword [0x100cf004], eax
mov eax, dword [0x100cf04c]
push str.XcGetSignatureFirst
push eax
call esi
mov ecx, dword [0x100cf04c]
push str.XcGetSignatureChain
push ecx
mov dword [0x100cf008], eax
call esi
mov edx, dword [0x100cf04c]
push str.XcClose
push edx
mov dword [0x100cf00c], eax
call esi
mov ecx, dword [esp + 0x408]
pop esi
mov dword [0x100cf010], eax
xor ecx, esp
xor eax, eax
call fcn.10090524
add esp, 0x408
ret
Function at 0x10082b60
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x104], eax
push edi
mov edi, dword [esp + 0x110]
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
test edi, edi
jne 0x10082bb4
mov eax, 0x3e9
pop edi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10090524
add esp, 0x108
ret
push str.WINDOWS_system32
call dword [sym.imp.MSVCR80.dll_getenv]
add esp, 4
test eax, eax
je 0x10082bdf
push str._npki_pkcs11.cnf
push eax
lea ecx, [esp + 0xc]
push 0x100a0814
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x10
push esi
push 8
push 1
call sub.XecureAcIO.dll_XFA_calloc
mov esi, eax
push 0x809
push 1
mov dword [edi], esi
call sub.XecureAcIO.dll_XFA_calloc
push 0x100
push 0
push eax
mov dword [esi], eax
call sub.MSVCR80.dll_memset
mov edx, dword [esi]
mov edi, dword [sym.imp.MSVCR80.dll_strncpy]
push 0xff
push str.SDisk
push edx
call edi
mov eax, dword [esi]
push 0x100
add eax, 0x100
push 0
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [esi]
push 0xff
add ecx, 0x100
push str.SecureDisk
push ecx
call edi
mov edx, dword [esi]
add esp, 0x40
push 0x104
add edx, 0x200
push 0
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [esi]
push 0x103
add eax, 0x200
push str.C:Windowssystem32_npki_securedisk.dll
push eax
call edi
mov ecx, dword [esi]
push 0x400
add ecx, 0x408
push 0
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [esi]
push 0x3ff
add edx, 0x408
push str.C:Windowssystem32_npki_securedisk.dll
push edx
call edi
mov eax, dword [esi]
push 0x104
add eax, 0x304
push 0
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [esi]
push 0x103
add ecx, 0x304
push str.C:Windowssystem32SecureDisk.der
push ecx
call edi
mov ecx, dword [esp + 0x154]
add esp, 0x48
pop esi
pop edi
xor ecx, esp
xor eax, eax
call fcn.10090524
add esp, 0x108
ret
Function at 0x10090524
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100cc8ec]
jne 0x1009052e
repz ret
jmp fcn.10090e62