Function at 0x1015c360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101a9268
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14c]
mov esi, dword [esp + 0x15c]
mov ebp, dword [esp + 0x138]
mov edi, dword [esp + 0x158]
push str.padAndSignHash
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], eax
call fcn.10061630
mov ecx, edi
mov dword [esp + 0x130], 0
call fcn.10017ff0
cmp byte [esi + 0x125], 0
mov ebx, dword [esp + 0x140]
je 0x1015c4a6
cmp dword [esp + 0x150], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
jne 0x1015c40c
push str.Private
jmp 0x1015c411
push str.Public
push str.keyType
call eax
mov ecx, dword [esp + 0x13c]
push ecx
push str.hashInSize
mov ecx, esi
call fcn.100612a0
cmp ebx, 1
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
jne 0x1015c446
push str.PKCS_v1.5
push str.padding
call eax
jmp 0x1015c4a6
push 0x101f5360
push str.padding
call eax
lea ecx, [esp + 0xb0]
call fcn.10010fb0
mov edx, dword [esp + 0x144]
lea ecx, [esp + 0xb0]
push ecx
push edx
mov byte [esp + 0x138], 1
call fcn.1007cdc0
add esp, 8
lea eax, [esp + 0xb0]
push eax
push str.pssHashAlg
mov ecx, esi
call fcn.10060fd0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x130], 0
call fcn.10011070
test ebp, ebp
je 0x1015c882
cmp dword [esp + 0x13c], 0
je 0x1015c882
cmp ebx, 1
je 0x1015c4d9
cmp ebx, 3
je 0x1015c4d9
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Invalid_padding_selection
mov ecx, esi
call eax
jmp 0x1015c890
mov ecx, dword [esp + 0x18]
call fcn.1015f7d0
mov ecx, dword [esp + 0x18]
add ecx, 0x98
push ecx
mov ebp, eax
call fcn.1006ffb0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
call fcn.100182e0
cmp ebx, 3
mov byte [esp + 0x130], 2
jne 0x1015c569
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x144]
push esi
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x144]
push ebp
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.10163e10
add esp, 0x1c
test al, al
jne 0x1015c7ab
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.PSS_encoding_failed.
mov ecx, esi
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x130], 0
call fcn.10018a90
jmp 0x1015c890
lea ecx, [esp + 0x4c]
call fcn.1008be20
lea ecx, [esp + 0x4c]
mov byte [esp + 0x130], 3
call fcn.1008e650
lea ecx, [esp + 0x80]
call fcn.100d6ce0
mov ebx, dword [esp + 0x144]
lea ecx, [esp + 0x80]
push ecx
push ebx
mov byte [esp + 0x138], 4
call fcn.1007d010
add esp, 8
test al, al
jne 0x1015c64d
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.No_OID_available_for_selected_hash_algorithm
mov ecx, esi
call eax
lea ecx, [esp + 0xb0]
call fcn.10010fb0
lea ecx, [esp + 0xb0]
push ecx
push ebx
mov byte [esp + 0x138], 5
call fcn.1007cdc0
add esp, 8
lea edx, [esp + 0xb0]
push edx
push str.HashAlg
mov ecx, esi
call fcn.10060fd0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x130], 4
call fcn.10011070
lea ecx, [esp + 0x80]
mov byte [esp + 0x130], 3
call fcn.100d6cf0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x130], 2
call fcn.1008c1b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x130], 0
call fcn.10018a90
jmp 0x1015c890
cmp byte [esi + 0x125], 0
je 0x1015c6a6
lea ecx, [esp + 0xb0]
call fcn.10010fb0
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x134], 6
call fcn.100d6d00
lea ecx, [esp + 0xb0]
push ecx
push str.HashOid
mov ecx, esi
call fcn.10060fd0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x130], 4
call fcn.10011070
call fcn.1008e380
mov ebx, eax
test ebx, ebx
je 0x1015c6ef
mov ecx, ebx
call fcn.1008e650
lea edx, [esp + 0x80]
push edx
mov ecx, ebx
call fcn.1008f320
test al, al
jne 0x1015c6de
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_append_OID_to_ASN.1
mov ecx, esi
call edx
jmp 0x1015c612
mov ecx, ebx
call fcn.1008e8b0
push ebx
lea ecx, [esp + 0x50]
call fcn.1008c0e0
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.1008f2d0
lea ecx, [esp + 0x64]
call fcn.100182e0
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x138], 7
call fcn.1008f390
add esp, 8
push esi
lea ecx, [esp + 0x34]
push ecx
push ebp
push 1
lea ecx, [esp + 0x74]
call fcn.100f6330
push eax
lea ecx, [esp + 0x78]
call fcn.1008bea0
push eax
call fcn.10162ee0
add esp, 0x18
test al, al
jne 0x1015c775
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.PKCS_v1_5_failed.
mov ecx, esi
call eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x130], 4
call fcn.10018a90
jmp 0x1015c612
lea ecx, [esp + 0x64]
mov byte [esp + 0x130], 4
call fcn.10018a90
lea ecx, [esp + 0x80]
mov byte [esp + 0x130], 3
call fcn.100d6cf0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x130], 2
call fcn.1008c1b0
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x150]
push esi
push edi
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.100f6330
push eax
lea ecx, [esp + 0x48]
call fcn.1008bea0
push eax
call fcn.1015b6b0
mov bl, al
add esp, 0x1c
test bl, bl
jne 0x1015c7f2
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.exptmod_failed.
mov ecx, esi
call eax
cmp byte [esi + 0x125], 0
je 0x1015c824
mov ecx, edi
call fcn.100f6330
mov ebp, dword [esp + 0x28]
cmp eax, ebp
jae 0x1015c828
mov ecx, edi
call fcn.100f6330
mov ecx, ebp
sub ecx, eax
push ecx
push str.numNullsPrepended
mov ecx, esi
call fcn.100612a0
jmp 0x1015c828
mov ebp, dword [esp + 0x28]
mov ecx, edi
call fcn.100f6330
cmp eax, ebp
jae 0x1015c859
push 1
lea edx, [esp + 0x1b]
push edx
mov ecx, edi
mov byte [esp + 0x1f], 0
call fcn.1001cd60
test al, al
je 0x1015c553
mov ecx, edi
call fcn.100f6330
cmp eax, ebp
jb 0x1015c833
lea ecx, [esp + 0x30]
mov byte [esp + 0x130], 0
call fcn.10018a90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x130], 0xffffffff
call fcn.100616a0
mov al, bl
jmp 0x1015c8a6
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Null_or_empty_input
mov ecx, esi
call edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x130], 0xffffffff
call fcn.100616a0
xor al, al
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.1018f87e
add esp, 0x120
ret