Function at 0x5d5310
Capabilities:
Encrypt data using des

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x674c4a
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x70ab0c]
xor eax, ebp
mov dword [ebp + 0x78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x84]
sub esp, 0x18
mov ebx, dword [ebp + 0x88]
xor edi, edi
mov ecx, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], edi
push 0x75f7ac
mov dword [ebp - 0x70], edi
call fcn.005cfb30
push 0x68fa38
lea eax, [ebp - 0xbc]
mov ecx, ebx
push eax
call fcn.005ce990
mov dword [ebp - 4], edi
cmp byte [0x75f7a4], 0
jne 0x5d5397
call fcn.005e1320
mov byte [0x75f7a4], 1
push 0
push 2
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], vtable.CryptoPP::Integer.0
mov dword [ebp - 0x30], 0x3fffffff
mov dword [ebp - 0x2c], 2
call fcn.005e2240
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x38]
push ecx
push 0x715660
push 0x68fa3c
mov eax, dword [eax + 4]
mov ecx, ebx
mov byte [ebp - 4], 1
call eax
test al, al
jne 0x5d5438
mov eax, dword [ebx]
lea ecx, [ebp - 0x18]
push ecx
push 0x71508c
push str.BitLength
mov eax, dword [eax + 4]
mov ecx, ebx
call eax
test al, al
je 0x5d5c77
push dword [ebp - 0x18]
lea eax, [ebp + 0x58]
push eax
call fcn.005d7c40
add esp, 8
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.005d0690
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 1
call fcn.005d0430
cmp dword [ebp - 0xa8], 1
je 0x5d545c
cmp dword [ebp - 0x24], 1
je 0x5d5ca2
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xbc]
call fcn.005d76c0
jmp 0x5d5473
cmp dword [ebp - 0x24], 1
jne 0x5d547b
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xbc]
call fcn.005d76c0
neg eax
test eax, eax
jg 0x5d5ca2
sub esp, 0x18
mov ecx, esp
push 0x75f7ac
call fcn.005cfb30
push str.EquivalentTo
lea eax, [ebp - 0xe0]
mov ecx, ebx
push eax
call fcn.005ce990
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push 0x75f7c4
call fcn.005cfb30
push 0x68fa64
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.005ce990
cmp dword [ebp - 0xcc], 1
mov byte [ebp - 4], 6
je 0x5d5c4c
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.005d0d10
add esp, 8
test al, al
jne 0x5d5c4c
mov eax, dword [ebx]
lea ecx, [ebp - 0x18]
push ecx
push 0x715680
push str.RandomNumberType
mov eax, dword [eax + 4]
mov ecx, ebx
call eax
xor ecx, ecx
test al, al
cmovne ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], esi
mov byte [ebp - 0xa4], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0xa4]
push ecx
push 0x71505c
push str.Seed
mov eax, dword [eax + 4]
mov ecx, ebx
mov byte [ebp - 4], 0xd
call eax
test al, al
je 0x5d5755
push esi
lea ecx, [ebp]
call fcn.005f6ea0
push 0x30
lea eax, [ebp]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp + 0x28]
call fcn.005fcdf0
mov dword [ebp + 0x28], 0x68f904
mov dword [ebp + 0x2c], 0x68f9bc
lea eax, [ebp + 0x28]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0xbc]
call fcn.005d4060
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x38]
call fcn.005d4060
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.005d4060
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.005d4060
mov ecx, dword [ebp - 0x20]
mov eax, ecx
sar eax, 0x18
mov byte [ebp + 0x71], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp + 0x72], al
mov eax, ecx
sar eax, 8
mov byte [ebp + 0x73], al
lea eax, [ebp + 0x71]
mov byte [ebp + 0x74], cl
lea ecx, [esi + 4]
mov byte [ebp + 0x70], 0
nop dword [eax]
cmp byte [eax], 0
jne 0x5d560c
dec ecx
inc eax
cmp ecx, 1
ja 0x5d5600
lea eax, [ebp + 0x75]
mov byte [ebp - 0x10], 2
sub eax, ecx
lea esi, [ecx + 1]
push 1
push 0
push 1
cmp byte [eax], 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x28]
cmovge esi, ecx
lea ecx, [ebp + 0x28]
call dword [eax + 0x18]
push 0
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.005fd140
add esp, 0xc
lea eax, [ebp + 0x75]
sub eax, esi
lea ecx, [ebp + 0x28]
push 1
push 0
push esi
push eax
mov eax, dword [ebp + 0x28]
call dword [eax + 0x18]
cmp byte [ebp - 0xa4], 0
je 0x5d566b
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
jmp 0x5d5677
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
push eax
push ecx
lea eax, [ebp + 0x28]
push eax
call fcn.005fd0f0
add esp, 0xc
lea ecx, [ebp + 0x28]
call fcn.005fd290
lea ecx, [ebp]
call fcn.005f74c0
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp + 0x74], edx
call fcn.005cf5b0
push dword [ebp - 0x44]
lea ecx, [ebp]
mov byte [ebp - 4], 0x10
push dword [ebp - 0x40]
call fcn.005f7610
push 0x18
call fcn.005c795a
mov esi, eax
add esp, 4
mov dword [ebp + 0x74], esi
mov byte [ebp - 4], 0x11
test esi, esi
je 0x5d5731
push 1
mov ecx, esi
call fcn.005c97a0
mov ecx, dword [ebp - 0x44]
mov edx, 0x1000000
cmp ecx, edx
mov dword [esi], vtable.CryptoPP::KDF2_RNG.0
mov eax, ecx
mov dword [esi + 4], 0
cmova eax, edx
mov dword [esi + 0xc], 0xffffffff
add eax, 4
mov dword [esi + 0x10], eax
jne 0x5d5702
xor eax, eax
jmp 0x5d5713
push eax
call fcn.005cba10
mov ecx, dword [ebp - 0x44]
add esp, 4
mov edx, 0x1000000
cmp ecx, 0x1000000
mov dword [esi + 0x14], eax
cmova ecx, edx
add eax, 4
push ecx
push dword [ebp - 0x40]
push eax
call fcn.00603010
add esp, 0xc
jmp 0x5d5733
xor esi, esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xc0], esi
call fcn.0054e4b0
lea ecx, [ebp + 0x28]
call fcn.005fced0
lea ecx, [ebp]
mov byte [ebp - 4], 0xd
call fcn.005f6ff0
test esi, esi
mov eax, esi
cmove eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
sub eax, 0
je 0x5d5a85
sub eax, 1
jne 0x5d5ccd
mov eax, dword [ebx]
lea ecx, [ebp - 0xc4]
push ecx
push 0x7156b4
push str.PointerToPrimeSelector
mov eax, dword [eax + 4]
mov ecx, ebx
call eax
xor ebx, ebx
test al, al
cmovne ebx, dword [ebp - 0xc4]
xor eax, eax
mov dword [ebp - 0x18], ebx
nop
inc eax
mov dword [ebp + 0x74], eax
cmp eax, 0x10
jne 0x5d584e
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.005cfb30
push ebx
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.005f9640
add esp, 0x14
test al, al
je 0x5d5a7d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x6c]
push eax
call fcn.005d0690
push ebx
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.005f9640
add esp, 0x14
test al, al
je 0x5d5a75
mov edx, dword [ebp - 0x60]
cmp dword [ebp - 0x64], edx
mov ebx, dword [ebp - 0x5c]
mov edi, ebx
cmovb edx, dword [ebp - 0x64]
xor eax, eax
mov byte [ebp - 4], 0x1b
mov ecx, edx
rep stosd dword es:[edi], eax
push ebx
test edx, edx
je 0x5d583f
call fcn.005cba00
jmp 0x5d5844
call fcn.005c7bf0
mov edi, dword [ebp - 0x3c]
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x1c]
call fcn.005d7d10
lea eax, [ebp - 0x38]
push eax
call fcn.005fc060
add esp, 4
lea ecx, [ebp + 0x58]
push eax
call fcn.005cfc10
mov byte [ebp - 4], 0x1d
cmp byte [0x75f7a4], 0
jne 0x5d5892
call fcn.005e1320
mov byte [0x75f7a4], 1
push 0
push 2
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], vtable.CryptoPP::Integer.0
mov dword [ebp - 0x4c], 0x3fffffff
mov dword [ebp - 0x48], 2
call fcn.005e2240
mov dword [ebp - 0x44], eax
or edi, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x70], edi
mov dword [eax + 4], 0
mov dword [eax], 0
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005d78e0
mov ebx, dword [ebp - 0x44]
add esp, 0xc
cmp dword [ebp + 0x6c], 1
setne cl
cmp dword [ebp - 0x74], 1
setne al
cmp al, cl
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc8], eax
je 0x5d593d
mov edx, dword [ebp - 0x40]
cmp edx, 1
je 0x5d5933
cmp dword [ebx], 0
jne 0x5d5933
test eax, eax
je 0x5d593d
lea ecx, [eax - 1]
lea ecx, [ebx + ecx*4]
nop dword [eax]
cmp dword [ecx], 0
jne 0x5d592f
sub ecx, 4
sub eax, 1
jne 0x5d5920
jmp 0x5d593d
test eax, eax
je 0x5d593d
mov eax, 1
sub eax, edx
mov dword [ebp - 0x40], eax
and edi, 0xfffffff7
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0x1e
push eax
call fcn.005d74c0
or edi, 0x14
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x70], edi
cmp dword [ebp - 0x24], 1
mov byte [ebp - 4], 0x1f
je 0x5d5987
cmp dword [ebp - 0x58], 1
je 0x5d5980
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x38]
call fcn.005d76c0
mov ecx, eax
jmp 0x5d59a2
mov ecx, 1
jmp 0x5d59a2
cmp dword [ebp - 0x58], 1
je 0x5d5992
or ecx, 0xffffffff
jmp 0x5d59a2
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x38]
call fcn.005d76c0
mov ecx, eax
neg ecx
push dword [ebp - 0x18]
test ecx, ecx
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0xe0]
lea eax, [ebp - 0x38]
push ecx
cmovns eax, edx
push eax
push dword [ebp - 0x14]
call fcn.005f9640
add esp, 0x14
mov byte [ebp - 0x10], al
mov edx, dword [ebp - 0x60]
cmp dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x5c]
mov edi, eax
cmovb edx, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov ecx, edx
push dword [ebp - 0x20]
xor eax, eax
mov byte [ebp - 4], 0x20
rep stosd dword es:[edi], eax
test edx, edx
je 0x5d59f7
call fcn.005cba00
jmp 0x5d59fc
call fcn.005c7bf0
add esp, 4
mov edx, dword [ebp - 0xc8]
mov edi, ebx
cmp dword [ebp - 0x4c], edx
mov byte [ebp - 4], 0x21
cmovb edx, dword [ebp - 0x4c]
xor eax, eax
mov ecx, edx
rep stosd dword es:[edi], eax
push ebx
test edx, edx
je 0x5d5a24
call fcn.005cba00
jmp 0x5d5a29
call fcn.005c7bf0
add esp, 4
mov edx, dword [ebp + 0x64]
cmp dword [ebp + 0x60], edx
mov ebx, dword [ebp + 0x68]
mov edi, ebx
cmovb edx, dword [ebp + 0x60]
xor eax, eax
mov byte [ebp - 4], 0x22
mov ecx, edx
rep stosd dword es:[edi], eax
push ebx
test edx, edx
je 0x5d5a51
call fcn.005cba00
jmp 0x5d5a56
call fcn.005c7bf0
add esp, 4
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x10], 0
jne 0x5d5c05
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x74]
mov ebx, dword [ebp - 0x18]
jmp 0x5d57a0
lea ecx, [ebp - 0x6c]
jmp 0x5d5c00
lea ecx, [ebp - 0x6c]
jmp 0x5d5b2a
lea eax, [ebp - 0x88]
push 0x75f7c4
push eax
call fcn.005d0800
add esp, 8
test al, al
je 0x5d5ab8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x1c]
call fcn.005d7d10
jmp 0x5d5c05
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005d0a70
add esp, 0xc
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x13
push ecx
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
call fcn.005d6720
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0xbc]
call fcn.005d74c0
lea ecx, [ebp - 0x6c]
call fcn.005d0430
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x17
call fcn.005d0430
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.005d0c70
add esp, 8
test al, al
je 0x5d5b90
lea ecx, [ebp + 0x58]
call fcn.005d0430
lea ecx, [ebp - 0xa4]
call fcn.0054eb60
test esi, esi
je 0x5d5b46
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x88]
call fcn.005d0430
lea ecx, [ebp - 0xe0]
call fcn.005d0430
lea ecx, [ebp - 0x38]
call fcn.005d0430
lea ecx, [ebp - 0xbc]
call fcn.005d0430
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.005c791b
lea esp, [ebp + 0x7c]
pop ebp
ret 8
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.005d0a70
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x18
push ecx
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.005d0b70
add esp, 0x18
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
push eax
push 0x75f7ac
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x19
call fcn.005d7d10
lea ecx, [ebp + 0x40]
call fcn.005d0430
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x17
call fcn.005d0430
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.005d0d60
lea eax, [ebp + 0x58]
mov ecx, ebx
push eax
call fcn.005d0ea0
lea ecx, [ebp + 0x58]
call fcn.005d0430
lea ecx, [ebp - 0xa4]
call fcn.0054eb60
test esi, esi
je 0x5d5c1c
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x88]
call fcn.005d0430
lea ecx, [ebp - 0xe0]
call fcn.005d0430
lea ecx, [ebp - 0x38]
call fcn.005d0430
lea ecx, [ebp - 0xbc]
call fcn.005d0430
mov al, 1
jmp 0x5d5b71
push str.Integer:_invalid_EquivalentTo_and_or_Mod_argument
lea ecx, [ebp + 0x10]
call fcn.00444830
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp + 0x30]
call fcn.0054d6a0
push 0x6e45e0
lea eax, [ebp + 0x30]
push eax
call fcn.006036ea
push str.Integer:_missing_Max_argument
lea ecx, [ebp + 0x58]
call fcn.00444830
lea eax, [ebp + 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp]
call fcn.0054d6a0
push 0x6e45e0
lea eax, [ebp]
push eax
call fcn.006036ea
push str.Integer:_Min_must_be_no_greater_than_Max
lea ecx, [ebp + 0x58]
call fcn.00444830
lea eax, [ebp + 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp]
call fcn.0054d6a0
push 0x6e45e0
lea eax, [ebp]
push eax
call fcn.006036ea
push str.Integer:_invalid_RandomNumberType_argument
lea ecx, [ebp + 0x58]
call fcn.00444830
lea eax, [ebp + 0x58]
mov byte [ebp - 4], 0x23
push eax
lea ecx, [ebp]
call fcn.0054d6a0
push 0x6e45e0
lea eax, [ebp]
push eax
call fcn.006036ea
int3