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

Disassembly:
mov eax, 0x14
call fcn.101bea50
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
test ebx, ebx
je 0x100c2452
cmp dword [esp + 0x30], 0
je 0x100c2452
cmp dword [esp + 0x34], 0
je 0x100c2452
push ebx
call fcn.1003ab60
mov ebp, eax
add esp, 4
cmp ebp, 2
jl 0x100c2452
push 1
push ebx
call fcn.1003adb0
push 0
push ebx
mov edi, eax
call fcn.1003adb0
mov esi, dword [esp + 0x38]
mov ebx, eax
add esp, 0x10
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x100c220e
test ebx, ebx
je 0x100c2452
cmp dword [esi + 0x24], 0
jne 0x100c221c
test edi, edi
je 0x100c2452
test ebx, ebx
je 0x100c2234
push eax
call fcn.10051870
push 4
push ebx
mov dword [esi + 0x20], ebx
call fcn.10052210
add esp, 0xc
test edi, edi
je 0x100c224e
push dword [esi + 0x24]
call fcn.10051870
push 4
push edi
mov dword [esi + 0x24], edi
call fcn.10052210
add esp, 0xc
mov ebx, dword [esp + 0x30]
inc dword [esi + 0x78]
push ebx
call fcn.1003ab60
add esp, 4
cmp ebp, eax
jne 0x100c2320
mov edi, dword [esp + 0x34]
push edi
call fcn.1003ab60
inc eax
add esp, 4
cmp ebp, eax
jne 0x100c2320
push 0
push edi
call fcn.1003adb0
push 1
push ebx
mov edi, eax
call fcn.1003adb0
push 0
push dword [esp + 0x44]
mov ebx, eax
call fcn.1003adb0
mov ecx, dword [esi + 0x28]
add esp, 0x18
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x100c22b1
test eax, eax
je 0x100c2452
cmp dword [esi + 0x2c], 0
jne 0x100c22bf
test ebx, ebx
je 0x100c2452
cmp dword [esi + 0x30], 0
jne 0x100c22cd
test edi, edi
je 0x100c2452
test eax, eax
je 0x100c22e9
push ecx
call fcn.10051870
mov eax, dword [esp + 0x1c]
push 4
push eax
mov dword [esi + 0x28], eax
call fcn.10052210
add esp, 0xc
test ebx, ebx
je 0x100c2303
push dword [esi + 0x2c]
call fcn.10051870
push 4
push ebx
mov dword [esi + 0x2c], ebx
call fcn.10052210
add esp, 0xc
test edi, edi
je 0x100c231d
push dword [esi + 0x30]
call fcn.10051870
push 4
push edi
mov dword [esi + 0x30], edi
call fcn.10052210
add esp, 0xc
inc dword [esi + 0x78]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x18], eax
cmp ebp, 2
jle 0x100c245c
push ebp
push 0
call fcn.1003aac0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x100c2452
mov ebx, 2
nop dword [eax]
push ebx
push dword [esp + 0x30]
call fcn.1003adb0
push ebx
push dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.1003adb0
lea ecx, [ebx - 1]
mov edi, eax
push ecx
push dword [esp + 0x48]
mov dword [esp + 0x34], edi
call fcn.1003adb0
add esp, 0x18
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], 0
je 0x100c2441
test edi, edi
je 0x100c2441
test eax, eax
je 0x100c2441
push 0x31a
push str.crypto_rsa_rsa_lib.c
push 0x14
call fcn.1004b660
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100c2417
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
push 4
push ecx
mov dword [edi], ecx
mov dword [edi + 8], eax
call fcn.10052210
push 4
push dword [edi + 4]
call fcn.10052210
push 4
push dword [edi + 8]
call fcn.10052210
push edi
mov edi, dword [esp + 0x30]
push edi
call fcn.1003abf0
inc ebx
add esp, 0x20
cmp ebx, ebp
jl 0x100c2350
push esi
mov dword [esi + 0x4c], edi
call fcn.100de8c0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x100c245c
mov dword [esi + 0x4c], eax
jmp 0x100c2441
call fcn.1004b6c0
push str.ossl_rsa_set0_all_params
push 0x31b
push str.crypto_rsa_rsa_lib.c
call fcn.1004b7c0
push 0
push 0xc0100
push 4
call fcn.1004b870
add esp, 0x18
push 0x100dea00
push dword [esp + 0x18]
call fcn.1003ab90
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
test eax, eax
je 0x100c246e
push 0x100de9c0
push eax
call fcn.1003ab90
add esp, 8
xor eax, eax
cmp ebp, 2
pop edi
setg al
inc dword [esi + 0x78]
mov dword [esi + 8], eax
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x14
ret