Function at 0x436330
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], 0
jmp 0x436364
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x38
jge 0x4363c1
mov ecx, dword [ebp - 0x108]
movzx edx, byte [ecx + str.80_]
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x100]
and eax, 7
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x100]
sar ecx, 3
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x104]
movzx edx, word [ecx*2 + 0x45a730]
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x108]
mov byte [ebp + ecx - 0x3c], al
jmp 0x436355
mov dword [ebp - 0xfc], 0
jmp 0x4363dc
mov edx, dword [ebp - 0xfc]
add edx, 1
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xfc], 0x10
jge 0x4365c3
cmp dword [ebp + 0xc], 1
jne 0x436404
mov eax, 0xf
sub eax, dword [ebp - 0xfc]
shl eax, 1
mov dword [ebp - 0x104], eax
jmp 0x436412
mov ecx, dword [ebp - 0xfc]
shl ecx, 1
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0xf8], 0
mov ecx, dword [ebp - 0x104]
mov dword [ebp + ecx*4 - 0xf8], 0
mov dword [ebp - 0x108], 0
jmp 0x436458
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0x1c
jge 0x4364af
mov eax, dword [ebp - 0xfc]
movzx ecx, byte [eax + 0x45a7d8]
add ecx, dword [ebp - 0x108]
mov dword [ebp - 0x100], ecx
cmp dword [ebp - 0x100], 0x1c
jge 0x436499
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
mov cl, byte [ebp + eax - 0x3c]
mov byte [ebp + edx - 0x74], cl
jmp 0x4364ad
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
mov cl, byte [ebp + eax - 0x58]
mov byte [ebp + edx - 0x74], cl
jmp 0x436449
mov dword [ebp - 0x108], 0x1c
jmp 0x4364ca
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0x38
jge 0x436521
mov eax, dword [ebp - 0xfc]
movzx ecx, byte [eax + 0x45a7d8]
add ecx, dword [ebp - 0x108]
mov dword [ebp - 0x100], ecx
cmp dword [ebp - 0x100], 0x38
jge 0x43650b
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
mov cl, byte [ebp + eax - 0x3c]
mov byte [ebp + edx - 0x74], cl
jmp 0x43651f
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x100]
mov cl, byte [ebp + eax - 0x58]
mov byte [ebp + edx - 0x74], cl
jmp 0x4364bb
mov dword [ebp - 0x108], 0
jmp 0x43653c
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0x18
jge 0x4365be
mov eax, dword [ebp - 0x108]
movzx ecx, byte [eax + 0x45a7e8]
movzx edx, byte [ebp + ecx - 0x74]
test edx, edx
je 0x436582
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp + eax*4 - 0xf8]
or edx, dword [ecx*4 + 0x45a740]
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0xf8], edx
mov ecx, dword [ebp - 0x108]
movzx edx, byte [ecx + 0x45a800]
movzx eax, byte [ebp + edx - 0x74]
test eax, eax
je 0x4365b9
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp + ecx*4 - 0xf8]
or eax, dword [edx*4 + 0x45a740]
mov ecx, dword [ebp - 0x78]
mov dword [ebp + ecx*4 - 0xf8], eax
jmp 0x43652d
jmp 0x4363cd
lea edx, [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0x10c]
call fcn.004361a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret 8