Function at 0x412a40
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xfc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10c]
push edi
xor eax, eax
movzx ecx, byte [eax + str.80_]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x429430]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x54], cl
movzx ecx, byte [eax + 0x4294a1]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x429430]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x55], cl
movzx ecx, byte [eax + 0x4294a2]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x429430]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x56], cl
movzx ecx, byte [eax + 0x4294a3]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x429430]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x57], cl
add eax, 4
cmp eax, 0x38
jl 0x412a53
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x1e
jmp 0x412b00
mov ecx, dword [esp + 0x10]
jmp 0x412b00
cmp word [esp + 0x114], 1
mov eax, dword [esp + 0x14]
je 0x412b12
lea eax, [ecx + ecx]
movzx ebp, byte [ecx + 0x4294d8]
lea ebx, [esp + eax*4 + 0x90]
lea eax, [esp + eax*4 + 0x8c]
mov dword [ebx], 0
mov dword [esp + 0x18], eax
mov dword [eax], 0
xor esi, esi
lea ecx, [ebp + 3]
lea eax, [ebp + 2]
nop
lea edi, [ecx - 3]
cmp edi, 0x1c
jge 0x412b4e
mov dl, byte [esp + eax + 0x52]
jmp 0x412b52
mov dl, byte [esp + edi + 0x38]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0x1c], dl
jge 0x412b64
mov dl, byte [esp + eax + 0x53]
jmp 0x412b68
mov dl, byte [esp + edi + 0x38]
cmp eax, 0x1c
mov byte [esp + esi + 0x1d], dl
jge 0x412b77
mov dl, byte [esp + eax + 0x54]
jmp 0x412b7b
mov dl, byte [esp + eax + 0x38]
cmp ecx, 0x1c
mov byte [esp + esi + 0x1e], dl
jge 0x412b8a
mov dl, byte [esp + eax + 0x55]
jmp 0x412b8e
mov dl, byte [esp + ecx + 0x38]
mov byte [esp + esi + 0x1f], dl
add esi, 4
add eax, 4
add ecx, 4
cmp esi, 0x1c
jl 0x412b40
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
jmp 0x412bb0
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x412bbe
mov cl, byte [esp + eax + 0x52]
jmp 0x412bc2
mov cl, byte [esp + ecx + 0x38]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0x1c], cl
jge 0x412bd4
mov cl, byte [esp + eax + 0x53]
jmp 0x412bd8
mov cl, byte [esp + esi + 0x38]
cmp eax, 0x38
mov byte [esp + edi + 0x1d], cl
jge 0x412be7
mov cl, byte [esp + eax + 0x54]
jmp 0x412beb
mov cl, byte [esp + eax + 0x38]
cmp edx, 0x38
mov byte [esp + edi + 0x1e], cl
jge 0x412bfa
mov cl, byte [esp + eax + 0x55]
jmp 0x412bfe
mov cl, byte [esp + edx + 0x38]
mov byte [esp + edi + 0x1f], cl
add edi, 4
add eax, 4
add edx, 4
cmp edi, 0x38
jl 0x412bb0
xor eax, eax
movzx edx, byte [eax + 0x4294e8]
mov cl, byte [esp + edx + 0x1c]
test cl, cl
mov ecx, dword [esp + 0x18]
je 0x412c32
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x429440]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x429500]
cmp byte [esp + edx + 0x1c], 0
je 0x412c4d
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x429440]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4294e9]
cmp byte [esp + edx + 0x1c], 0
je 0x412c68
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x429444]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x429501]
cmp byte [esp + edx + 0x1c], 0
je 0x412c83
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x429444]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4294ea]
cmp byte [esp + edx + 0x1c], 0
je 0x412c9e
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x429448]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x429502]
cmp byte [esp + edx + 0x1c], 0
je 0x412cb9
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x429448]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4294eb]
cmp byte [esp + edx + 0x1c], 0
je 0x412cd4
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x42944c]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x429503]
cmp byte [esp + edx + 0x1c], 0
je 0x412cef
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x42944c]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4294ec]
cmp byte [esp + edx + 0x1c], 0
je 0x412d0a
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x429450]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x429504]
cmp byte [esp + edx + 0x1c], 0
je 0x412d25
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x429450]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x4294ed]
cmp byte [esp + edx + 0x1c], 0
je 0x412d40
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x429454]
or esi, edx
mov dword [ecx], esi
movzx ecx, byte [eax + 0x429505]
mov dl, byte [esp + ecx + 0x1c]
test dl, dl
je 0x412d5c
mov ecx, dword [ebx]
mov edx, dword [eax*4 + 0x429454]
or ecx, edx
mov dword [ebx], ecx
add eax, 6
cmp eax, 0x18
jl 0x412c12
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub eax, 2
inc esi
cmp eax, 0xfffffffe
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jg 0x412af7
lea ecx, [esp + 0x8c]
call fcn.004127e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret