Function at 0x412780
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov dword [ebp - 0xc0], 0
jmp 0x4127a4
mov eax, dword [ebp - 0xc0]
add eax, 1
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x38
jge 0x412808
mov ecx, dword [ebp - 0xc0]
xor edx, edx
mov dl, byte [ecx + str.80_]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
and eax, 7
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xfc]
sar ecx, 3
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x100]
xor edx, edx
mov dx, word [ecx*2 + 0x443fa8]
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc0]
mov byte [ebp + ecx - 0xb8], al
jmp 0x412795
mov dword [ebp - 0xbc], 0
jmp 0x412823
mov edx, dword [ebp - 0xbc]
add edx, 1
mov dword [ebp - 0xbc], edx
cmp dword [ebp - 0xbc], 0x10
jge 0x412a2c
cmp dword [ebp + 0xc], 1
jne 0x41284b
mov eax, 0xf
sub eax, dword [ebp - 0xbc]
shl eax, 1
mov dword [ebp - 0x100], eax
jmp 0x412859
mov ecx, dword [ebp - 0xbc]
shl ecx, 1
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
add edx, 1
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x80], 0
mov ecx, dword [ebp - 0x100]
mov dword [ebp + ecx*4 - 0x80], 0
mov dword [ebp - 0xc0], 0
jmp 0x41289f
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
cmp dword [ebp - 0xc0], 0x1c
jge 0x412905
mov eax, dword [ebp - 0xbc]
xor ecx, ecx
mov cl, byte [eax + 0x444050]
mov edx, dword [ebp - 0xc0]
add edx, ecx
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xfc], 0x1c
jge 0x4128e9
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xfc]
mov dl, byte [ebp + ecx - 0xb8]
mov byte [ebp + eax - 0xf8], dl
jmp 0x412903
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xfc]
mov dl, byte [ebp + ecx - 0xd4]
mov byte [ebp + eax - 0xf8], dl
jmp 0x412890
mov dword [ebp - 0xc0], 0x1c
jmp 0x412920
mov eax, dword [ebp - 0xc0]
add eax, 1
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x38
jge 0x412986
mov ecx, dword [ebp - 0xbc]
xor edx, edx
mov dl, byte [ecx + 0x444050]
mov eax, dword [ebp - 0xc0]
add eax, edx
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x38
jge 0x41296a
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xfc]
mov al, byte [ebp + edx - 0xb8]
mov byte [ebp + ecx - 0xf8], al
jmp 0x412984
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xfc]
mov al, byte [ebp + edx - 0xd4]
mov byte [ebp + ecx - 0xf8], al
jmp 0x412911
mov dword [ebp - 0xc0], 0
jmp 0x4129a1
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
cmp dword [ebp - 0xc0], 0x18
jge 0x412a27
mov edx, dword [ebp - 0xc0]
xor eax, eax
mov al, byte [edx + 0x444060]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xf8]
test ecx, ecx
je 0x4129e6
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp + edx*4 - 0x80]
or ecx, dword [eax*4 + 0x443fb8]
mov edx, dword [ebp - 0x100]
mov dword [ebp + edx*4 - 0x80], ecx
mov eax, dword [ebp - 0xc0]
xor ecx, ecx
mov cl, byte [eax + 0x444078]
xor edx, edx
mov dl, byte [ebp + ecx - 0xf8]
test edx, edx
je 0x412a22
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp + eax*4 - 0x80]
or edx, dword [ecx*4 + 0x443fb8]
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x80], edx
jmp 0x412992
jmp 0x412814
lea ecx, [ebp - 0x80]
push ecx
call fcn.00412a3c
add esp, 4
mov esp, ebp
pop ebp
ret