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

Disassembly:
mov eax, 0x4c
call fcn.005ae090
mov eax, dword [0x665ec0]
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
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esp + 0x60]
cmp ebp, 0x200
jge 0x4df2fd
call fcn.004648b0
push 0x620e90
push 0x59
push str.crypto_rsa_rsa_gen.c
call fcn.004649b0
push ebx
push 0x78
jmp 0x4dfbbe
test eax, eax
jne 0x4df320
call fcn.004648b0
push 0x620e90
push 0x5d
push str.crypto_rsa_rsa_gen.c
call fcn.004649b0
push 0
push 0x65
jmp 0x4dfbbe
push eax
call fcn.00564f30
add esp, 4
test eax, eax
jne 0x4df34f
call fcn.004648b0
push 0x620e90
push 0x62
push str.crypto_rsa_rsa_gen.c
call fcn.004649b0
push 0
push 0xb2
jmp 0x4dfbbe
cmp esi, 2
jl 0x4dfba1
push ebp
call fcn.00550e90
add esp, 4
cmp esi, eax
jg 0x4dfba1
push dword [edi + 4]
call fcn.004afa10
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x4dfb4d
push esi
call fcn.004afab0
push esi
call fcn.004af8c0
push esi
mov dword [esp + 0x48], eax
call fcn.004af8c0
push esi
mov dword [esp + 0x28], eax
call fcn.004af8c0
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
je 0x4dfb4d
xor edx, edx
mov eax, ebp
div dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
mov esi, eax
mov eax, ebp
mov ebp, dword [esp + 0x10]
div ebp
movd xmm0, esi
pshufd xmm4, xmm0, 0
movd xmm0, edx
pshufd xmm6, xmm0, 0
cmp ebp, 0x10
jb 0x4df4c0
movaps xmm3, xmmword [0x620ec0]
lea ebx, [esp + 0x44]
movaps xmm5, xmmword [0x5f91c0]
and ebp, 0xfffffff0
paddd xmm3, xmm4
nop dword [eax + 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 0x4df400
mov ebp, dword [esp + 0x10]
mov ebx, 0
cmp ecx, ebp
jge 0x4df4d2
nop word [eax + eax]
lea eax, [esi + 1]
cmp ecx, edx
jl 0x4df4c9
mov eax, esi
mov dword [esp + ecx*4 + 0x44], eax
inc ecx
cmp ecx, ebp
jl 0x4df4c0
inc dword [edi + 0x78]
cmp dword [edi + 0x14], 0
jne 0x4df4eb
call fcn.0046f7c0
mov dword [edi + 0x14], eax
test eax, eax
je 0x4dfb4d
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x4df502
call fcn.0046f950
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4dfb4d
push 4
push eax
call fcn.0046fa60
add esp, 8
cmp dword [edi + 0x18], 0
jne 0x4df523
call fcn.0046f7c0
mov dword [edi + 0x18], eax
test eax, eax
je 0x4dfb4d
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x4df53a
call fcn.0046f950
mov dword [edi + 0x20], eax
test eax, eax
je 0x4dfb4d
push 4
push eax
call fcn.0046fa60
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x4df55c
call fcn.0046f950
mov dword [edi + 0x24], eax
test eax, eax
je 0x4dfb4d
push 4
push eax
call fcn.0046fa60
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
jne 0x4df57e
call fcn.0046f950
mov dword [edi + 0x28], eax
test eax, eax
je 0x4dfb4d
push 4
push eax
call fcn.0046fa60
mov eax, dword [edi + 0x2c]
add esp, 8
test eax, eax
jne 0x4df5a0
call fcn.0046f950
mov dword [edi + 0x2c], eax
test eax, eax
je 0x4dfb4d
push 4
push eax
call fcn.0046fa60
mov eax, dword [edi + 0x30]
add esp, 8
test eax, eax
jne 0x4df5c2
call fcn.0046f950
mov dword [edi + 0x30], eax
test eax, eax
je 0x4dfb4d
push 4
push eax
call fcn.0046fa60
add esp, 8
cmp ebp, 2
jle 0x4df638
lea eax, [ebp - 2]
mov dword [edi + 8], 1
push eax
push 0
call fcn.00471230
mov ebx, eax
add esp, 8
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x4dfb4d
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4df60a
push 0x550ed0
push eax
call fcn.004712d0
add esp, 8
mov ebp, dword [esp + 0x10]
mov eax, ebx
mov esi, 2
mov dword [edi + 0x4c], eax
call fcn.00550f30
mov dword [esp + 0x38], eax
test eax, eax
je 0x4dfb4d
push eax
push ebx
call fcn.00471330
inc esi
add esp, 8
cmp esi, ebp
jl 0x4df618
push dword [esp + 0x28]
push dword [edi + 0x18]
call fcn.0046f4c0
add esp, 8
test eax, eax
je 0x4dfb4d
xor ebp, ebp
jmp 0x4df664
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
test ebp, ebp
je 0x4df68f
cmp ebp, 1
jne 0x4df67a
mov ebx, dword [edi + 0x24]
jmp 0x4df692
lea eax, [ebp - 2]
push eax
push ebx
call fcn.00471490
add esp, 8
mov dword [esp + 0x38], eax
mov ebx, dword [eax]
jmp 0x4df692
mov ebx, dword [edi + 0x20]
push 4
push ebx
call fcn.0046fa60
mov eax, dword [esp + ebp*4 + 0x4c]
add esp, 8
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x14]
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.0055baf0
add esp, 0x1c
test eax, eax
je 0x4dfb4d
xor esi, esi
cmp esi, ebp
jge 0x4df71b
test esi, esi
jne 0x4df6e4
mov eax, dword [edi + 0x20]
jmp 0x4df700
cmp esi, 1
jne 0x4df6ee
mov eax, dword [edi + 0x24]
jmp 0x4df700
lea eax, [esi - 2]
push eax
push dword [esp + 0x34]
call fcn.00471490
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.0046f300
add esp, 8
test eax, eax
je 0x4df711
inc esi
jmp 0x4df6d7
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
jmp 0x4df6b8
call fcn.0046fba0
mov esi, dword [esp + 0x34]
push eax
push ebx
push esi
call fcn.00529cf0
add esp, 0xc
test eax, eax
je 0x4dfb4d
call fcn.004704d0
push 4
push esi
call fcn.0046fa60
mov esi, dword [esp + 0x1c]
push esi
push dword [edi + 0x18]
push dword [esp + 0x44]
push dword [esp + 0x2c]
call fcn.004b0440
add esp, 0x18
test eax, eax
je 0x4df83b
mov eax, dword [esp + ebp*4 + 0x44]
add dword [esp + 0x24], eax
cmp ebp, 1
jne 0x4df77a
push esi
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x4df787
test ebp, ebp
je 0x4df8f7
push esi
push ebx
push dword [edi + 0x14]
push dword [esp + 0x24]
call fcn.004b0db0
add esp, 0x10
test eax, eax
je 0x4dfb4d
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
add eax, 0xfffffffc
push eax
push dword [esp + 0x1c]
push esi
call fcn.00475b40
add esp, 0xc
test eax, eax
je 0x4dfb4d
push esi
call fcn.0046f650
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x4df7d5
cmp esi, 0xf
jbe 0x4df8a3
push dword [esp + 0x20]
mov eax, dword [esp + 0x44]
push 2
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.0055ba60
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4dfb4d
cmp dword [esp + 0x10], 4
jle 0x4df827
mov eax, dword [esp + 0x1c]
cmp esi, 9
jae 0x4df819
inc eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x4df6a5
dec eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x4df6a5
cmp dword [esp + 0x28], 4
je 0x4df890
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x28]
jmp 0x4df6a5
call fcn.0047bc30
test eax, eax
js 0x4dfb4d
mov ecx, eax
shr ecx, 0x17
cmp cl, 3
jne 0x4dfb4d
and eax, 0x7fffff
cmp eax, 0x6c
jne 0x4dfb4d
call fcn.004703a0
push dword [esp + 0x20]
push 2
push dword [esp + 0x34]
call fcn.0055ba60
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4dfb4d
mov eax, dword [esp + 0x1c]
jmp 0x4df6b0
xor ebp, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ebp
jmp 0x4df68f
cmp ebp, 1
jle 0x4df8c2
mov eax, dword [esp + 0x38]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.0046f4c0
add esp, 8
test eax, eax
je 0x4dfb4d
mov ebx, dword [esp + 0x18]
push ebx
push dword [edi + 0x14]
call fcn.0046f4c0
add esp, 8
test eax, eax
je 0x4dfb4d
push ebp
push 3
push dword [esp + 0x34]
call fcn.0055ba60
add esp, 0xc
test eax, eax
je 0x4dfb4d
mov esi, dword [esp + 0x14]
jmp 0x4df913
push 0
push 3
push dword [esp + 0x34]
call fcn.0055ba60
add esp, 0xc
test eax, eax
je 0x4dfb4d
mov ebx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x4df660
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.0046f300
add esp, 8
test eax, eax
jns 0x4df93c
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.0046fba0
push eax
push dword [edi + 0x20]
push ebx
call fcn.00529cf0
add esp, 0xc
test eax, eax
je 0x4dfb4d
call fcn.0046fba0
mov ebx, dword [esp + 0x34]
push eax
push dword [edi + 0x24]
push ebx
call fcn.00529cf0
add esp, 0xc
test eax, eax
je 0x4dfb4d
mov ebp, dword [esp + 0x3c]
push esi
push ebx
push dword [esp + 0x20]
push ebp
call fcn.004b0db0
add esp, 0x10
test eax, eax
je 0x4dfb4d
mov ebx, dword [esp + 0x30]
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x4df9ec
nop
lea eax, [esi - 2]
push eax
push ebx
call fcn.00471490
mov ebp, eax
call fcn.0046fba0
push eax
push dword [ebp]
push dword [ebp + 4]
call fcn.00529cf0
add esp, 0x14
test eax, eax
je 0x4dfb4d
push dword [esp + 0x14]
push dword [ebp + 4]
mov ebp, dword [esp + 0x44]
push ebp
push ebp
call fcn.004b0db0
add esp, 0x10
test eax, eax
je 0x4dfb4d
inc esi
cmp esi, dword [esp + 0x10]
jl 0x4df9a0
call fcn.0046f7c0
mov esi, eax
test esi, esi
je 0x4dfb4d
push 4
push ebp
push esi
call fcn.0046fbb0
push dword [esp + 0x20]
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.004b0440
add esp, 0x1c
push esi
test eax, eax
je 0x4dfb45
call fcn.0046f5e0
add esp, 4
call fcn.0046f7c0
mov ebp, eax
test ebp, ebp
je 0x4dfb4d
push 4
push dword [edi + 0x1c]
push ebp
call fcn.0046fbb0
mov esi, dword [esp + 0x20]
push esi
push dword [esp + 0x28]
push ebp
push dword [edi + 0x28]
push 0
call fcn.004afba0
add esp, 0x20
test eax, eax
je 0x4dfb44
push esi
push dword [esp + 0x38]
push ebp
push dword [edi + 0x2c]
push 0
call fcn.004afba0
add esp, 0x14
test eax, eax
je 0x4dfb44
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x4dfab4
lea eax, [esi - 2]
push eax
push ebx
call fcn.00471490
push dword [esp + 0x1c]
mov eax, dword [eax + 4]
push eax
push ebp
push eax
push 0
call fcn.004afba0
add esp, 0x1c
test eax, eax
je 0x4dfb44
inc esi
cmp esi, dword [esp + 0x10]
jl 0x4dfa87
push ebp
call fcn.0046f5e0
add esp, 4
call fcn.0046f7c0
mov ebp, eax
test ebp, ebp
je 0x4dfb4d
push 4
push dword [edi + 0x20]
push ebp
call fcn.0046fbb0
push dword [esp + 0x20]
push ebp
push dword [edi + 0x24]
push dword [edi + 0x30]
call fcn.004b0440
add esp, 0x1c
test eax, eax
je 0x4dfb44
mov edi, 2
cmp dword [esp + 0x10], edi
jle 0x4dfb34
nop dword [eax]
lea eax, [edi - 2]
push eax
push ebx
call fcn.00471490
mov esi, eax
push 4
push dword [esi]
push ebp
call fcn.0046fbb0
push dword [esp + 0x28]
push ebp
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004b0440
add esp, 0x24
test eax, eax
je 0x4dfb44
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4dfb00
push ebp
call fcn.0046f5e0
add esp, 4
mov esi, 1
jmp 0x4dfb79
push ebp
call fcn.0046f5e0
add esp, 4
call fcn.004648b0
push 0x620e90
push 0x1a0
push str.crypto_rsa_rsa_gen.c
call fcn.004649b0
push 0
push 0x80003
push 4
call fcn.00464ac0
add esp, 0x18
xor esi, esi
mov ebx, dword [esp + 0x14]
push ebx
call fcn.004af7c0
push ebx
call fcn.004af830
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.005ae073
add esp, 0x4c
ret
call fcn.004648b0
push 0x620e90
push 0x67
push str.crypto_rsa_rsa_gen.c
call fcn.004649b0
push 0
push 0xa5
push 4
call fcn.00464ac0
mov ecx, dword [esp + 0x70]
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ae073
add esp, 0x4c
ret