Function at 0x4039c0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x430090]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
mov byte [ebp - 0x74], 0
xor ecx, ecx
mov dword [ebp - 0x73], ecx
mov dword [ebp - 0x6f], ecx
mov dword [ebp - 0x6b], ecx
mov dword [ebp - 0x67], ecx
mov dword [ebp - 0x63], ecx
mov dword [ebp - 0x5f], ecx
mov word [ebp - 0x5b], cx
mov byte [ebp - 0x59], cl
mov byte [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov word [ebp - 7], dx
mov byte [ebp - 5], dl
mov byte [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
push 0x1c
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00409b60
add esp, 0xc
push 0x1c
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.00409b60
add esp, 0xc
mov dword [ebp - 0x78], 0
jmp 0x403a8e
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x10
jge 0x403c05
mov eax, dword [ebp - 0x78]
movsx ecx, byte [eax + 0x4293b8]
mov edx, 0x1c
sub edx, ecx
push edx
mov eax, dword [ebp - 0x78]
movsx ecx, byte [eax + 0x4293b8]
lea edx, [ebp + ecx - 0x58]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00409b60
add esp, 0xc
mov ecx, dword [ebp - 0x78]
movsx edx, byte [ecx + 0x4293b8]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x78]
movsx eax, byte [edx + 0x4293b8]
sub ecx, eax
push ecx
call fcn.00409b60
add esp, 0xc
mov ecx, dword [ebp - 0x78]
movsx edx, byte [ecx + 0x4293b8]
mov eax, 0x1c
sub eax, edx
push eax
mov ecx, dword [ebp - 0x78]
movsx edx, byte [ecx + 0x4293b8]
lea eax, [ebp + edx - 0x74]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00409b60
add esp, 0xc
mov edx, dword [ebp - 0x78]
movsx eax, byte [edx + 0x4293b8]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x78]
movsx ecx, byte [eax + 0x4293b8]
sub edx, ecx
push edx
call fcn.00409b60
add esp, 0xc
mov byte [ebp - 0xb0], 0
push 0x37
push 0
lea edx, [ebp - 0xaf]
push edx
call fcn.00409620
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00409b60
add esp, 0xc
push 0x1c
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.00409b60
add esp, 0xc
mov dword [ebp - 0xb4], 0
jmp 0x403b9f
mov ecx, dword [ebp - 0xb4]
add ecx, 1
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xb4], 0x30
jge 0x403bdc
mov edx, dword [ebp - 0xb4]
movsx eax, byte [edx + 0x429388]
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x300
add ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0x78]
imul edx, edx, 0x30
add ecx, dword [ebp - 0xb4]
mov al, byte [ebp + eax - 0xb1]
mov byte [edx + ecx], al
jmp 0x403b90
push 0x1c
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00409b60
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.00409b60
add esp, 0xc
jmp 0x403a85
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409b17
mov esp, ebp
pop ebp
ret 8