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

Disassembly:
mov eax, 0x4c
call fcn.101bea50
mov eax, dword [0x102f8384]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 8], ebx
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x10], esi
push edi
mov edi, dword [esp + 0x60]
cmp ebp, 0x200
jge 0x10119183
xor esi, esi
call fcn.1004b6c0
push str.rsa_multiprime_keygen
push 0x5a
push str.crypto_rsa_rsa_gen.c
call fcn.1004b7c0
push esi
push 0x78
jmp 0x10119a19
test eax, eax
je 0x101191d0
push eax
call fcn.1014aab0
add esp, 4
test eax, eax
jne 0x101191d0
call fcn.1004b6c0
push str.rsa_multiprime_keygen
push 0x60
push str.crypto_rsa_rsa_gen.c
call fcn.1004b7c0
push 0
push 0xb2
push 4
call fcn.1004b870
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.101bdc82
add esp, 0x4c
ret
cmp esi, 2
jl 0x101199fb
push ebp
call fcn.100de980
add esp, 4
cmp esi, eax
jg 0x101199fb
push dword [edi + 4]
call fcn.100cf920
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x101199cd
push esi
call fcn.100cf9f0
push esi
call fcn.100cf7a0
push esi
mov dword [esp + 0x48], eax
call fcn.100cf7a0
push esi
mov dword [esp + 0x28], eax
call fcn.100cf7a0
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
je 0x101199cd
xor edx, edx
mov eax, ebp
div dword [esp + 0x14]
xor edx, edx
xor ecx, ecx
mov esi, eax
mov eax, ebp
mov ebp, dword [esp + 0x14]
div ebp
movd xmm0, esi
pshufd xmm4, xmm0, 0
movd xmm0, edx
pshufd xmm6, xmm0, 0
cmp ebp, 0x10
jb 0x10119340
movaps xmm3, xmmword [0x10223d20]
lea ebx, [esp + 0x44]
movaps xmm5, xmmword [0x1021f170]
and ebp, 0xfffffff0
paddd xmm3, xmm4
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
movaps xmm1, xmm6
paddd xmm0, xmm5
movaps xmm2, xmm6
pcmpgtd xmm1, xmm0
movaps xmm0, xmm3
andps xmm0, xmm1
andnps xmm1, xmm4
orps xmm0, xmm1
movups xmmword [ebx + ecx*4], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm5
pcmpgtd xmm2, xmm0
movaps xmm0, xmm3
andps xmm0, xmm2
movaps xmm1, xmm2
andnps xmm1, xmm4
movaps xmm2, xmm6
orps xmm1, xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
lea eax, [ecx + 0xc]
movups xmmword [esp + ecx*4 + 0x54], xmm1
paddd xmm0, xmm5
movaps xmm1, xmm6
pcmpgtd xmm1, xmm0
movaps xmm0, xmm3
andps xmm0, xmm1
andnps xmm1, xmm4
orps xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x64], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm5
pcmpgtd xmm2, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm2
andps xmm0, xmm2
andnps xmm1, xmm4
orps xmm1, xmm0
movups xmmword [esp + ecx*4 + 0x74], xmm1
add ecx, 0x10
cmp ecx, ebp
jl 0x10119280
mov ebp, dword [esp + 0x14]
mov ebx, 0
cmp ecx, ebp
jge 0x10119352
nop word [eax + eax]
lea eax, [esi + 1]
cmp ecx, edx
jl 0x10119349
mov eax, esi
mov dword [esp + ecx*4 + 0x44], eax
inc ecx
cmp ecx, ebp
jl 0x10119340
inc dword [edi + 0x78]
cmp dword [edi + 0x14], 0
jne 0x1011936b
call fcn.10051f30
mov dword [edi + 0x14], eax
test eax, eax
je 0x101199cd
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x10119382
call fcn.100520e0
mov dword [edi + 0x1c], eax
test eax, eax
je 0x101199cd
push 4
push eax
call fcn.10052210
add esp, 8
cmp dword [edi + 0x18], 0
jne 0x101193a3
call fcn.10051f30
mov dword [edi + 0x18], eax
test eax, eax
je 0x101199cd
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x101193ba
call fcn.100520e0
mov dword [edi + 0x20], eax
test eax, eax
je 0x101199cd
push 4
push eax
call fcn.10052210
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x101193dc
call fcn.100520e0
mov dword [edi + 0x24], eax
test eax, eax
je 0x101199cd
push 4
push eax
call fcn.10052210
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
jne 0x101193fe
call fcn.100520e0
mov dword [edi + 0x28], eax
test eax, eax
je 0x101199cd
push 4
push eax
call fcn.10052210
mov eax, dword [edi + 0x2c]
add esp, 8
test eax, eax
jne 0x10119420
call fcn.100520e0
mov dword [edi + 0x2c], eax
test eax, eax
je 0x101199cd
push 4
push eax
call fcn.10052210
mov eax, dword [edi + 0x30]
add esp, 8
test eax, eax
jne 0x10119442
call fcn.100520e0
mov dword [edi + 0x30], eax
test eax, eax
je 0x101199cd
push 4
push eax
call fcn.10052210
add esp, 8
cmp ebp, 2
jle 0x101194b8
lea eax, [ebp - 2]
mov dword [edi + 8], 1
push eax
push 0
call fcn.1003aac0
mov ebx, eax
add esp, 8
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x101199cd
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x1011948a
push 0x100de9c0
push eax
call fcn.1003ab90
add esp, 8
mov ebp, dword [esp + 0x14]
mov eax, ebx
mov esi, 2
mov dword [edi + 0x4c], eax
call fcn.100dea20
mov dword [esp + 0x38], eax
test eax, eax
je 0x101199cd
push eax
push ebx
call fcn.1003abf0
inc esi
add esp, 8
cmp esi, ebp
jl 0x10119498
push dword [esp + 0x28]
push dword [edi + 0x18]
call fcn.10051ab0
add esp, 8
test eax, eax
je 0x101199cd
xor ebp, ebp
jmp 0x101194e4
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
test ebp, ebp
je 0x1011950f
cmp ebp, 1
jne 0x101194fa
mov ebx, dword [edi + 0x24]
jmp 0x10119512
lea eax, [ebp - 2]
push eax
push ebx
call fcn.1003adb0
add esp, 8
mov dword [esp + 0x38], eax
mov ebx, dword [eax]
jmp 0x10119512
mov ebx, dword [edi + 0x20]
push 4
push ebx
call fcn.10052210
mov eax, dword [esp + ebp*4 + 0x4c]
add esp, 8
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x10]
nop dword [eax]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
push esi
push dword [esp + 0x30]
push 0
push 0
push 0
push eax
push ebx
call fcn.10147c00
add esp, 0x1c
test eax, eax
je 0x101199cd
xor esi, esi
cmp esi, ebp
jge 0x1011959b
test esi, esi
jne 0x10119564
mov eax, dword [edi + 0x20]
jmp 0x10119580
cmp esi, 1
jne 0x1011956e
mov eax, dword [edi + 0x24]
jmp 0x10119580
lea eax, [esi - 2]
push eax
push dword [esp + 0x34]
call fcn.1003adb0
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.100518e0
add esp, 8
test eax, eax
je 0x10119591
inc esi
jmp 0x10119557
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
jmp 0x10119538
call fcn.10052300
mov esi, dword [esp + 0x34]
push eax
push ebx
push esi
call fcn.100cfba0
add esp, 0xc
test eax, eax
je 0x101199cd
call fcn.1004aa60
push 4
push esi
call fcn.10052210
mov esi, dword [esp + 0x18]
push esi
push dword [edi + 0x18]
push dword [esp + 0x44]
push dword [esp + 0x2c]
call fcn.10100490
add esp, 0x18
test eax, eax
je 0x101196bb
mov eax, dword [esp + ebp*4 + 0x44]
add dword [esp + 0x24], eax
cmp ebp, 1
jne 0x101195fa
push esi
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x10119607
test ebp, ebp
je 0x10119777
push esi
push ebx
push dword [edi + 0x14]
push dword [esp + 0x24]
call fcn.10100e00
add esp, 0x10
test eax, eax
je 0x101199cd
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
add eax, 0xfffffffc
push eax
push dword [esp + 0x1c]
push esi
call fcn.100be360
add esp, 0xc
test eax, eax
je 0x101199cd
push esi
call fcn.10051c70
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x10119655
cmp esi, 0xf
jbe 0x10119723
push dword [esp + 0x20]
mov eax, dword [esp + 0x44]
push 2
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.10147b70
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x101199cd
cmp dword [esp + 0x14], 4
jle 0x101196a7
mov eax, dword [esp + 0x1c]
cmp esi, 9
jae 0x10119699
inc eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x10119525
dec eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x10119525
cmp dword [esp + 0x28], 4
je 0x10119710
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x28]
jmp 0x10119525
call fcn.1004a7e0
test eax, eax
js 0x101199cd
mov ecx, eax
shr ecx, 0x17
cmp cl, 3
jne 0x101199cd
and eax, 0x7fffff
cmp eax, 0x6c
jne 0x101199cd
call fcn.1004a880
push dword [esp + 0x20]
push 2
push dword [esp + 0x34]
call fcn.10147b70
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x101199cd
mov eax, dword [esp + 0x1c]
jmp 0x10119530
xor ebp, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ebp
jmp 0x1011950f
cmp ebp, 1
jle 0x10119742
mov eax, dword [esp + 0x38]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.10051ab0
add esp, 8
test eax, eax
je 0x101199cd
mov ebx, dword [esp + 0x18]
push ebx
push dword [edi + 0x14]
call fcn.10051ab0
add esp, 8
test eax, eax
je 0x101199cd
push ebp
push 3
push dword [esp + 0x34]
call fcn.10147b70
add esp, 0xc
test eax, eax
je 0x101199cd
mov esi, dword [esp + 0x10]
jmp 0x10119793
push 0
push 3
push dword [esp + 0x34]
call fcn.10147b70
add esp, 0xc
test eax, eax
je 0x101199cd
mov ebx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x14]
jl 0x101194e0
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.100518e0
add esp, 8
test eax, eax
jns 0x101197bc
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.10052300
push eax
push dword [edi + 0x20]
push ebx
call fcn.100cfba0
add esp, 0xc
test eax, eax
je 0x101199cd
call fcn.10052300
mov ebx, dword [esp + 0x34]
push eax
push dword [edi + 0x24]
push ebx
call fcn.100cfba0
add esp, 0xc
test eax, eax
je 0x101199cd
mov ebp, dword [esp + 0x3c]
push esi
push ebx
push dword [esp + 0x20]
push ebp
call fcn.10100e00
add esp, 0x10
test eax, eax
je 0x101199cd
mov ebx, dword [esp + 0x30]
mov esi, 2
cmp dword [esp + 0x14], esi
jle 0x1011986c
nop
lea eax, [esi - 2]
push eax
push ebx
call fcn.1003adb0
mov ebp, eax
call fcn.10052300
push eax
push dword [ebp]
push dword [ebp + 4]
call fcn.100cfba0
add esp, 0x14
test eax, eax
je 0x101199cd
push dword [esp + 0x10]
push dword [ebp + 4]
mov ebp, dword [esp + 0x44]
push ebp
push ebp
call fcn.10100e00
add esp, 0x10
test eax, eax
je 0x101199cd
inc esi
cmp esi, dword [esp + 0x14]
jl 0x10119820
call fcn.10051f30
mov esi, eax
test esi, esi
je 0x101199cd
push 4
push ebp
push esi
call fcn.10052310
push dword [esp + 0x1c]
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.10100490
add esp, 0x1c
push esi
test eax, eax
je 0x101199c5
call fcn.10051c00
add esp, 4
call fcn.10051f30
mov ebp, eax
test ebp, ebp
je 0x101199cd
push 4
push dword [edi + 0x1c]
push ebp
call fcn.10052310
mov esi, dword [esp + 0x1c]
push esi
push dword [esp + 0x28]
push ebp
push dword [edi + 0x28]
push 0
call fcn.100cfdc0
add esp, 0x20
test eax, eax
je 0x101199c4
push esi
push dword [esp + 0x38]
push ebp
push dword [edi + 0x2c]
push 0
call fcn.100cfdc0
add esp, 0x14
test eax, eax
je 0x101199c4
mov esi, 2
cmp dword [esp + 0x14], esi
jle 0x10119934
lea eax, [esi - 2]
push eax
push ebx
call fcn.1003adb0
push dword [esp + 0x18]
mov eax, dword [eax + 4]
push eax
push ebp
push eax
push 0
call fcn.100cfdc0
add esp, 0x1c
test eax, eax
je 0x101199c4
inc esi
cmp esi, dword [esp + 0x14]
jl 0x10119907
push ebp
call fcn.10051c00
add esp, 4
call fcn.10051f30
mov ebp, eax
test ebp, ebp
je 0x101199cd
push 4
push dword [edi + 0x20]
push ebp
call fcn.10052310
push dword [esp + 0x1c]
push ebp
push dword [edi + 0x24]
push dword [edi + 0x30]
call fcn.10100490
add esp, 0x1c
test eax, eax
je 0x101199c4
mov edi, 2
cmp dword [esp + 0x14], edi
jle 0x101199b4
nop dword [eax]
lea eax, [edi - 2]
push eax
push ebx
call fcn.1003adb0
mov esi, eax
push 4
push dword [esi]
push ebp
call fcn.10052310
push dword [esp + 0x24]
push ebp
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10100490
add esp, 0x24
test eax, eax
je 0x101199c4
inc edi
cmp edi, dword [esp + 0x14]
jl 0x10119980
push ebp
call fcn.10051c00
add esp, 4
mov esi, 1
jmp 0x10119a23
push ebp
call fcn.10051c00
add esp, 4
call fcn.1004b6c0
push str.rsa_multiprime_keygen
push 0x19f
push str.crypto_rsa_rsa_gen.c
call fcn.1004b7c0
push 0
push 0x80003
push 4
call fcn.1004b870
add esp, 0x18
xor esi, esi
jmp 0x10119a23
xor esi, esi
call fcn.1004b6c0
push str.rsa_multiprime_keygen
push 0x66
push str.crypto_rsa_rsa_gen.c
call fcn.1004b7c0
push esi
push 0xa5
push 4
call fcn.1004b870
add esp, 0x18
mov ebx, dword [esp + 0x10]
push ebx
call fcn.100cf6a0
push ebx
call fcn.100cf710
mov ecx, dword [esp + 0x60]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101bdc82
add esp, 0x4c
ret