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

Disassembly:
mov eax, 0x6c
call fcn.005f62e0
mov eax, dword [0x6c02d0]
xor eax, esp
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
push ebx
mov ebx, dword [esp + 0x78]
push ebp
xor ebp, ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x24], ebp
push esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x1c], esi
push edi
mov edi, dword [esp + 0x80]
cmp ebx, 0x200
jge 0x538aa5
call fcn.004c22a0
push 0x672dc0
push 0x113
push str.crypto_rsa_rsa_gen.c
call fcn.004c23a0
push ebp
push 0x78
jmp 0x53945e
test ecx, ecx
jne 0x538acb
call fcn.004c22a0
push 0x672dc0
push 0x117
push str.crypto_rsa_rsa_gen.c
call fcn.004c23a0
push 0
push 0x65
jmp 0x53945e
push ecx
call fcn.005892c0
add esp, 4
test eax, eax
jne 0x538afd
call fcn.004c22a0
push 0x672dc0
push 0x11c
push str.crypto_rsa_rsa_gen.c
call fcn.004c23a0
push 0
push 0xb2
jmp 0x53945e
cmp esi, 2
jl 0x53943e
push ebx
call fcn.00572370
add esp, 4
cmp esi, eax
jg 0x53943e
call fcn.004db7b0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x539468
call fcn.004db7b0
mov dword [esp + 0x10], eax
test eax, eax
je 0x5393bb
call fcn.004db7b0
mov dword [esp + 0x14], eax
test eax, eax
je 0x5393bb
push dword [edi + 4]
call fcn.00540ce0
mov ebx, eax
add esp, 4
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x5393bb
push ebx
call fcn.00540d80
push ebx
call fcn.00540b90
push ebx
mov dword [esp + 0x5c], eax
call fcn.00540b90
push ebx
mov dword [esp + 0x40], eax
call fcn.00540b90
add esp, 0x10
mov dword [esp + 0x48], eax
test eax, eax
je 0x5393bb
mov eax, dword [esp + 0x84]
xor edx, edx
div esi
xor edx, edx
xor ecx, ecx
mov esi, eax
mov eax, dword [esp + 0x84]
div dword [esp + 0x20]
mov eax, dword [esp + 0x20]
movd xmm0, esi
mov ebx, edx
pshufd xmm3, xmm0, 0
movd xmm0, ebx
pshufd xmm5, xmm0, 0
cmp eax, 0x10
jb 0x538ca4
movaps xmm2, xmmword [0x672df0]
mov edx, eax
movaps xmm4, xmmword [0x663c30]
and edx, 0xfffffff0
paddd xmm2, xmm3
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
movaps xmm1, xmm5
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm2
andps xmm0, xmm1
andnps xmm1, xmm3
orps xmm0, xmm1
movaps xmm1, xmm5
movups xmmword [esp + ecx*4 + 0x64], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm2
andps xmm0, xmm1
andnps xmm1, xmm3
orps xmm0, xmm1
movaps xmm1, xmm5
movups xmmword [esp + ecx*4 + 0x74], xmm0
movd xmm0, eax
lea eax, [ecx + 0xc]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm2
andps xmm0, xmm1
andnps xmm1, xmm3
orps xmm0, xmm1
movaps xmm1, xmm5
movups xmmword [esp + ecx*4 + 0x84], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm2
andps xmm0, xmm1
andnps xmm1, xmm3
orps xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x94], xmm0
add ecx, 0x10
cmp ecx, edx
jl 0x538bf0
cmp ecx, dword [esp + 0x20]
jge 0x538cbb
mov ebp, dword [esp + 0x20]
cmp ecx, ebx
lea eax, [esi + 1]
cmovge eax, esi
mov dword [esp + ecx*4 + 0x64], eax
inc ecx
cmp ecx, ebp
jl 0x538ca8
xor ebp, ebp
inc dword [edi + 0x78]
cmp dword [edi + 0x14], 0
jne 0x538cd4
call fcn.004deb50
mov dword [edi + 0x14], eax
test eax, eax
je 0x5393bb
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x538ceb
call fcn.004dece0
mov dword [edi + 0x1c], eax
test eax, eax
je 0x5393bb
push 4
push eax
call fcn.004dedf0
add esp, 8
cmp dword [edi + 0x18], 0
jne 0x538d0c
call fcn.004deb50
mov dword [edi + 0x18], eax
test eax, eax
je 0x5393bb
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x538d23
call fcn.004dece0
mov dword [edi + 0x20], eax
test eax, eax
je 0x5393bb
push 4
push eax
call fcn.004dedf0
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x538d45
call fcn.004dece0
mov dword [edi + 0x24], eax
test eax, eax
je 0x5393bb
push 4
push eax
call fcn.004dedf0
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, 2
jle 0x538df3
add eax, 0xfffffffe
mov dword [edi + 8], 1
push eax
push 0
call fcn.004db7e0
mov ecx, eax
add esp, 8
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x5393bb
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x538d9b
push 0x5723b0
push eax
call fcn.004db880
mov eax, dword [esp + 0x30]
add esp, 8
jmp 0x538d9d
mov eax, ecx
mov ebx, dword [esp + 0x28]
mov esi, 2
mov dword [edi + 0x4c], eax
nop dword [eax]
call fcn.00572410
mov dword [esp + 0x4c], eax
test eax, eax
je 0x538dd0
push eax
push ebx
call fcn.004db8e0
inc esi
add esp, 8
cmp esi, dword [esp + 0x20]
jl 0x538db0
jmp 0x538df5
push dword [esp + 0x1c]
call fcn.004db650
push dword [esp + 0x14]
call fcn.004db650
push dword [esp + 0x1c]
call fcn.004db650
add esp, 0xc
jmp 0x5393e0
xor ebx, ebx
push dword [esp + 0x3c]
push dword [edi + 0x18]
call fcn.004de850
add esp, 8
test eax, eax
je 0x5393bb
xor esi, esi
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
test ebp, ebp
je 0x538e51
cmp ebp, 1
jne 0x538e3c
mov ebx, dword [edi + 0x24]
jmp 0x538e54
lea eax, [ebp - 2]
push eax
push ebx
call fcn.004dba40
add esp, 8
mov dword [esp + 0x4c], eax
mov ebx, dword [eax]
jmp 0x538e54
mov ebx, dword [edi + 0x20]
push 4
push ebx
call fcn.004dedf0
mov eax, dword [esp + ebp*4 + 0x6c]
add esp, 8
mov dword [esp + 0x58], eax
nop word [eax + eax]
add eax, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], eax
nop word [eax + eax]
mov esi, dword [esp + 0x2c]
push esi
push dword [esp + 0x3c]
push 0
push 0
push 0
push eax
push ebx
call fcn.0057f3b0
add esp, 0x1c
test eax, eax
je 0x5393b1
xor esi, esi
cmp esi, ebp
jge 0x538ee3
test esi, esi
jne 0x538eb0
mov eax, dword [edi + 0x20]
jmp 0x538ecc
cmp esi, 1
jne 0x538eba
mov eax, dword [edi + 0x24]
jmp 0x538ecc
lea eax, [esi - 2]
push eax
push dword [esp + 0x2c]
call fcn.004dba40
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.004de690
add esp, 8
test eax, eax
je 0x538edd
inc esi
jmp 0x538ea3
mov eax, dword [esp + 0x60]
jmp 0x538e80
call fcn.004deff0
mov esi, dword [esp + 0x48]
push eax
push ebx
push esi
call fcn.00567a10
add esp, 0xc
test eax, eax
je 0x5393b1
call fcn.004e2f70
push 4
push esi
call fcn.004dedf0
mov esi, dword [esp + 0x34]
push esi
push dword [edi + 0x18]
push dword [esp + 0x58]
push dword [esp + 0x44]
call fcn.0056d620
add esp, 0x18
test eax, eax
je 0x539004
mov ebp, dword [esp + 0x5c]
add ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
cmp eax, 1
jne 0x538f46
push esi
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x538f53
test eax, eax
je 0x5390ef
push esi
push ebx
push dword [edi + 0x14]
push dword [esp + 0x3c]
call fcn.00567c30
add esp, 0x10
test eax, eax
je 0x5393b1
mov esi, dword [esp + 0x48]
lea eax, [ebp - 4]
push eax
push dword [esp + 0x34]
push esi
call fcn.004dfe60
add esp, 0xc
test eax, eax
je 0x5393b1
push esi
call fcn.004de9e0
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x538f9d
cmp esi, 0xf
jbe 0x5390b2
push dword [esp + 0x34]
push 2
push dword [esp + 0x40]
call fcn.0057f320
inc dword [esp + 0x40]
add esp, 0xc
test eax, eax
je 0x5393b1
cmp dword [esp + 0x20], 4
mov eax, dword [esp + 0x44]
jle 0x538fe9
mov ebp, dword [esp + 0x24]
cmp esi, 9
sbb esi, esi
and esi, 2
dec esi
add esi, dword [esp + 0x54]
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], esi
jmp 0x538e70
cmp eax, 4
je 0x53906b
mov esi, dword [esp + 0x40]
inc eax
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
jmp 0x538e70
call fcn.004da730
mov edx, eax
test edx, edx
js 0x5393b1
mov ecx, edx
shr ecx, 0x17
cmp cl, 3
jne 0x5393b1
sar eax, 0x1f
and eax, 0x7f800000
add eax, 0x7fffff
and eax, edx
cmp eax, 0x6c
jne 0x5393b1
call fcn.004e2e40
mov esi, dword [esp + 0x34]
push esi
push 2
push dword [esp + 0x40]
call fcn.0057f320
inc esi
add esp, 0xc
mov dword [esp + 0x34], esi
test eax, eax
je 0x5393b1
mov esi, dword [esp + 0x40]
mov eax, dword [esp + ebp*4 + 0x64]
jmp 0x538e70
push fcn.004de620
push dword [esp + 0x20]
mov dword [esp + 0x64], 0
call fcn.004db880
add esp, 8
call fcn.004db7b0
mov dword [esp + 0x1c], eax
mov ecx, eax
mov dword [esp + 0x18], ecx
test eax, eax
je 0x53914f
xor ebp, ebp
xor esi, esi
xor eax, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
jmp 0x538e51
mov esi, dword [esp + 0x24]
cmp esi, 1
jle 0x5390d5
mov eax, dword [esp + 0x4c]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.004de850
add esp, 8
test eax, eax
je 0x5393b1
push dword [esp + 0x30]
push dword [edi + 0x14]
call fcn.004de850
add esp, 8
test eax, eax
je 0x5393b1
push esi
jmp 0x5390f1
push 0
push 3
push dword [esp + 0x40]
call fcn.0057f320
add esp, 0xc
test eax, eax
je 0x5393b1
push ebx
call fcn.004de8c0
mov esi, eax
add esp, 4
test esi, esi
je 0x5393b1
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.004db850
push eax
push esi
push ebx
call fcn.004db680
add esp, 0x10
test eax, eax
je 0x5393b1
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jge 0x539155
mov ebx, dword [esp + 0x28]
jmp 0x538e12
push ecx
jmp 0x538dd4
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.004de690
add esp, 8
test eax, eax
jns 0x539193
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
push 0
push ebx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.004db470
push 1
push eax
push ebx
mov dword [esp + 0x30], ebx
call fcn.004db680
add esp, 0x14
test eax, eax
je 0x5393bb
mov dword [esp + 0x1c], ebx
call fcn.004deff0
mov esi, dword [esp + 0x30]
push eax
push dword [edi + 0x20]
push esi
call fcn.00567a10
add esp, 0xc
test eax, eax
je 0x5393bb
mov dword [esp + 0x1c], ebx
call fcn.004deff0
mov ebp, dword [esp + 0x48]
push eax
push dword [edi + 0x24]
push ebp
call fcn.00567a10
add esp, 0xc
test eax, eax
je 0x5393bb
push dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
push ebp
push esi
push dword [esp + 0x5c]
call fcn.00567c30
add esp, 0x10
test eax, eax
je 0x5393bb
mov ebp, dword [esp + 0x20]
mov esi, 2
cmp ebp, esi
jle 0x539253
lea eax, [esi - 2]
push eax
push dword [esp + 0x2c]
call fcn.004dba40
mov ebp, eax
call fcn.004deff0
push eax
push dword [ebp]
push dword [ebp + 4]
call fcn.00567a10
add esp, 0x14
test eax, eax
je 0x5393ab
push dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
push dword [ebp + 4]
push eax
push eax
call fcn.00567c30
add esp, 0x10
test eax, eax
je 0x5393ab
mov ebp, dword [esp + 0x20]
inc esi
cmp esi, ebp
jl 0x539202
mov esi, dword [esp + 0x50]
push 4
push esi
call fcn.004dedf0
push dword [esp + 0x34]
mov dword [esp + 0x28], ebx
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.0056d620
add esp, 0x18
test eax, eax
je 0x5393bb
mov esi, dword [esp + 0x14]
push esi
push dword [esp + 0x14]
mov dword [esp + 0x24], ebx
push ebx
push dword [esp + 0x48]
push ebp
push dword [esp + 0x98]
push edi
call fcn.00538270
add esp, 0x1c
test eax, eax
je 0x5393bb
push 0
push ebx
call fcn.004db470
push eax
call fcn.004de620
push 0
push ebx
call fcn.004db470
push eax
call fcn.004de620
mov ebp, dword [esp + 0x28]
push 0
push ebp
call fcn.004db470
push 0
push ebp
mov dword [edi + 0x28], eax
call fcn.004db470
push 0
push esi
mov dword [edi + 0x2c], eax
call fcn.004db470
mov ebp, 2
mov dword [edi + 0x30], eax
add esp, 0x30
cmp dword [esp + 0x20], ebp
jle 0x53938c
nop dword [eax]
lea eax, [ebp - 2]
push eax
push dword [esp + 0x2c]
call fcn.004dba40
mov edi, eax
push 0
push ebx
mov dword [esp + 0x4c], edi
call fcn.004db470
mov esi, eax
push esi
push dword [edi]
call fcn.004de850
push esi
call fcn.004de620
push 0
push dword [esp + 0x30]
call fcn.004db470
mov edi, eax
mov eax, dword [esp + 0x60]
push edi
push dword [eax + 4]
call fcn.004de850
push edi
mov esi, eax
call fcn.004de620
add esp, 0x30
test esi, esi
je 0x5393ab
push 0
push dword [esp + 0x18]
call fcn.004db470
mov edi, eax
mov eax, dword [esp + 0x44]
push edi
push dword [eax + 8]
call fcn.004de850
push edi
mov esi, eax
call fcn.004de620
add esp, 0x14
test esi, esi
je 0x5393ab
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x539300
mov esi, dword [esp + 0x14]
push ebx
call fcn.004db650
push dword [esp + 0x14]
call fcn.004db650
push esi
call fcn.004db650
add esp, 0xc
mov esi, 1
jmp 0x539416
push ebx
jmp 0x538dd4
mov eax, dword [esp + 0x18]
push eax
jmp 0x538dd4
push dword [esp + 0x1c]
call fcn.004db650
push dword [esp + 0x14]
call fcn.004db650
push dword [esp + 0x1c]
call fcn.004db650
or esi, 0xffffffff
add esp, 0xc
cmp esi, esi
jne 0x539416
call fcn.004c22a0
push 0x672dc0
push 0x253
push str.crypto_rsa_rsa_gen.c
call fcn.004c23a0
push 0
push 0x80003
push 4
call fcn.004c24b0
mov dword [esp + 0x6c], 0
add esp, 0x18
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.00540a90
push ebx
call fcn.00540b00
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005f5e48
add esp, 0x6c
ret
call fcn.004c22a0
push 0x672dc0
push 0x121
push str.crypto_rsa_rsa_gen.c
call fcn.004c23a0
push 0
push 0xa5
push 4
call fcn.004c24b0
add esp, 0x18
mov ecx, dword [esp + 0x78]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f5e48
add esp, 0x6c
ret