Function at 0x1000b740
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100932f6
mov eax, dword fs:[0]
push eax
mov eax, 0x2178
call fcn.10090560
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x2174], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x218c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x21a0]
mov esi, dword [sym.imp.xwm_smartcard.dll_public:_void___thiscall_BIN_TEMP::constructor_void_]
mov ebp, ecx
mov ecx, dword [esp + 0x21ac]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], eax
call esi
xor ebx, ebx
lea ecx, [esp + 0x58]
mov dword [esp + 0x2194], ebx
call esi
lea ecx, [esp + 0x60]
mov byte [esp + 0x2194], 1
call dword [sym.imp.xwm_smartcard.dll_public:_void___thiscall_CertificateData::constructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x2194], 2
call esi
push 0x7f
lea edx, [esp + 0x10d]
push ebx
push edx
mov byte [esp + 0x21a0], 3
mov dword [esp + 0x30], ebx
mov byte [esp + 0x114], bl
call sub.MSVCR80.dll_memset
push 0x7f
lea eax, [esp + 0x99]
push ebx
push eax
mov byte [esp + 0xa0], bl
call sub.MSVCR80.dll_memset
push 0xfff
lea ecx, [esp + 0x1a5]
push ebx
push ecx
mov byte [esp + 0x1ac], bl
call sub.MSVCR80.dll_memset
push 0xfff
lea edx, [esp + 0x11b1]
push ebx
push edx
mov byte [esp + 0x11b8], bl
call sub.MSVCR80.dll_memset
mov edi, dword [esp + 0x21cc]
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x10]
mov ecx, eax
imul ecx, ecx, 0x64
mov eax, edi
sub eax, ecx
push str.ICStoreToken::setUserCertificate____START
mov esi, edi
push edx
sub esi, eax
call fcn.100772b0
add esp, 0x38
cmp esi, 0xc1c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
jne 0x1000bb18
lea eax, [esp + 0x108]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x90]
push edx
push 5
push 0x64
mov dword [esp + 0x28], 1
mov byte [esp + 0x9c], bl
mov byte [esp + 0x9d], 0xb2
mov byte [esp + 0x9e], 1
mov byte [esp + 0x9f], 0x1c
mov byte [esp + 0xa0], 0x34
call eax
mov ecx, dword [esp + 0x18]
cmp byte [esp + ecx + 0x106], 0x90
jne 0x1000b99f
lea eax, [esp + 0x108]
sub eax, 2
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1188]
jmp 0x1000b924
mov eax, dword [esp + 0x20]
mov edi, eax
add eax, 0x34
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add eax, 1
lea edx, [esp + 0x108]
push edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov byte [esp + 0x8e], al
mov ecx, 0xd
lea esi, [esp + 0x10d]
lea eax, [esp + 0x1c]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
push 5
push 0x64
mov byte [esp + 0x9c], bl
mov byte [esp + 0x9d], 0xb2
mov byte [esp + 0x9f], 0x1c
mov byte [esp + 0xa0], 0x34
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + eax], 0x90
je 0x1000b920
mov edi, dword [esp + 0x219c]
movzx eax, byte [esp + 0x118a]
movzx edx, byte [esp + 0x118b]
shl eax, 8
add eax, edx
je 0x1000b9cf
add eax, 4
push eax
lea eax, [esp + 0x118c]
push eax
lea ecx, [esp + 0x30]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Set
add esp, 0xc
push 0x1000
lea edx, [esp + 0x18c]
push ebx
push edx
mov dword [esp + 0x20], 1
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x108]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x90]
push edx
push 5
push 0x64
mov byte [esp + 0x9c], bl
mov byte [esp + 0x9d], 0xb2
mov byte [esp + 0x9e], 1
mov byte [esp + 0x9f], 0x24
mov byte [esp + 0xa0], 0x34
call eax
mov ecx, dword [esp + 0x18]
cmp byte [esp + ecx + 0x106], 0x90
jne 0x1000badf
lea eax, [esp + 0x108]
sub eax, 2
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x188]
jmp 0x1000ba64
mov eax, dword [esp + 0x20]
mov edi, eax
add eax, 0x34
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add eax, 1
lea edx, [esp + 0x108]
push edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov byte [esp + 0x8e], al
mov ecx, 0xd
lea esi, [esp + 0x10d]
lea eax, [esp + 0x1c]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
push 5
push 0x64
mov byte [esp + 0x9c], bl
mov byte [esp + 0x9d], 0xb2
mov byte [esp + 0x9f], 0x24
mov byte [esp + 0xa0], 0x34
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + eax], 0x90
je 0x1000ba60
mov edi, dword [esp + 0x219c]
movzx eax, byte [esp + 0x18a]
movzx edx, byte [esp + 0x18b]
shl eax, 8
add eax, edx
je 0x1000bc66
add eax, 4
push eax
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x38]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Set
add esp, 0xc
jmp 0x1000bc66
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x21a4]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x21ac]
push eax
push ecx
push ebx
push edx
call sub.xwm_smartcard.dll_Ordinal_22
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x1000bb64
mov eax, dword [ebp + 0x10]
push esi
push str.ICStoreToken::setUserCertificate____FAIL:_XWM_getCertificateData2___d_
push eax
call fcn.100772b0
add esp, 0xc
push esi
mov ecx, ebp
call fcn.1000a6a0
mov dword [esp + 0x24], eax
jmp 0x1000bce2
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
push ecx
push edx
lea eax, [esp + 0x38]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Set
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Set
mov edx, dword [esp + 0x2c]
add esp, 0x18
cmp edx, ebx
je 0x1000bc66
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1000bba0
sub eax, esi
je 0x1000bc66
mov eax, dword [esp + 0x21a8]
cmp eax, 1
je 0x1000bc66
lea ecx, [esp + 0x58]
push ecx
push edx
mov edx, dword [esp + 0x24]
push edx
push ebx
push ebx
push eax
call sub.xwm_smartcard.dll_Ordinal_26
mov esi, eax
add esp, 0x18
cmp esi, ebx
je 0x1000bc00
mov eax, dword [ebp + 0x10]
push esi
push str.ICStoreToken::setUserCertificate____FAIL:_XWM_getVid2___d_
push eax
call fcn.100772b0
add esp, 0xc
push esi
mov ecx, ebp
call fcn.1000a6a0
mov dword [esp + 0x24], eax
jmp 0x1000bce2
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x50]
call dword [sym.imp.xwm_smartcard.dll_public:_long_int___thiscall_BIN_TEMP::SetValue_unsigned_char___unsigned_int_]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
call sub.xwm_smartcard.dll_Ordinal_24
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x1000bc45
mov ecx, dword [ebp + 0x10]
push esi
push str.ICStoreToken::setUserCertificate____FAIL:_XWM_getSignKeyWithVID___d_
push ecx
jmp 0x1000bb4b
lea edx, [esp + 0x28]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Set
add esp, 0x10
push 0xaa70
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x2194], 4
je 0x1000bca2
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.10007340
mov esi, eax
jmp 0x1000bca4
xor esi, esi
mov ecx, esi
mov byte [esp + 0x2194], 3
call fcn.10004c80
cmp al, 1
jne 0x1000bcce
call fcn.10008000
push edi
mov ecx, eax
call fcn.10009f50
push esi
mov ecx, eax
call fcn.1001e620
jmp 0x1000bce2
cmp esi, ebx
je 0x1000bce2
mov ecx, esi
call fcn.10004a20
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp + 0x10]
push str.ICStoreToken::setUserCertificate____END
push eax
call fcn.100772b0
mov edi, dword [esp + 0x2c]
add esp, 8
cmp edi, ebx
je 0x1000bd09
mov ebp, dword [ebp + 0x14]
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
push edi
mov ecx, ebp
call eax
lea ecx, [esp + 0x30]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esp + 0x2c]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea eax, [esp + 0x48]
push eax
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea ecx, [esp + 0x5c]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
mov esi, dword [sym.imp.xwm_smartcard.dll_public:_void___thiscall_BIN_TEMP::destructor_void_]
add esp, 0x10
lea ecx, [esp + 0x48]
mov byte [esp + 0x2194], 2
call esi
lea ecx, [esp + 0x80]
mov byte [esp + 0x2194], 6
call esi
mov ebp, dword [sym.imp.xwm_smartcard.dll_public:_void___thiscall_CertificateData_BASE::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x2194], 5
call ebp
lea ecx, [esp + 0x60]
mov byte [esp + 0x2194], 1
call ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x2194], bl
call esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x2194], 0xffffffff
call esi
mov eax, edi
mov ecx, dword [esp + 0x218c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2174]
xor ecx, esp
call fcn.10090524
add esp, 0x2184
ret 0x14